Page 1 of 1

Estimate b*(x1-c) + x2

Posted: Fri Nov 16, 2012 6:47 am
by Lowenst
Hello guys,

I am kind of new in this world. Could someone show me how to estimate the following model?

b1(x1-C) + b2x2 , where C is a constant

I understand that I could simply estimate c + b1x2 + ... and compute the C in the above model with a simple ratio. The problem is that I am running this model for a lot of different dependent variables and I need the value of C.

Many thanks!

Re: Estimate b*(x1-c) + x2

Posted: Fri Nov 16, 2012 7:27 am
by startz
ls y = c(1)*(x1-c(2)) + c(3)*x2

Re: Estimate b*(x1-c) + x2

Posted: Fri Nov 16, 2012 7:56 am
by Lowenst
This is what I tried but I forgot the "=" and it was not working.

Thanks a lot!