search for: deltafit

Displaying 1 result from an estimated 1 matches for "deltafit".

Did you mean: deltafits
2002 Apr 01
0
something confusing about stepAIC
...ction AICc, I dug around in the code for the functions glm.fit stepAIC dropterm.glm addterm.glm extractAIC.glm and came across something I just don't understand. stepAIC() passes dropterm.glm() a model object. dropterm.glm() then fits a number of submodels, computing for each some measure DeltaFit of the relative change in goodness of fit. It then returns to stepAIC() with some indication of which submodel is best. addterm.glm behaves similarly. The problem is, both functions use the submodel deviances to compute the DeltaFits, not the submodel AICs, even though these are available for at le...