Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: constrained regression


From   "Simundza, Daniel" <[email protected]>
To   <[email protected]>
Subject   st: constrained regression
Date   Fri, 24 Jan 2003 09:31:35 -0500

Hi statalist, 
 a quick question: i want to run a regression that fits b1, b2, z(another parameter), and the constant such that: 

constant +b1*z==0

how would one do this? is there an easy way to add this restriction to the regression command? i'm very sorry if this is something i should know, i'm just not having any luck finding an answer.


thanks in advance for any and all help.

 dan simundza
*
*   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