nimare.meta.cbma.weights.normalize_weights
- normalize_weights(raw_weights, n_studies)[source]
Rescale relative weights so they sum to
n_studies.With uniform inputs every weight is exactly 1.0, so an unweighted analysis is untouched and the statistic stays the count of activating contrasts. Dividing the result by
n_studiesrecovers the weighted proportion of Wager et al.[1].References