eelbrain.test.pairwise

eelbrain.test.pairwise(y, x, match=None, sub=None, data=None, par=True, corr='Hochberg', trend=False, title='{desc}', mirror=False, labels=None)

Pairwise comparison table

Parameters:
  • y (Var) – Dependent measure.

  • x (categorial) – Categories to compare.

  • match (None | Factor) – Repeated measures factor.

  • sub (index-array) – Perform tests with a subset of the data.

  • data (Dataset) – If a Dataset is given, all data-objects can be specified as names of Dataset variables.

  • par (bool) – Use parametric test for pairwise comparisons (use non-parametric tests if False).

  • corr (None | 'hochberg' | 'bonferroni' | 'holm') – Method for multiple comparison correction.

  • trend (bool | str) – Marker for a trend in pairwise comparisons.

  • title (str) – Title for the table.

  • mirror (bool) – Redundant table including all row/column combinations.

  • labels (Dict[str | Tuple[str, ...], str]) – Alternative labels for x as {cell: label} dictionary.

Returns:

table – Table with results.

Return type:

FMText Table