The values returned by AIC.dglars
are computed according to the following formula of a generic measure of Goodness-of-Fit (GoF): $$-2 \mbox{log-likelihood} + k \mbox{comp},$$ where “comp” represents the term used to measure the complexity of the fitted model, and \(k\) is the ‘weight’ of the complexity in the previous formula.
For binomial and Poisson family, the log-likelihood function is evaluated assuming that the dispersione parameter is known and equal to one while for the remaining families the dispersion parameter is estimated by the method specified by phi
(see phihat
for more details).
According to the results given in Augugliaro et. al. (2013), the complexity of a model fitted by dglars method can be measured by the classical notion of ‘Degrees-of-Freedom’ (complexity = "df"
), i.e., the number of non-zero estimated, or by the notion of ‘Generalized Degrees-of-Freedom’ (complexity = "gdf"
).
By the previous formula, it is easy to see that the standard AIC-values are obtained setting k = 2
and complexity = "df"
(default values for the function AIC.dglars
) while the so-called BIC-values (Schwarz's Bayesian criterion) are obtained setting k = log(n)
, where \(n\) denotes the sample size, and complexity = "df"
(default values for the function BIC.dglars
).
The optional argument g
is used to specify the values of the tuning parameter; if not specified (default), the values of the measure of goodness-of-fit are computed for the sequence of models storage in object
otherwise predict.dglars
is used to compute the estimate of the parameters needed to evaluate the log-likelihood function (see the example below).