Bookmark and Share

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]

st: RE: Fitting a model when the outcome is a proportion - glm versus logistic command


From   Joe Canner <[email protected]>
To   "[email protected]" <[email protected]>
Subject   st: RE: Fitting a model when the outcome is a proportion - glm versus logistic command
Date   Fri, 21 Mar 2014 14:15:37 +0000

Anny,

Are you sure they gave different results?  By default, -logistic- reports odds ratios rather than coefficients.  If you compute the exponential of the coefficients from -glm- you should get the odds ratios from -logistic-.  

As far as fit statistics are concerned I got the same log-likelihood for both.  The other differences reflect the difference between the purpose and function of the two commands rather than discrepancies between them.

Regards,
Joe Canner
Johns Hopkins University School of Medicine

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of anny fenton
Sent: Friday, March 21, 2014 10:05 AM
To: [email protected]
Subject: st: Fitting a model when the outcome is a proportion - glm versus logistic command

Dear All,


When fitting an outcome that is a proportion, I know the typical
approach is to follow Papke and Wooldridge (1996) and use glm with
family(binomial), link(logic). However, I don't understand why one
would use glm instead of the logistic command why the two commands
would produce different fit statistics and coefficients (as they have
with my own results).


Thank you for any insight in advance,


Anny


Reference

Papke, L. E. and J. Wooldridge. Econometric methods for fractional
response variables with an application to 401(k) plan participation
rates. Journal of Applied Econometrics 11: 619-632.
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/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/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index