eelbrain.test.ttest
- eelbrain.test.ttest(y, x=None, against=0, match=None, sub=None, corr='Hochberg', title='{desc}', ds=None, tail=0)
T-tests for one or more samples
- Parameters
x (
Union
[Factor
,Interaction
,NestedEffect
,str
,None
]) – Perform tests separately for all categories in x.against (
Union
[float
,str
,Tuple
[str
,...
]]) – Baseline against which to test (scalar or category in x).match (
Union
[Factor
,Interaction
,NestedEffect
,str
,None
]) – Repeated measures factor.sub (
Union
[Var
,ndarray
,str
,None
]) – Only use part of the data.corr (
Union
[bool
,Literal
[‘hochberg’, ‘bonferroni’, ‘holm’]]) – Method for multiple comparison correction (default ‘hochberg’).title (
str
) – Title for the table.ds (
Optional
[Dataset
]) – If a Dataset is given, all data-objects can be specified as names of Dataset variablestail (
Literal
[-1, 0, 1]) – Tailedness of the test.
- Returns
table – Table with results.
- Return type
FMText Table