Computes the (generalized) Akaike An Information Criterion for a fitted parametric model.
## S3 method for class 'survstan'extractAIC(fit, scale, k =2,...)
Arguments
fit: a fitted model of the class survstan
scale: optional numeric specifying the scale parameter of the model. Currently only used in the "lm" method, where scale specifies the estimate of the error variance, and scale = 0 indicates that it is to be estimated by maximum likelihood.
k: numeric specifying the ‘weight’ of the equivalent degrees of freedom part in the AIC formula.
...: further arguments passed to or from other methods.