XTASYM: Stata module to analyze directional asymmetry with panel data: partial sums, diagnostics and graphics
Merwan Roudane
Statistical Software Components from Boston College Department of Economics
Abstract:
xtasym builds, describes and draws the positive and negative partial sums used to test directional asymmetry with panel data: whether an increase in a regressor has an effect equal and opposite to a decrease. It implements the partial-sum decomposition of Shin, Yu and Greenwood-Nimmo (2014) as used by Thombs, Huang and Fitzgerald (2022, Sociological Methodology 52:1-29), and the cumulated components of Allison (2019, Socius 5:1-12), selectable with a convention() option, since the two differ in the sign of the negative arm and therefore in the symmetry restriction to be tested. Beyond construction, the command reports the diagnostics needed to choose an estimator for those series: a directional frequency table, the within and between dispersion of each partial sum, the Pesaran (2015) CD test for cross-sectional dependence (computed internally, so no other package is needed), and the Pesaran (2007) CIPS panel unit-root test. It also produces three publication-quality figures in a choice of four colour ramps, including a colour-blind-safe one.
Language: Stata
Requires: Stata version 14
Keywords: panel data; structural breaks; directional symmetry (search for similar items in EconPapers)
Date: 2026-08-20
Note: This module should be installed from within Stata by typing "ssc install xtasym". 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/x/xtasym.ado
http://fmwww.bc.edu/repec/bocode/x/xtasym.sthlp
http://fmwww.bc.edu/repec/bocode/x/xtasym_methods.sthlp
http://fmwww.bc.edu/repec/bocode/x/xtasym_example.do
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:s459858
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 ().