EconPapers    
Economics at your fingertips  
 

DFGLS: Stata module to compute Dickey-Fuller/GLS unit root test

Christopher Baum and Richard Sperling ()
Additional contact information
Richard Sperling: The Ohio State University

Statistical Software Components from Boston College Department of Economics

Abstract: dfgls performs the Elliott-Rothenberg-Stock (ERS, 1996) efficient test for an autoregressive unit root. This test is similar to an (augmented) Dickey-Fuller "t" test, as performed by dfuller, but has the best overall performance in terms of small-sample size and power, dominating the ordinary Dickey-Fuller test. The code has been revised to calculate the optimal lag length using a sequential t-test (Ng and Perron, 1995), the SC and the AIC. This is version 1.3.10 of the software, updated from that published in STB-58. This version uses doubles throughout, improved critical values from response surface estimation, corrects an error in the calculation of the Schwarz criterion, corrects an error in the use of initial missing observations, and adds the MAIC criterion (Ng and Perron 2001), which is much more appropriate than SC or AIC in the presence of negative moving average components. It also adds an option to save the residuals from detrending (demeaning). dfgls is now a part of official Stata version 8, and routine dfgls2 (for Stata 8; q.v.) adds the capability to estimate the test on a single unit of a panel.

Language: Stata
Requires: Stata version 6.0
Keywords: timeseries; unit root; Dickey-Fuller (search for similar items in EconPapers)
Date: 2000-03-30, Revised 2001-12-16
Note: This module may be installed from within Stata by typing "ssc install dfgls". The module is made available under terms of the GPL v3 (https://www.gnu.org/licenses/gpl-3.0.txt). Windows users should not attempt to download these files with a web browser.
References: Add references at CitEc
Citations: View citations in EconPapers (1)

Downloads: (external link)
http://fmwww.bc.edu/repec/bocode/d/dfgls.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/d/dfgls.hlp help file (text/plain)

Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.

Export reference: BibTeX RIS (EndNote, ProCite, RefMan) HTML/Text

Persistent link: https://EconPapers.repec.org/RePEc:boc:bocode:s410001

Ordering information: This software item can be ordered from
http://repec.org/docs/ssc.php

Access Statistics for this software item

More software in Statistical Software Components from Boston College Department of Economics Boston College, 140 Commonwealth Avenue, Chestnut Hill MA 02467 USA. Contact information at EDIRC.
Bibliographic data for series maintained by Christopher F Baum ().

 
Page updated 2025-03-30
Handle: RePEc:boc:bocode:s410001