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
Beatrice Crozza <[email protected]>
To
[email protected]
Subject
Re: st: ml with a parameter between 0.07 and 1
Date
Thu, 25 Mar 2010 12:57:39 +0000
Dear Maarten and Paul,
thank you very much.
Bea
2010/3/24 E. Paul Wileyto <[email protected]>:
> gen double `am'=0.07+(1-0.07)/(1+exp(-`a'))
>
>
>
> Beatrice Crozza wrote:
>>
>> Dear all,
>>
>> I did a maximum likelihood and I constrained one parameter to be
>> between zero and one, in this way:
>>
>> gen double `am'=1/(1+exp(-`a'))
>>
>> and then I generated the standard error using the delta method.
>>
>> Now I want to constrain the parameter to be between 0.07 and 1.
>>
>> How can I do this?
>>
>> Thank you very much
>>
>> Best,
>> Bea
>> *
>> * 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/
>>
>>
>
> --
> E. Paul Wileyto, Ph.D.
> Assistant Professor of Biostatistics
> Tobacco Use Research Center
> School of Medicine, U. of Pennsylvania
> 3535 Market Street, Suite 4100
> Philadelphia, PA 19104-3309
>
> 215-746-7147
> Fax: 215-746-7140
> [email protected]
> *
> * 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/
>
*
* 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/