Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: Restriction on Parameter Values in NL Estimation


From   "Nick Cox" <n.j.cox@durham.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: RE: Restriction on Parameter Values in NL Estimation
Date   Thu, 23 Aug 2007 11:50:02 +0100

If H < 1, then H - 1 < 0 and 1 - H > 0. Hence work with ln(1 - H). 

Nick 
n.j.cox@durham.ac.uk 

Randall K. Q. Akee, Ph.D.
 
> I am running the following program using the NL command.  I have been
> able to restrict my parameters (A-J) to be positive by taking 
> the square
> root in the series of equations below.  Additionally, I would like to
> restrict the parameter H below to be less than 1.  I am not 
> sure how one
> does this here, any thoughts would be helpful.

*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   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   |   What's new   |   Site index