p_combine | R Documentation |
Combine the statistical significance results from several independent tests by using one of several methods.
p_combine(p, method = "sumlog", shrink = Inf)
p |
the numeric vector containing the p-values need to combine. |
method |
the method use to combine the p-values, can be "sumlog" (Fisher's method), "sumz" (Stouffer’s method). |
shrink |
the number of p-values used in calculation, which are uniform selected from original p-value vector. |
This function will return a list with the following components:
p |
The combined p-value. |
v |
The value of statistic. |
chisq |
Use "sumlog" method: The value of chi-squared statistic. |
df |
Use "sumlog" method: The degrees of freedom of chi-squared distribution. |
z |
Use "sumz" method: The value of sum z statistic. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.