Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Re:


From   "Eva Poen" <[email protected]>
To   [email protected]
Subject   st: Re:
Date   Mon, 28 Apr 2008 18:22:18 +0100

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/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index