stats_ttest_dependent
stats_ttest_dependent#
- qx_mri.stats.stats_ttest_dependent(filea, fileb, target, output, exclude, verbose)#
stats_ttest_dependent(filea, fileb, target, output, exclude, verbose)
Computes t-test of differences between two dependent 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.
- --exclude (vector, default ''):
Values to be excluded from computation.
- --verbose (bool, default false):
Should report each step.