p_combine {Corbi}R Documentation

Calculate combined p-value

Description

Combine the statistical significance results from several independent tests by using one of several methods.

Usage

p_combine(p, method = "sumlog", shrink = Inf)

Arguments

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.

Value

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.


[Package Corbi version 0.6-2 Index]