moabb.analysis.meta_analysis.combine_pvalues

moabb.analysis.meta_analysis.combine_pvalues(p, nsubs)[source][source]

Combining p-values for meta-analysis statistics

Function that takes pvals from each experiments and number of subjects to return meta-analysis significance using Stouffer’s method

Parameters
  • p (DataFrame) – p-values for 2 pipelines computed on different datasets

  • nsubs (float) – average number of subject per datasets

Returns

pval – Estimatation of the combined p-value

Return type

float