logLik.msm: Extract model log-likelihood

Description Usage Arguments Value Author(s) See Also

View source: R/outputs.R

Description

Extract the log-likelihood and the number of parameters of a model fitted with msm.

Usage

1
2
## S3 method for class 'msm'
logLik(object, by.subject=FALSE, ...)

Arguments

object

A fitted multi-state model object, as returned by msm.

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.

Value

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).

Author(s)

C. H. Jackson [email protected]

See Also

msm,lrtest.msm.


msm documentation built on May 31, 2017, 5:10 a.m.

Related to logLik.msm in msm...