getTestThreshold: Get the Threshold for a General Quadratic Test

Description Usage Arguments Value See Also

Description

Computes the upper quantile of the distribution of a quadratic form:

y' K y,

where y ~ N(0, Σ) and K is positive semi-definite. This quantile is approximated using the liu method.

Usage

1
getTestThreshold(alpha, sigma, testMat)

Arguments

alpha

the upper quantile of the distribution/significance level of the quadratic test.

sigma

the covariance of y.

testMat

the test matrix K.

Value

a numeric threshold for the quadratic test.

See Also

CompQuadForm, liu


ammeir2/PSAT documentation built on May 27, 2019, 7:40 a.m.