REEMtree (version 0.90.5)

logLik: Log-likelihood of a RE-EM tree

Description

This returns the log-likelihood of the effects model of a RE-EM tree. This is the log-likelihood of the random effects model estimated in the RE-EM tree. (The regression tree is not associated with a log-likelihood.)

Usage

# S3 method for REEMtree
logLik(object,...)

Value

the log-likelihood of the fitted effects model associated with x

Arguments

object

an object of class REEMtree

...

further arguments passed to or from other methods

Author

Rebecca Sela rsela@stern.nyu.edu

References

Sela, Rebecca J., and Simonoff, Jeffrey S., “RE-EM Trees: A Data Mining Approach for Longitudinal and Clustered Data”, Machine Learning (2011).

See Also

REEMtree.object

Examples

Run this code
data(simpleREEMdata)
REEMresult<-REEMtree(Y~D+t+X, data=simpleREEMdata, random=~1|ID)
logLik(REEMresult)

Run the code above in your browser using DataLab