chiPr {PoolBal}R Documentation

Chi-squared marginal rejection level

Description

Computes the marginal rejection level for the chi-squared pooled p-value.

Usage

chiPr(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 marginal rejection level is the maximum p-value in a single test which results in rejection when all other tests produce p-values of one. 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

chiPr(2, 10, 0.05)
chiPr(2, 20, 0.05)

[Package PoolBal version 0.1-0 Index]