REEMtree (version 0.90.3)

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

logLik.REEMtree(object,...)

Arguments

object
an object of class REEMtree
...
further arguments passed to or from other methods

Value

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

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