Displaying 3 results from an estimated 3 matches for "model_has_scale_parameter".
2018 Jun 03
2
aic() component in GLM-family objects
Is it generally known/has it been previously discussed here that the
$aic() component in GLM-family objects (e.g. results of binomial(),
poisson(), etc.) does not as implemented actually return the AIC, but
rather -2*log-likelihood + 2*(model_has_scale_parameter) ? Can anyone
in this forum gauge how a documentation patch would be received?
This behaviour does not seem to be documented in ?family (or anywhere
else I can find), which says:
aic: function giving the AIC value if appropriate (but ?NA? for
the quasi- families). See ?logLik? for t...
2018 Jun 04
0
aic() component in GLM-family objects
...18 17:33:18 -0400 writes:
> Is it generally known/has it been previously discussed here that the
> $aic() component in GLM-family objects (e.g. results of binomial(),
> poisson(), etc.) does not as implemented actually return the AIC, but
> rather -2*log-likelihood + 2*(model_has_scale_parameter) ?
This rings a faint bell from the last millennium with me,
and the following "fortune" may contain the answer implicitly :
------------------------------------------------------------
> if(!require("fortunes")) install.packages("fortunes")
> fortune(&quo...
2018 Jun 17
1
aic() component in GLM-family objects
...:
>
> > Is it generally known/has it been previously discussed here that the
> > $aic() component in GLM-family objects (e.g. results of binomial(),
> > poisson(), etc.) does not as implemented actually return the AIC, but
> > rather -2*log-likelihood + 2*(model_has_scale_parameter) ?
>
> This rings a faint bell from the last millennium with me,
> and the following "fortune" may contain the answer implicitly :
>
> ------------------------------------------------------------
> > if(!require("fortunes")) install.packages("fortune...