Testing for slope heterogeneity in Stata
Open accessThe DOI matches its Crossref record; 4 of the 4 references it cites were found in a registry or an index.
Abstract
In this article, we introduce a new community-contributed command, xthst, to test for slope heterogeneity in panels with many observations over cross-sectional units and time periods. The command implements such a test, the delta test (Pesaran and Yamagata, 2008, Journal of Econometrics 142: 50–93). Under its null, slope coefficients are homogeneous across cross-sectional units. Under the alternative, slope coefficients are heterogeneous in the cross-sectional dimension. xthst also includes two extensions. The first is a heteroskedasticity- and autocorrelation-consistent robust test along the lines of Blomquist and Westerlund (2013, Economics Letters 121: 374–378). The second extension is a cross-sectional-dependence robust version. We discuss all tests and present examples using an economic growth model. A Monte Carlo simulation shows that the size and the power behave as expected.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
Econometric Analysis of Panel Data
Baltagi, B. H. (2021) · Springer Texts in Business and Economics · doi:10.1007/978-3-030-53953-5 · Cited by 15,104
Mostly Harmless Econometrics: An Empiricist's Companion
Angrist, J. D., & Pischke, J.-S. (2009) · doi:10.1515/9781400829828 · Cited by 9,467
Estimating long-run relationships from dynamic heterogeneous panels
Pesaran, M. H., & Smith, R. (1995) · Journal of Econometrics · doi:10.1016/0304-4076(94)01644-f · Cited by 5,479 · cited 1×
“Incorrectly ignoring slope heterogeneity might bias the results; see, for example, Pesaran and Smith (1995).”
BackgroundMostly Harmless Econometrics: An Empiricist's Companion
Angrist, J. D., & Pischke, J.-S. (2008) · doi:10.2307/j.ctvcm4j72 · Cited by 5,051
Cited by
Climate variability impacts on agricultural output in East Africa
Mubenga-Tshitaka, J.-L., Dikgang, J., Muteba Mwamba, J. W., & Gelo, D. (2023) · Cogent Economics & Finance · doi:10.1080/23322039.2023.2181281 · Cited by 16
Metadata
- Authors
- Bersvendsen, T., & Ditzen, J.
- Venue
- The Stata Journal: Promoting communications on statistics and Stata
- Publisher
- SAGE Publications
- Published
- 2021-03
- Volume
- 21
- Issue
- 1
- Pages
- 51-80
- ISSN
- 1536-867X (ISSN-L)
- 1536-8734
- OpenAlex
- W3145623108
- Cited by
- 252
- References
- 4
- FWCI
- 24.89
- Type
- journal article
- Language
- en
- Open access
- bronze
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
How to cite
Cite CoChat for the checks on this page, and the paper for its own findings.
- This page
- CoChat. (2026). Citation check: Testing for slope heterogeneity in Stata. https://app.cochat.ai/papers/10.1177/1536867x211000004
- The paper
- Bersvendsen, T., & Ditzen, J. (2021). Testing for slope heterogeneity in Stata. The Stata Journal: Promoting communications on statistics and Stata. https://doi.org/10.1177/1536867x211000004
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.