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]

st: question using moptimize


From   "Gregory, Christian - ERS" <cgregory@ers.usda.gov>
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
Subject   st: question using moptimize
Date   Wed, 30 Oct 2013 14:22:47 +0000

Hi All,

I've written a bivariate semi-ordered probit model using -moptimize-; in this model, one of the equations is binary and one of the equations is an ordered outcome. While the command works well for the application that I have, a problem with generalizing it is that the number of equations in the model is dependent on the problem. That is , it would be different for a model in which the ordered variable had 7 as opposed to 5 categories, since each of the cutpoints for ordered outcome require a separate "equation" in moptimize_init_eq_indepvars(). Is there a way to write this in moptimize-ie. varying the number of equations with the application-or should I just stick to ml?

Thanks,
Christian


Christian A. Gregory
Research Economist
Economic Research Service, USDA
355 E. St. SW, DSHE-FED
202-694-5132





This electronic message contains information generated by the USDA solely for the intended recipients. Any unauthorized interception of this message or the use or disclosure of the information it contains may violate the law and subject the violator to civil or criminal penalties. If you believe you have received this message in error, please notify the sender and delete the email immediately.


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