llratio | R Documentation |
Performs a log likelihood ratio test on two fitted
depmix
models.
llratio(basemodel, constrainedmodel, ...)
basemodel |
Fitted model with a |
constrainedmodel |
Fitted model with a |
... |
Not currently used. |
See the fit
help page for an example.
llratio
returns an object of class llratio
which has slots:
value |
: Minus twice the loglikelihood difference. |
df |
: The degrees of freedom, ie the difference in number of freely estimated paraemters between the models. |
The print method shows the value, the degrees of freedom and the corresponding p-value under the chisquared distribution.
Ingmar Visser
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.