Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: update betafit


From   Maarten buis <maartenbuis@yahoo.co.uk>
To   stata list <statalist@hsphsun2.harvard.edu>
Subject   st: update betafit
Date   Fri, 30 Oct 2009 09:02:57 -0700 (PDT)

Thanks to Kit Baum a update of the -betafit- package is now available on 
SSC. This package is written Nick Cox, Stephen Jenkins and me, and fits a 
beta distribution to your data. This is a flexible distribution for 
variables that are boundend between zero and one. An important application 
are regression-like analyses when the depedent variable is a proportion. 

This update improved the likelihood function such that it is more 
numerically stable. In simulations the old likelihood function had trouble 
in case of strong bi-modality of the dependent variable when using the 
alternative parameterization. This update fixes that problem. (For those 
who are interested in the technical details: I replaced occurences of 
1-invlogit(xb) by invlogit(-xb) ) 

To update this package when it is already installed on your machine type 
in Stata -ssc install betafit- or -adoupdate, update-. To install 
-betafit- type in Stata: -scc install betafit-. 

-- 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/



© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index