Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


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

Re: st: Nonlinear constraints in -ml- programming


From   Gordon Hughes <[email protected]>
To   [email protected]
Subject   Re: st: Nonlinear constraints in -ml- programming
Date   Sun, 17 Feb 2013 11:52:09 +0000

As you have stated the problem, you should rewrite the model so that it specified in terms of the parameters: beta, gamma, eta_j and lambda where lambda is the constant ratio of delta_j/eta_j and then use -nl- for non-linear least squares. It is always best to substitute out constraints if you can do that.

However, I suspect that you might have something else in mind. Do you really want to test whether the ratios delta_j/eta_j are constant over j? In that case, your question is not really about constraints but about testing a set of non-linear hypotheses and you need to consider -testnl- or other test procedures.

Gordon Hughes
[email protected]
*
*   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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index