eelbrain.test.correlations(y, x, cat=None, sub=None, ds=None, asds=False)

Correlation with one or more predictors

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.

correlations : Table | Dataset

Table or Dataset (if asds=True) with correlations.