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

Description Usage Arguments Details Value See Also Examples

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)


Search within the dynr package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.