nimare.stats
.two_way
- two_way(cells)[source]
Two-way chi-square test of independence.
Takes a 3D array as input: N(voxels) x 2 x 2, where the last two dimensions are the contingency table for each of N voxels.
- Parameters
cells ((N, 2, 2) array_like) – Concatenated set of contingency tables. There are N contingency tables, with the last two dimensions being the tables for each input.
- Returns
chi_sq (
numpy.ndarray
) – Chi-square values.
Notes
Taken from Neurosynth.