cymr.analysis.Analysis#
- class cymr.analysis.Analysis(function, independent, dependent, level, args=None, kwargs=None, conditions=None)#
Manage analysis specification.
- function#
Path to a function, in the form “package.module:function”. Must take free-recall data in merged Psifr format as the first argument.
- Type:
str
- independent#
List of expected columns with independent variables.
- Type:
list of str
- dependent#
Expected column with dependent variable.
- Type:
str
- level#
Level of the analysis. May be “group” or “subject”. If “group”, the result will be averaged across subjects.
- Type:
str
- args#
Positional arguments for the function, after data.
- Type:
list
- kwargs#
Keyword arguments for the function.
- Type:
dict
- conditions#
Data columns to group by when running the analysis.
- Type:
list of str
- __init__(function, independent, dependent, level, args=None, kwargs=None, conditions=None)#
Methods