truncatedPearson {metarep} | R Documentation |
Truncated-Pearsons' test
Description
Apply Truncated-Pearsons' test or ordinary Pearsons' test on one-sided p-values.
Usage
truncatedPearson(p, alpha.tilde = 1)
Arguments
p |
one-sided p-values of the individual studies for testing one-sided alternative based on z-test. |
alpha.tilde |
truncartion threshold for truncated-Pearson test. Use alpha.tilde = 1 for ordinary Pearsons' test for combining p-values. |
Value
A 'list' containing the following quantities:
chisq: |
Pearson test statistic |
df: |
degrees of freedom of truncated-Pearson statistic |
rvalue: |
p-value of the test |
validp: |
p-values used in the test. |
Examples
truncatedPearson( p = c( 0.001 , 0.01 , 0.1 ) , alpha.tilde = 1 )
truncatedPearson( p = c( 0.001 , 0.01 , 0.1 ) , alpha.tilde = 0.05 )
[Package metarep version 1.2.0 Index]