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/