nimare.transforms.sample_sizes_to_sample_size

sample_sizes_to_sample_size(sample_sizes)[source]

Calculate appropriate sample size from a list of sample sizes using a simple heuristic.

Added in version 0.0.4.

Parameters:

sample_sizes (array_like) – A list of sample sizes for different groups in the study.

Returns:

sample_size – Total (sum) sample size.

Return type:

int