Qapprox {Qapprox}R Documentation

Right-tail probability of quadratic forms of centered Gaussian variables.

Description

Right-tail probability of quadratic forms of centered Gaussian variables.

Usage

Qapprox(q, Sigma, A = NULL, method = "MR")

Arguments

q

- quantile, could be a vector.

Sigma

- covariance matrix of Gaussian variables.

A

- a positive-semi-definite matrix that defines the quadratic form.

method

- "MR": moment-ratio (skewness-kurtosis) matching method; "SW": Satterthwaite-Welch method that matches mean and variance; "LTZ4": Liu-Tang-Zhang method that matches the kurtosis.

Value

The right-tail probability of a quadratic form (Q = X'AX) of centered Gaussian variables.

References

1. Hong Zhang, Judong Shen and Zheyang Wu. "An efficient and accurate approximation to the distribution of quadratic forms of Gaussian variables", arXiv:2005.00905.

Examples

n <- 100
Sigma <- toeplitz(1/(1:n))
thr <- 180
Qapprox(thr, Sigma, method="SW")
Qapprox(thr, Sigma, method="LTZ4")
Qapprox(thr, Sigma, method="MR")

[Package Qapprox version 0.2.0 Index]