Suharto Anggono Suharto Anggono
2018-Jun-19 08:29 UTC
[Rd] aic() component in GLM-family objects
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/commit/ac666741679b50bb1dfb5ce631717b375119f6ab): using aic(.) [Jim Lindsey]; use switch() rather than many if else else.. (MM) Components of family is documented since R 2.3.0. -------------------------------->>>>> 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 done > any more archaeology to try to figure out when/by whom it > was first introduced ... Thank you Ben. I think I was already suggesting that it was by Simon and Ross and we cannot know who of the two. > Section 6.3.3, on extending families, doesn't give any > other relevant info. > A patch for src/library/stats/man/family.Rd below: please > check what I've said about $aic and $mu.eta to make sure > they're correct! I can submit this to the r bug list if > preferred. I've spent quite some time checking this - to some extent. Thank you for the patch. I will use an even slightly extended version ((and using the correct '\eqn{\eta}{eta}' )). Thank you indeed. Martin