getAIC_BIC_LMM is an utility function that takes an object of class
'LMMsolve' fitted via fit1ts() or fit2ts() and calculates
AIC, BIC and ED.
Usage
getAIC_BIC_LMM(fit, offset)
Arguments
- fit
An object of class "LMMsolve"
- offset
The vector of exposure times from dataLMM
Value
A list with:
* ED effective dimension of the full model;
* EDbase effective dimension of the baseline hazard only;
* Dev deviance;
* AIC the aic;
* BIC the bic;
* n_beta the number of estimated covariate parameters (if PH model).