cymr.fit.Recall.likelihood_subject#
- abstract Recall.likelihood_subject(study, recall, param, param_def=None, patterns=None)#
Log likelihood of data for one subject based on a given model.
- Parameters:
study (dict of (str: list of numpy.array)) – Information about the study phase in list format.
recall (dict of (str: list of numpy.array)) – Information about recalled items in list format.
param (dict of (str: float)) – Model parameter values.
param_def (cymr.parameters.Parameters, optional) – Parameter definition object; used to interpret parameters.
patterns (dict of (str: dict of (str: numpy.array)), optional) – Patterns to use in the model.
- Returns:
logl (float) – Total log likelihood of data for this subject.
n (int) – Number of evaluated data points.