nimare.meta.esma.weighted_stouffers

weighted_stouffers(z_maps, sample_sizes, two_sided=True)[source]

Run a Stouffer’s image-based meta-analysis on z-statistic maps.

Parameters:
  • z_maps ((n_contrasts, n_voxels) numpy.ndarray) – A 2D array of z-statistic maps in the same space, after masking.
  • sample_sizes ((n_contrasts,) numpy.ndarray) – A 1D array of sample sizes associated with contrasts in z_maps. Must be in same order as rows in z_maps.
  • two_sided (bool, optional) – Whether to do a two- or one-sided test. Default is True.
Returns:

result – Dictionary containing maps for test statistics, p-values, and negative log(p) values.

Return type:

dict