You might want to take a look at -dfgls-
Scott
> -----Original Message-----
> From: [email protected] [mailto:owner-
> [email protected]] On Behalf Of xtian
> Sent: Wednesday, January 24, 2007 10:36 AM
> To: [email protected]
> Subject: st: Using ADF test with AIC or MAIC
>
> Dear ALL:
>
> I need to do univariate ADF test with individual time series data. I know
> I
> can set the lag length by hand,such as: dfuller CPI, regress trend
> lags(1).
> The problem is that how can I use AIC or MAIC to choose the optimal lags
> automatically.
>
> Thanks a lot!
>
> Tian Xi
*
* 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/