Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: st: ml with a parameter between 0.07 and 1
From
Maarten buis <[email protected]>
To
[email protected]
Subject
Re: st: ml with a parameter between 0.07 and 1
Date
Wed, 24 Mar 2010 14:44:10 +0000 (GMT)
--- 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/