Performs a log likelihood ratio test on two fitted
depmix models.
llratio(basemodel, constrainedmodel, ...)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.
The print method shows the value, the degrees of freedom and the corresponding p-value under the chisquared distribution.
Fitted model with a logLik method.
Fitted model with a logLik method.
Not currently used.
Ingmar Visser
See the fit help page for an example.