EconPapers    
Economics at your fingertips  
 

The lag-length selection and detrending methods for HEGY seasonal unit-root tests using Stata

Tomás del Barrio Castro, Andrii Bodnar () and Andreu Sansó

Stata Journal, 2016, vol. 16, issue 3, 740-760

Abstract: The article extends the previous Hylleberg, Engle, Granger, and Yoo seasonal unit-root test commands (Baum and Sperling, 2001, https://ideas.repec.org/c/boc/bocode/s416502.html; Depalo, 2009, Stata Journal 9: 422–438), which allow for the use of both quarterly and monthly data. It is also possible to choose between ordinary least-squares and generalized least-squares detrending (Rodrigues and Taylor, 2007, Journal of Econometrics 141: 548–573) procedures to deal with the deterministic part of the process. The command allows for the use of the sequential method proposed by Hall (1994, Journal of Business and Economic Statistics 12: 461–470) and Ng and Perron (1995, Journal of the American Statistical Association 90: 268–281), the adaptation of the modified Akaike information criteria to the case of seasonal unit-root tests (del Barrio Castro, Osborn, and Taylor, 2016, Econometric Reviews 35: 122–168) as well as the inclusion of Akaike information and Bayesian information criteria to determine the order of augmentation of the serial correlation in the augmented Hylleberg, Engle, Granger, and Yoo regression. Finally, the use of the command is illustrated with an empirical application to the case of monthly passenger airport arrivals to Palma de Mallorca. Copyright 2016 by StataCorp LP.

Keywords: hegy; HEGY test; GLS detrending; optimal augmentation lag (search for similar items in EconPapers)
Date: 2016
Note: to access software from within Stata, net describe http://www.stata-journal.com/software/sj16-3/st0453/
References: Add references at CitEc
Citations: View citations in EconPapers (3)

Downloads: (external link)
http://www.stata-journal.com/article.html?article=st0453 link to article purchase

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:tsj:stataj:v:16:y:2016:i:3:p:740-760

Ordering information: This journal article can be ordered from
http://www.stata-journal.com/subscription.html

Access Statistics for this article

Stata Journal is currently edited by Nicholas J. Cox and Stephen P. Jenkins

More articles in Stata Journal from StataCorp LLC
Bibliographic data for series maintained by Christopher F. Baum () and Lisa Gilmore ().

 
Page updated 2025-05-18
Handle: RePEc:tsj:stataj:v:16:y:2016:i:3:p:740-760