[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: st: ml with a parameter between 0.07 and 1
--- On Wed, 24/3/10, Beatrice Crozza wrote:
> Now I want to constrain the parameter to be between 0.07
> and 1. How can I do this?
gen double `am'=.07 + (1-.07)/(1+exp(-`a'))
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/