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
## S3 method for class 'REEMtree'
logLik(object,...)
Arguments
object |
an object of class |
... |
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
Examples
data(simpleREEMdata)
REEMresult<-REEMtree(Y~D+t+X, data=simpleREEMdata, random=~1|ID)
logLik(REEMresult)
[Package REEMtree version 0.90.5 Index]