chiPc | R Documentation |
Computes the central rejection level for the chi-squared pooled p-value.
chiPc(kappa, M, alpha = 0.05)
kappa |
numeric between 0 and infinity |
M |
integer sample size greater than 0 |
alpha |
numeric between 0 and 1 |
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.
A numeric between 0 and 1.
Chris Salahub
chiPc(2, 10, 0.05)
chiPc(2, 20, 0.05) # increases in sample size
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.