powered by
carx
Return the AIC of a fitted carx object where the maximum log-likelihood is replaced by the maximum quasi-log-likelihood.
# S3 method for carx AIC(object, ..., k = 2)
a fitted carx object.
not used.
penalty multiplier for the number of parameters. Default = 2.
the AIC value = -2maximum quasi-log-likelihood+knumber of parameters
# NOT RUN { dat = carxSim(nObs=100,seed=0) mdl <- carx(y~X1+X2-1,data=dat, p=2, CI.compute = FALSE) ic = AIC(mdl) # }
Run the code above in your browser using DataLab