Description Usage Arguments Details Value See Also Examples
The maximum likelihood ratio test is a classical goodness-of-fit test for linear models. Mathematically speaking, the average residual sum of squares for an ordinary least squares (OLS) is approximated as a chi-square distribution to generate a p-value.
1 | maxLR(X, Y)
|
X |
covariate matrix |
Y |
response vector |
The test is valid when the number of samples is larger than the number of covariates.
p-value of the test
Other LR test:
anovaLR()
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.