Learn R Programming

PoolBal (version 0.1-0)

chiQ: Chi-squared centrality quotient

Description

Computes the centrality quotient of the chi-square pooled p-value.

Usage

chiQ(kappa, M, alpha = 0.05)

Value

A numeric between 0 and 1.

Arguments

kappa

numeric between 0 and infinity

M

integer sample size greater than 0

alpha

numeric between 0 and 1

Author

Chris Salahub

Details

The centrality quotient of a pooled p-value measures the relative preference it gives to p-values all sharing the same level of evidence over a single test with strong evidence relative to others. For the chi-square pooled p-value, this is a conditional probability which this function computes.

Examples

Run this code
chiQ(2, 10, 0.05)
chiQ(2, 20, 0.05)
chiQ(0.5, 20, 0.05)

Run the code above in your browser using DataLab