Description Usage Arguments Details Value Author(s) See Also Examples
Computes the likelihood ratio test to compare two bimixt models.
1 | lr.test(model1, model2)
|
model1 |
an object of type model from |
model2 |
an object of type model from |
The model fits for model1
and model2
will be compared using the likelihood ratio test. Models must have been fit on the same data sets.
Returns a p-value indicating the significance of the likelihood ratio test.
Michelle Winerip, Garrick Wallstrom, Joshua LaBaer
1 2 3 4 5 6 | case=rmix(50,10,1.2,15,1,.7)
control=rmix(50,10,1.2,15,1,.95)
model1=bimixt.model(case=case,control=control, type="4c")
model2=bimixt.model(case=case,control=control, type="binorm")
lr.test(model1, model2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.