p_value: p_value

Description Usage Arguments Author(s)

View source: R/simulations.R

Description

Computes the p-value of an observed PLR according to either empirical quantile in simulations, a mixture chi-square distribution, or the empirical bound, depending on size.

Usage

1
p_value(x, cplr)

Arguments

x

list of plr values at which to compute p value

cplr

list of cplr values from simulations from which to estimate null distribution

Author(s)

James Liley


jamesliley/subtest documentation built on May 18, 2019, 11:21 a.m.