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 on April 23, and its replacement, statalist.org is already up and running.


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

st: Re: Inequality constraint - STATA


From   Maarten buis <maartenbuis@yahoo.co.uk>
To   stata list <statalist@hsphsun2.harvard.edu>
Subject   st: Re: Inequality constraint - STATA
Date   Mon, 26 Apr 2010 08:09:44 +0000 (GMT)

--- On Mon, 26/4/10, Moses Lee wrote to me privately:
> I was reading your thread in the STATA discussion that you posted few
> years ago. I'm wondering if I can followup the thread with you as I'm
> facing the same difficulty as a previous STATA user. 
>
> I'm currently trying to impose inequality for my economic model, where
> it's necessary for my parameters to have values >0.
> However, I'm currently using the cnsreg code, but I'm unable to impose
> an inequality constraint regression to ensure parametric output to be
> positive.
>
> I'm wondering if you have any solutions or methods to indirectly impose
> inequality constraints in my model? On the STATA thread, you mentioned
> about using ln(variance) as an indirect route. However, I'm quite
> uncertain on how to carry this using the cnsreg (linear) regression.
> Hence if you have any suggestions, I would really appreciate your help.

First of all, regarding the sending of messages to me privately, see:
<http://www.stata.com/support/faqs/res/statalist.html#private>

There is a pretty complete answer to your question here:
<http://www.stata.com/support/faqs/stat/intconst.html>

Hope this helps,
Maarten

--------------------------
Maarten L. Buis
Institut fuer Soziologie
Universitaet Tuebingen
Wilhelmstrasse 36
72074 Tuebingen
Germany

http://www.maartenbuis.nl
--------------------------


      

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


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