nimare.stats.one_way

one_way(data, n)[source]

One-way chi-square test of independence. Takes a 1D array as input and compares activation at each voxel to proportion expected under a uniform distribution throughout the array. Note that if you’re testing activation with this, make sure that only valid voxels (e.g., in-mask gray matter voxels) are included in the array, or results won’t make any sense!

Returns:
Return type:Chi2 values