getAIC_BIC_LMM {TwoTimeScales} | R Documentation |
Calculates AIC and BIC from object fitted via LMMsolver
Description
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 |
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).
[Package TwoTimeScales version 1.0.0 Index]