logLik {REEMtree}R Documentation

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

Author(s)

Rebecca Sela rsela@stern.nyu.edu

References

Sela, Rebecca J., and Simonoff, Jeffrey S., “RE-EM Trees: A New Data Mining Approach for Longitudinal Data”.

See Also

REEMtree.object

Examples

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

[Package REEMtree version 1.0 Index]