logLik.dynrCook: Extract the log likelihood from a dynrCook Object

Description Usage Arguments Details Value See Also Examples

View source: R/dynrCook.R

Description

Extract the log likelihood from a dynrCook Object

Usage

1
2
3
4
5
## S3 method for class 'dynrCook'
logLik(object, ...)

## S3 method for class 'dynrCook'
deviance(object, ...)

Arguments

object

The dynrCook object for which the log likelihood is desired

...

further named arguments, ignored for this method

Details

The 'df' attribute for this object is the number of freely estimated parameters. The 'nobs' attribute is the total number of rows of data, adding up the number of time points for each person.

The deviance method returns minus two times the log likelihood.

Value

In the case of logLik, an object of class logLik.

See Also

Other S3 methods coef.dynrCook

Examples

1
2
# Let cookedModel be the output from dynr.cook
#logLik(cookedModel)

dynr documentation built on Aug. 21, 2017, 9:02 a.m.