Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Parmeter remapping


From   Ed Blackburne <[email protected]>
To   [email protected]
Subject   st: Parmeter remapping
Date   Wed, 26 Oct 2005 10:42:26 -0500

Dear listers,

I have a ml program where a scalar parameter must be on the unit
interval. Naturally, I have had convergence problems in Stata if I set
`lnf'=. if the constraint is not met.  I know the proper way is to
reparameterize and let Stata search over the real line. (Example
estimate ln(sig) rather than sig in ml normal regression).

Originally I tried the sigmoid function to remap, with no luck. The
routine does work, however, using cloglog to remap.

My question to the numerical optimization experts, is there a preferred
function to transform "all reals" to (0,1) given this context?

Looking forward to any thoughts,

Ed

*
*   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index