Performs a log likelihood ratio test on two fitted
depmix
models.
llratio(basemodel, constrainedmodel, ...)
Fitted model with a logLik
method.
Fitted model with a logLik
method.
Not currently used.
llratio
returns an object of class llratio
which has slots:
: Minus twice the loglikelihood difference.
: The degrees of freedom, ie the difference in number of freely estimated paraemters between the models.
See the fit
help page for an example.