Skip to content

Bug in predict(newdata=x) with poly() (PR#1258)

1 message · Brian Ripley

#
This is long-term known in S: there have been examples in V&R for years.
The S solution is predict.gam.

predict.poly is easy. The problem (as for bs and ns) is getting it used by
predict.lm.  Thomas Yee (I think) has made a solution available, but the
consensus was that it could be done more elegantly at a lower level.  We
already preserve information on contrasts and sets of levels: we need to
preserve similar information for poly() and spline terms.

I noticed this was still open last week, and put it on my (private) TODO
list.
On Sat, 12 Jan 2002 murdoch@stats.uwo.ca wrote: