KAPETANIOS: Stata module to perform Kapetanios (2005) unit-root test with up to 5 structural breaks
Ozan Eruygur ()
Additional contact information
Ozan Eruygur: AHBV University, Ankara, Turkiye
Statistical Software Components from Boston College Department of Economics
Abstract:
kapetanios implements Kapetanios' (2005) unit root test. The main advantage of this procedure is that it allows for up to 5 structural breaks, with break dates endogenously estimated from the data. Under the alternative hypothesis of trend stationarity, these breaks may occur in the level and/or trend of the series. To reflect this, three model specifications are available: intercept breaks only (Model A), trend breaks only (Model B), and both intercept and trend breaks (Model C, the default), each with tabulated critical values. The test regression augments the standard ADF equation with structural break dummies and lagged differences of the dependent variable to control for serial correlation. To determine the appropriate lag length, kapetanios supports four selection methods: the sequential t-test of Ng and Perron (1995) as used in the original paper (default), a Breusch-Godfrey LM test based general-to-specific (GTS) procedure, AIC, and BIC. For the AIC and BIC methods, a post-selection Breusch-Godfrey test is automatically performed and a warning is issued if autocorrelation remains.
Language: Stata
Requires: Stata version 14
Keywords: unit root test; Kapetanios; structural breaks (search for similar items in EconPapers)
Date: 2026-04-10
Note: This module should be installed from within Stata by typing "ssc install kapetanios". The module is made available under terms of the MIT license (https://opensource.org/licenses/MIT).
References: Add references at CitEc
Citations:
Downloads: (external link)
http://fmwww.bc.edu/repec/bocode/k/kapetanios.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/k/kapetanios.sthlp 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:s459669
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 ().