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: Inequality Bounds & Constraints


From   Stas Kolenikov <skolenik@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Inequality Bounds & Constraints
Date   Wed, 19 May 2010 22:42:47 -0500

you do this by reparameterizing your model -- for instance, by taking
log odds ratio: exp(a)/(1+exp(a)) is between 0 and 1 for arbitrary
real a. You would have to write your own likelihood program though.

On Wed, May 19, 2010 at 9:44 PM, Moses Lee <Moses.Lee@anu.edu.au> wrote:
> Hi All Stata Listers.
>
> I'm planning to impose an inequality bounds for my regression analysis.
> Currently, the only constraints I'm able to impose is equality constraints.
>
> Example:
>
> constraint define 1 X+Y+Z=1
>
> Does anyone know whether it is possible to impose an inequality constraint?
> I.e.
>
> 0<X<1
> 0<Y<1
> 0<Z<1
>
> Any help would be very helpful.
>
> Thank you!
>
> moses
>
> *
> *   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/
>



-- 
Stas Kolenikov, also found at http://stas.kolenikov.name
Small print: I use this email account for mailing lists only.

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