View source: R/apollo_lrTest.R
apollo_lrTest | R Documentation |
Calculates the likelihood ratio test value between two models and reports the corresponding p-value.
apollo_lrTest(model1, model2)
model1 |
Either a character variable with the name of a previously estimated model, or an estimated model in memory, as returned by apollo_estimate. |
model2 |
Either a character variable with the name of a previously estimated model, or an estimated model in memory, as returned by apollo_estimate. |
The two models need to have been estimated on the same data, and one model needs to be nested within the other model.
LR-test p-value (invisibly)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.