lags(lag_spec) specifies the lag structure to use for the ADF regressions performed in computing the test statistic.
Specifying lags(#) requests that # lags of the series be used in the ADF regressions. The default is lags(1).
Specifying lags(aic #) requests that the number of lags of the series be chosen such that the Akaike information
criterion (AIC) for the regression is minimized. xtunitroot llc will fit ADF regressions with 1 to # lags and
choose the regression for which the AIC is minimized. This process is done for each panel so that different
panels may use ADF regressions with different numbers of lags.
Specifying lags(bic #) is just like specifying lags(aic #), except that the Bayesian information criterion (BIC)
is used instead of the AIC.
Specifying lags(hqic #) is just like specifying lags(aic #), except that the Hannan-Quinn information criterion
is used instead of the AIC.