Tobias,
see -help constraint-
Example:
***
sysuse auto, clear
constraint 1 price + weight = 1
cnsreg mpg price weight turn, constraints(1)
***
Eva
2008/4/28 "Tobias H�usel" <[email protected]>:
> Hello,
>
> I want to specify the following multiple regression model with stata.
>
> y = cons + b1*x1 + b2*x2, with b1 + b2 = 1
>
> Does anyone know how I can specify the coefficients(, i.e b1 + b2 =1) like that?
> They should be specified before running the regression.
>
> Thanks and Cheers TH
> --
> Psssst! Schon vom neuen GMX MultiMessenger geh�rt?
> Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger
> *
> * For searches and help try:
> * http://www.stata.com/support/faqs/res/findit.html
> * http://www.stata.com/support/statalist/faq
> * http://www.ats.ucla.edu/stat/stata/
>
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/