meta_stouffer | R Documentation |
This function performs a meta-analysis on input p-values and standard errors using Stouffer's method. Stouffer's method combines z-scores by weighting them by their inverse variance.
meta_stouffer(pval, se)
pval |
A numeric vector of p-values from multiple studies or tests. |
se |
A numeric vector of standard errors corresponding to the p-values. |
A list containing the following elements:
estimateA numeric vector of the weighted z-scores obtained using Stouffer's method.
seA numeric vector of the combined standard errors.
statSame as the estimate, the weighted z-scores.
probA numeric vector of the combined p-values.
stat_typeA character string indicating the type of statistic used, in this case "zfstat".
pval <- c(0.05, 0.01, 0.03)
se <- c(0.2, 0.15, 0.25)
result <- meta_stouffer(pval, se)
print(result)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.