stats_ttest_independent
stats_ttest_independent#
- qx_mri.stats.stats_ttest_independent(filea, fileb, target, output, vartype, exclude, verbose)#
stats_ttest_independent(filea, fileb, target, output, vartype, exclude, verbose)
Computes t-test of differences between two independent groups.
Parameters
- --filea (str):
Either a single image or a conc file with data of the group to compare to.
- --fileb (str):
Either a single image or a conc file with data of the group to compare with.
- --target (str):
The base filename (and path) to be used when saving the results.
- --output (str, default 'medtpz'):
The type of results to save:
'm' ... mean values for each voxel of both groups (A and B)
'e' ... standard errors for each voxel of both groups (A and B)
'd' ... the A - B difference of means of the two groups
't' ... t-value for each voxel
'p' ... p-value for each voxel
'z' ... Z-score for each voxel.
- --vartype (str, default 'equal'):
String specifying whether the variances of the two groups are equal ('equal') or not ('unequal').
- --exclude (vector, default ''):
Values to be excluded from computation.
- --verbose (bool, default false):
Whether to report each step.