logLik.msm | R Documentation |
Extract the log-likelihood and the number of parameters of a model fitted
with msm
.
## S3 method for class 'msm'
logLik(object, by.subject = FALSE, ...)
object |
A fitted multi-state model object, as returned by
|
by.subject |
Return vector of subject-specific log-likelihoods, which should sum to the total log-likelihood. |
... |
(unused) further arguments passed to or from other methods. |
The log-likelihood of the model represented by 'object' evaluated at the maximum likelihood estimates.
Akaike's information criterion can also be computed using
AIC(object)
.
C. H. Jackson chris.jackson@mrc-bsu.cam.ac.uk
msm
,lrtest.msm
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.