Likelihood ratio test
Description
Likelihood ratio test between two or more fitted multistate models
Usage
1  lrtest.msm(...)

Arguments
... 
Two or more fitted multistate models, as returned by

Value
A matrix with three columns, giving the likelihood ratio statistic, difference in degrees of freedom and the chisquared pvalue for a comparison of the first model supplied with each subsequent model.
Warning
The comparison between models will only be valid if they are fitted to the same dataset. This may be a problem if there are missing values and R's default of 'na.action = na.omit' is used.
The likelihood ratio statistic only has the indicated chisquared
distribution if the models are nested. An alternative for comparing
nonnested models is Akaike's information criterion. This can be
computed for one or more fitted msm
models x,y,...
using
AIC(x,y,...)
.
See Also
logLik.msm
,msm
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker. Vote for new features on Trello.