Learn R Programming

tensr (version 1.0.2)

lrt_stat: Calculate the likelihood ratio test statistic.

Description

Calulate the likelihood ratio test statistic for Kronecker structured covariance models.

Usage

lrt_stat(sig_null, sig_alt, p)

Value

A numeric. The likelihood ratio test statistic.

Arguments

sig_null

A numeric. The MLE of the total variation parameter under the null (the standard deviation version).

sig_alt

A numeric. The MLE of the total variation parameter under the alternative (the standard deviation version).

p

A vector of integers. The dimension of the array.

Author

David Gerard.

Details

The LRT statistic is the exact same for all elliptically distributed Kronecker structured covariance models (not just the normal). The distribution of the likelihood ratio test statistic does change.

References

  • Gerard, D., & Hoff, P. (2016). A higher-order LQ decomposition for separable covariance models. Linear Algebra and its Applications, 505, 57-84. tools:::Rd_expr_doi("10.1016/j.laa.2016.04.033")

See Also

holq for obtaining the MLE of the total variation parameter.

lrt_null_dist_dim_same for getting the null distribution of the likelihood ratio test statistic.