[R] Regression on non linear model

Peppy s.adi.purnomo at EnergyLink.co.nz
Thu Oct 14 03:43:08 CEST 1999


Dear Help desk,

I have a model that I believe to be non linear.  The relationship is
something like:

Response = Var1 + Var1^2 + Var1^3

Can I examine this relationship using glm or lm?  However, glm or lm gives
out pnly 1 coeficient for the model which is on Var1,  unless I created some
dummy var like (Var2 = Var1^2 and Var3 = Var1^3).

Is there any other function handling this relationship?  

My R is 0.64.2

Thank you,
Peppy
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list