Many thanks for the correction David. Josh
On Thu, Jan 20, 2011 at 7:17 AM, David Scott <d.sc...@auckland.ac.nz> wrote: > I think you need poly(X, 2, raw = TRUE) to interpret the coefficients in > the manner described below. > > poly uses orthogonal polynomials by default: > > poly package:stats R Documentation > > Compute Orthogonal Polynomials > > Description: > > Returns or evaluates orthogonal polynomials of degree 1 to > 'degree' over the specified set of points 'x'. These are all > orthogonal to the constant polynomial of degree 0. Alternatively, > evaluate raw polynomials. > > David Scott > [snip] > -- > _________________________________________________________________ > David Scott Department of Statistics > The University of Auckland, PB 92019 > Auckland 1142, NEW ZEALAND > Phone: +64 9 923 5055, or +64 9 373 7599 ext 85055 > Email: d.sc...@auckland.ac.nz, Fax: +64 9 373 7018 > > Director of Consulting, Department of Statistics ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.