eelbrain.test.correlations¶
-
eelbrain.test.
correlations
(y, x, cat=None, sub=None, ds=None, asds=False)¶ Correlation with one or more predictors
- Parameters
y (Var) – First variable
x (Var | list of Var) – second variable (or list of variables).
cat (categorial) – Show correlations separately for different groups in the data.
sub (index) – Use only a subset of the data
ds (Dataset) – If a Dataset is given, all data-objects can be specified as names of Dataset variables.
asds (bool) – Return correlations in Dataset instead of Table.
- Returns
correlations – Table or Dataset (if
asds=True
) with correlations.- Return type
Table | Dataset