[R] Multiple linear regression with constraint (imposition)

CE.KA ce.kaya75 at yahoo.fr
Fri Oct 30 23:57:49 CET 2009



Hi R users

I want to do a multiple linear regression with R

With a normal model (Y=Cste+A1*X1+A2*X2) the program would be
lm(Y ~X2+X2)

My model is Y=Cste+A1*X1+A2*X2 with the constraint A1=-A2
What is the program for such a model?

Best regards

-- 
View this message in context: http://old.nabble.com/Multiple-linear-regression-with-constraint-%28imposition%29-tp26138081p26138081.html
Sent from the R help mailing list archive at Nabble.com.




More information about the R-help mailing list