Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Akaike information criterion


From   "Jennifer Ng" <[email protected]>
To   <[email protected]>
Subject   st: Akaike information criterion
Date   Tue, 16 Sep 2003 19:17:41 -0700

Hi all,

I would like to get the Akaike information criterion (AIC) to figure out how
many lags in my model.  I checked the reference guide and figured out that
estimate can help.
So, my program is as followed:

Regress Y X Z
est store AIC
estimates stats *

Then I saw that in the reference page 353, it shows the equation of AIC = -2
log (likelihood) + 2df.

I remembered that AIC = log (sum(e-sq)/n) + 2k/n  and I checked a few
textbooks and the AIC is the latter one.  Are they equivalent?  Did I use
the wrong command/equation?

Thanks in advanced.



Cheers,

Jennifer


*
*   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index