Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
From | Zhi Su <su.zh@husky.neu.edu> |
To | statalist <statalist@hsphsun2.harvard.edu> |
Subject | st: set constraints for coefficients of independents in regression |
Date | Wed, 1 Jun 2011 23:40:01 -0400 |
When I run a regression, I need to constrain the coefficients of four independents to be four different values I calculate from previous regressions. The constrained coefficient for each independent variable is a constant value. When I calculate each of these values from previous regression should I save them as a new variable with a single value for all the observations or as a vector? How to use "constraint define" to set the constraints for the coefficient of each independent? Thank you! -- Zhi Su 348 Holmes Hall Northeastern University 360 Huntington Avenue Boston, MA 02115 Office:1-617-373-2316 email:su.zh@husky.neu.edu * * For searches and help try: * http://www.stata.com/help.cgi?search * http://www.stata.com/support/statalist/faq * http://www.ats.ucla.edu/stat/stata/