Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, statalist.org is already up and running.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: Nonlinear constraints in -ml- programming


From   Maarten Buis <maartenlbuis@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Nonlinear constraints in -ml- programming
Date   Sun, 17 Feb 2013 16:44:33 +0100

On Sun, Feb 17, 2013 at 3:06 AM, Muyang Zhang <zmyfudan@gmail.com> wrote:
> The FAQ you shared discussed the way to deal with interval
> constraints, but my problem is a "proportional constraints" where the
> coefficient of the 2nd equation over the coefficient of the 1st
> equation is constant for all dummies.

The mechanics is the same, and I guessed that that is what your were asking for.

Alternatively, you can stack the equations, i,e. turn your dataset in
a long dataset, and use -propcnsreg-, which you can get by typing in
Stata -ssc install propcnsreg-.

-- Maarten

---------------------------------
Maarten L. Buis
WZB
Reichpietschufer 50
10785 Berlin
Germany

http://www.maartenbuis.nl
---------------------------------
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index