chiPc {PoolBal} | R Documentation |
Chi-squared central rejection level
Description
Computes the central rejection level for the chi-squared pooled p-value.
Usage
chiPc(kappa, M, alpha = 0.05)
Arguments
kappa |
numeric between 0 and infinity |
M |
integer sample size greater than 0 |
alpha |
numeric between 0 and 1 |
Details
The central rejection level is the maximum p-value shared among all tests which still results in rejection of the null using a pooled p-value. For the chi-squared pooled p-value, this is an upper tail probability of the chi-squared distribution. This function computes the upper tail probability for a given sample size M, degrees of freedom kappa, and rejection level alpha.
Value
A numeric between 0 and 1.
Author(s)
Chris Salahub
Examples
chiPc(2, 10, 0.05)
chiPc(2, 20, 0.05) # increases in sample size
[Package PoolBal version 0.1-0 Index]