On 19/08/2008, at 12:55 PM, ascentnet wrote:
I have a simple X, Y data frame that I am trying to run regression
analysis
on. The linear regression looks great, but when I use lm(formula =
y ~
poly(x, degree = 5)) I get the same coeffecients. So for example
if I use
degree =3 my formula
I have a simple X, Y data frame that I am trying to run regression analysis
on. The linear regression looks great, but when I use lm(formula = y ~
poly(x, degree = 5)) I get the same coeffecients. So for example if I use
degree =3 my formula would look like y = 4.2 x^3 + 3.2x^2 + 2.1x + 1.0 and
2 matches
Mail list logo