 |
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: st: ml with a parameter between 0.07 and 1
Dear Maarten and Paul,
thank you very much.
Bea
2010/3/24 E. Paul Wileyto <epw@mail.med.upenn.edu>:
> 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
> epw@mail.med.upenn.edu
> *
> * 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/