I saw Nick's very complete response after I posted--but I notice one
more thing worth fixing right away: the default for the Lags option
should be 8, not -1, according to the first post.
On 10/3/07, Nick Cox <[email protected]> wrote:
>
> Here is a hack.
>
> capture program drop adfperron
> * NJC was here
> *! adfperron v1 Nourry 03oct2007
> program adfperron, rclass
> version 9.2
> syntax varname(ts) [if] [in] [,Lags(int -1)]
>
*
* 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/