Learn R Programming

ICSKAT (version 0.3.0)

fIntegrateLiu: fIntegrateLiu.R

Description

The integrand in the SKATO p-value when using Liu instead of Davies method, pass it to a numerical integration function like integrate().

Usage

fIntegrateLiu(x, muK1, sigmaK1, QrhoDF, dfK1)

Value

The value of the integrand at x.

Arguments

x

Variable to be integrated over, can be a vector or scalar.

muK1

Mean of the mixture of chi-squares that are the first part of the kappa variable.

sigmaK1

Standard deviation of the mixture of chi-squares that are the first part of the kappa variable.

QrhoDF

The data frame output from calling QrhoIC().

dfK1

The degrees of freedom from the approximated chi-square.