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. Returns an array of chi2 values.