THRESHKIT: Stata module to estimate hreshold models for cross-section and time series
Merwan Roudane
Statistical Software Components from Boston College Department of Economics
Abstract:
threshkit brings the threshold-model family into a single package: abrupt (jump) thresholds, continuous kinks, smooth transitions, asymmetric adjustment and bands of inaction, together with the multivariate counterparts -- threshold VAR, threshold VECM and vector smooth transition VAR. It covers the three stages a threshold analysis actually goes through. First, whether there is a threshold at all. The threshold is not identified under the null, so the linearity and threshold-existence tests carry the bootstrap p-values that requires, with Davies' analytic bound available as a cheap alternative (Hansen 1996, 2000; Davies 1987). Second, estimation and inference. Least-squares, quantile, instrumental- variable and endogenous-threshold estimators, with inverted-likelihood-ratio confidence sets for the threshold rather than a standard error its limit distribution does not support, and the conservative intervals of Donayre, Eo and Morley (2018) alongside. Third, post-estimation. Regime diagnostics against the regime-split design, generalised impulse responses (Koop, Pesaran and Potter 1996), the deterministic skeleton with its limit cycles, forecasting, and publication-ready tables and graphs.
Language: Stata
Requires: Stata version 15
Keywords: threshold models; smooth transitions; asymmetric adjuistment (search for similar items in EconPapers)
Date: 2026-10-09
Note: This module should be installed from within Stata by typing "ssc install threshkit". 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:
Downloads: (external link)
http://fmwww.bc.edu/repec/bocode/t/thbandur.ado
http://fmwww.bc.edu/repec/bocode/t/thbandur.sthlp
http://fmwww.bc.edu/repec/bocode/t/thendog.ado
http://fmwww.bc.edu/repec/bocode/t/thendog.sthlp
http://fmwww.bc.edu/repec/bocode/t/thexport.ado
http://fmwww.bc.edu/repec/bocode/t/thexport.sthlp
http://fmwww.bc.edu/repec/bocode/t/thforecast.ado
http://fmwww.bc.edu/repec/bocode/t/thforecast.sthlp
http://fmwww.bc.edu/repec/bocode/t/thivreg_estat.ado
http://fmwww.bc.edu/repec/bocode/t/thivreg_p.ado
http://fmwww.bc.edu/repec/bocode/t/thivreg.ado
http://fmwww.bc.edu/repec/bocode/t/thivreg.sthlp
http://fmwww.bc.edu/repec/bocode/t/thivtest.ado
http://fmwww.bc.edu/repec/bocode/t/thivtest.sthlp
http://fmwww.bc.edu/repec/bocode/t/thkink_estat.ado
http://fmwww.bc.edu/repec/bocode/t/thkink_p.ado
http://fmwww.bc.edu/repec/bocode/t/thkink.ado
http://fmwww.bc.edu/repec/bocode/t/thkink.sthlp
http://fmwww.bc.edu/repec/bocode/t/thmtar_estat.ado
http://fmwww.bc.edu/repec/bocode/t/thmtar_p.ado
http://fmwww.bc.edu/repec/bocode/t/thmtar.ado
http://fmwww.bc.edu/repec/bocode/t/thmtar.sthlp
http://fmwww.bc.edu/repec/bocode/t/thnltest.ado
http://fmwww.bc.edu/repec/bocode/t/thnltest.sthlp
http://fmwww.bc.edu/repec/bocode/t/thnregimes.ado
http://fmwww.bc.edu/repec/bocode/t/thnregimes.sthlp
http://fmwww.bc.edu/repec/bocode/t/thnseq.ado
http://fmwww.bc.edu/repec/bocode/t/thnseq.sthlp
http://fmwww.bc.edu/repec/bocode/t/thqkink_estat.ado
http://fmwww.bc.edu/repec/bocode/t/thqkink_p.ado
http://fmwww.bc.edu/repec/bocode/t/thqkink.ado
http://fmwww.bc.edu/repec/bocode/t/thqkink.sthlp
http://fmwww.bc.edu/repec/bocode/t/thqreg_estat.ado
http://fmwww.bc.edu/repec/bocode/t/thqreg_p.ado
http://fmwww.bc.edu/repec/bocode/t/thqreg.ado
http://fmwww.bc.edu/repec/bocode/t/thqreg.sthlp
http://fmwww.bc.edu/repec/bocode/t/thqtest.ado
http://fmwww.bc.edu/repec/bocode/t/thqtest.sthlp
http://fmwww.bc.edu/repec/bocode/t/thregress_estat.ado
http://fmwww.bc.edu/repec/bocode/t/thregress_p.ado
http://fmwww.bc.edu/repec/bocode/t/thregress.ado
http://fmwww.bc.edu/repec/bocode/t/thregress.sthlp
http://fmwww.bc.edu/repec/bocode/t/threshkit_choose.sthlp
http://fmwww.bc.edu/repec/bocode/t/threshkit.sthlp
http://fmwww.bc.edu/repec/bocode/t/thsearch.ado
http://fmwww.bc.edu/repec/bocode/t/thsearch.sthlp
http://fmwww.bc.edu/repec/bocode/t/thselect.ado
http://fmwww.bc.edu/repec/bocode/t/thselect.sthlp
http://fmwww.bc.edu/repec/bocode/t/thsim.ado
http://fmwww.bc.edu/repec/bocode/t/thsim.sthlp
http://fmwww.bc.edu/repec/bocode/t/thstar_estat.ado
http://fmwww.bc.edu/repec/bocode/t/thstar_p.ado
http://fmwww.bc.edu/repec/bocode/t/thstar.ado
http://fmwww.bc.edu/repec/bocode/t/thstar.sthlp
http://fmwww.bc.edu/repec/bocode/t/thstarcycle.ado
http://fmwww.bc.edu/repec/bocode/t/thstarcycle.sthlp
http://fmwww.bc.edu/repec/bocode/t/thstr.ado
http://fmwww.bc.edu/repec/bocode/t/thstr.sthlp
http://fmwww.bc.edu/repec/bocode/t/thstrtype.ado
http://fmwww.bc.edu/repec/bocode/t/thstrtype.sthlp
http://fmwww.bc.edu/repec/bocode/t/thstvar_estat.ado
http://fmwww.bc.edu/repec/bocode/t/thstvar_p.ado
http://fmwww.bc.edu/repec/bocode/t/thstvar.ado
http://fmwww.bc.edu/repec/bocode/t/thstvar.sthlp
http://fmwww.bc.edu/repec/bocode/t/thsubci.ado
http://fmwww.bc.edu/repec/bocode/t/thsubci.sthlp
http://fmwww.bc.edu/repec/bocode/t/thsubtar_estat.ado
http://fmwww.bc.edu/repec/bocode/t/thsubtar_p.ado
http://fmwww.bc.edu/repec/bocode/t/thsubtar.ado
http://fmwww.bc.edu/repec/bocode/t/thsubtar.sthlp
http://fmwww.bc.edu/repec/bocode/t/thtar.ado
http://fmwww.bc.edu/repec/bocode/t/thtar.sthlp
http://fmwww.bc.edu/repec/bocode/t/thtarma.ado
http://fmwww.bc.edu/repec/bocode/t/thtarma.sthlp
http://fmwww.bc.edu/repec/bocode/t/thtarsel.ado
http://fmwww.bc.edu/repec/bocode/t/thtarsel.sthlp
http://fmwww.bc.edu/repec/bocode/t/thtest.ado
http://fmwww.bc.edu/repec/bocode/t/thtest.sthlp
http://fmwww.bc.edu/repec/bocode/t/thtqar.ado
http://fmwww.bc.edu/repec/bocode/t/thtqar.sthlp
http://fmwww.bc.edu/repec/bocode/t/thtvar_estat.ado
http://fmwww.bc.edu/repec/bocode/t/thtvar_p.ado
http://fmwww.bc.edu/repec/bocode/t/thtvar.ado
http://fmwww.bc.edu/repec/bocode/t/thtvar.sthlp
http://fmwww.bc.edu/repec/bocode/t/thtvarsel.ado
http://fmwww.bc.edu/repec/bocode/t/thtvarsel.sthlp
http://fmwww.bc.edu/repec/bocode/t/thtvecm_estat.ado
http://fmwww.bc.edu/repec/bocode/t/thtvecm_p.ado
http://fmwww.bc.edu/repec/bocode/t/thtvecm.ado
http://fmwww.bc.edu/repec/bocode/t/thtvecm.sthlp
http://fmwww.bc.edu/repec/bocode/t/thunitroot_estat.ado
http://fmwww.bc.edu/repec/bocode/t/thunitroot_p.ado
http://fmwww.bc.edu/repec/bocode/t/thunitroot.ado
http://fmwww.bc.edu/repec/bocode/t/thunitroot.sthlp
http://fmwww.bc.edu/repec/bocode/_/_tk_drop.ado
http://fmwww.bc.edu/repec/bocode/_/_tk_gsave.ado
http://fmwww.bc.edu/repec/bocode/_/_tk_irf.ado
http://fmwww.bc.edu/repec/bocode/_/_tk_mvdiag.ado
http://fmwww.bc.edu/repec/bocode/_/_tk_resdiag.ado
http://fmwww.bc.edu/repec/bocode/l/lthreshkit.mlib
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:s459926
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 ().