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/