logLik: Log-likelihood of a RE-EM tree

logLikR 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

  ## S3 method for class 'REEMtree'
logLik(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 Data Mining Approach for Longitudinal and Clustered Data”, Machine Learning (2011).

See Also

REEMtree.object

Examples

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

REEMtree documentation built on Oct. 25, 2023, 1:08 a.m.