Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: How to obtain fit indices from a logistic regression model in Stata?


From   tiago.pereira@incor.usp.br
To   statalist@hsphsun2.harvard.edu
Subject   st: How to obtain fit indices from a logistic regression model in Stata?
Date   Wed, 7 Nov 2007 02:47:54 -0200 (BRT)

Dear all,

First, I would like to thank Maarten for his endless help with my problems
in Stata.

In this respect, I just would like to know how one can obtain a scalar of
fit indices from a logistic regression model.

For instance,

. logistic status factor1 factor2 [freq=count]
. estat ic,

---------------------------------------------------------------------
       Model |    Obs    ll(null)   ll(model)  df     AIC        BIC
-------------+-------------------------------------------------------
           . |    249   -165.5368   -159.3161  2     322.6321  329.667
---------------------------------------------------------------------

How could one get that AIC value of 322.6321 into a scalar?


best regards,

Tiago



*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   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