Skip to content
Prev 75878 / 398502 Next

Using lm coefficients in polyroot()

Lukasz Komsta <luke <at> novum.am.lublin.pl> writes:
Are you really sure you want to throw away lower order terms in a fit by 
misusing stepAIC? With the rare exception of omitting a constant offset, I 
don't know any case where there are good reasons to omit lower order terms in a 
fit (willing to learn, though,...).

And if you only want to find the zeroes, it's definitively not useful 
to "optimize" this way. When factors are involved, stepAIC always keeps lower 
order terms, but it is expecting a bit too much from stepAIC to expect an "do 
you really want to do this" here.

For a more competent discussion of the matter, read Bill Venables

http://www.stats.ox.ac.uk/pub/MASS3/Exegeses.pdf

Dieter