Statalist The Stata Listserver


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

st: inequality constraints for regression models


From   "Stephan Brunow" <[email protected]>
To   <[email protected]>
Subject   st: inequality constraints for regression models
Date   Thu, 6 Apr 2006 14:36:49 +0200

Dear all,
�
we want to estimate a regression model (Zellners SUR model) with some
restrictions on parameters and equal explanatory variables. Especially we
want to say that the parameters have to be between 0 and 1. 
At the moment we wrote
�
Constraint define 1 [eq1]variable1>=0 & [eq1]variable1<=1
Sureg (yvar1-yvar3 = variable1), cons(1)
�
The error message we get is
�
'not possible with test � r(131)'
�
What did we wrong? Finally, it turns out that the question is: How to write
the constraint?!

Thank you in advance,
�
Stephan


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