Re: [Rd] aic() component in GLM-family objects

2018-06-19 Thread Suharto Anggono Suharto Anggono via R-devel
In R, family has aic component since version 0.62. There is no aic component in family in R 0.61.3. Looking at blame, https://github.com/wch/r-source/blame/tags/R-0-62/src/library/base/R/family.R , aic component in family is introduced in svn revision 640 (https://github.com/wch/r-source/commi

Re: [Rd] aic() component in GLM-family objects

2018-06-18 Thread Martin Maechler
> Ben Bolker > on Sun, 17 Jun 2018 11:40:38 -0400 writes: > FWIW p. 206 of the White Book gives the following for > names(binomial()): family, names, link, inverse, deriv, > initialize, variance, deviance, weight. > So $aic wasn't there In The Beginning. I haven't

Re: [Rd] aic() component in GLM-family objects

2018-06-17 Thread Ben Bolker
FWIW p. 206 of the White Book gives the following for names(binomial()): family, names, link, inverse, deriv, initialize, variance, deviance, weight. So $aic wasn't there In The Beginning. I haven't done any more archaeology to try to figure out when/by whom it was first introduced ... Sectio

Re: [Rd] aic() component in GLM-family objects

2018-06-04 Thread Martin Maechler
> Ben Bolker > on Sun, 3 Jun 2018 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

[Rd] aic() component in GLM-family objects

2018-06-03 Thread Ben Bolker
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 gau