IDEAS home Printed from https://ideas.repec.org/a/tsj/stataj/v21y2021i1p51-80.html
   My bibliography  Save this article

Testing for slope heterogeneity in Stata

Author

Listed:
  • Tore Bersvendsen

    (University of Agder, Kristiansand, Norway)

  • Jan Ditzen

    (Free University of Bozen-Bolzano)

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.

Suggested Citation

  • Tore Bersvendsen & Jan Ditzen, 2021. "Testing for slope heterogeneity in Stata," Stata Journal, StataCorp LP, vol. 21(1), pages 51-80, March.
  • Handle: RePEc:tsj:stataj:v:21:y:2021:i:1:p:51-80
    DOI: 10.1177/1536867X211000004
    Note: to access software from within Stata, net describe http://www.stata-journal.com/software/sj21-1/st0627/
    as

    Download full text from publisher

    File URL: http://hdl.handle.net/10.1177/1536867X211000004
    Download Restriction: no

    File URL: https://libkey.io/10.1177/1536867X211000004?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    Citations

    Citations are extracted by the CitEc Project, subscribe to its RSS feed for this item.
    as


    Cited by:

    1. Espoir, Delphin Kamanda & Mudiangombe, Benjamin & Bannor, Frank & Sunge, Regret & Mubenga Tshitaka, Jean-Luc, 2021. "Co2 emissions and economic growth: Assessing the heterogeneous effects across climate regimes in Africa," EconStor Preprints 235479, ZBW - Leibniz Information Centre for Economics.
    2. Adel Ben Youssef & Mounir Dahmani, 2024. "Assessing the Impact of Digitalization, Tax Revenues, and Energy Resource Capacity on Environmental Quality: Fresh Evidence from CS-ARDL in the EKC Framework," Sustainability, MDPI, vol. 16(2), pages 1-23, January.
    3. Huafang Huang & Sharafat Ali & Yasir Ahmed Solangi, 2023. "Analysis of the Impact of Economic Policy Uncertainty on Environmental Sustainability in Developed and Developing Economies," Sustainability, MDPI, vol. 15(7), pages 1-19, March.
    4. Ryan H. Murphy & Colin O’Reilly, 2023. "Freedom through taxation: the effect of fiscal capacity on the rule of law," European Journal of Law and Economics, Springer, vol. 56(1), pages 69-90, August.
    5. Tan, Qingmei & Yasmeen, Humaira & Ali, Sharafat & Ismail, Hina & Zameer, Hashim, 2023. "Fintech development, renewable energy consumption, government effectiveness and management of natural resources along the belt and road countries," Resources Policy, Elsevier, vol. 80(C).
    6. Thai-Ha Le & Canh Phuc Nguyen & Manh-Tien Bui, 2023. "Is Entrepreneurship the Key to Achieving Environmental Sustainability? A Data-Driven Analysis from the Asia-Pacific Region," Sustainability, MDPI, vol. 15(19), pages 1-19, October.
    7. Muntasir Murshed & Ilhan Ozturk & Avik Sinha & Mohammad Mahtab Alam, 2024. "Achieving environmental sustainability through renewable energy transition in the Next Eleven countries: the importance of establishing sound democratic governance," Economic Change and Restructuring, Springer, vol. 57(2), pages 1-24, April.
    8. Néstor Adrián Le Clech, 2023. "Productive capacity and international competitiveness: evidence from Latin America and Caribbean countries," Empirica, Springer;Austrian Institute for Economic Research;Austrian Economic Association, vol. 50(3), pages 695-724, August.
    9. Adolfo Maza & Paula Gutiérrez-Portilla, 2022. "Outward FDI and exports relation: A heterogeneous panel approach dealing with cross-sectional dependence," International Economics, CEPII research center, issue 170, pages 174-189.
    10. Le, Thai-Ha & Bui, Manh-Tien & Uddin, Gazi Salah, 2022. "Economic and social impacts of conflict: A cross-country analysis," Economic Modelling, Elsevier, vol. 115(C).
    11. Uçak Harun & Çelik Saliha & Kurt Hakan, 2023. "Land Resources and Agricultural Exports Nexus," Folia Oeconomica Stetinensia, Sciendo, vol. 23(1), pages 284-300, June.
    12. Liu, Xia, 2023. "Tourism development, environmental regulations, and natural resource management: Evidence from G20 countries," Resources Policy, Elsevier, vol. 86(PA).
    13. Huntington, Hillard & Liddle, Brantley, 2022. "How energy prices shape OECD economic growth: Panel evidence from multiple decades," Energy Economics, Elsevier, vol. 111(C).
    14. Espoir, Delphin Kamanda & Sunge, Regret & Bannor, Frank, 2021. "Economic growth and Co2 emissions: Evidence from heterogeneous panel of African countries using bootstrap Granger causality," EconStor Preprints 235141, ZBW - Leibniz Information Centre for Economics.
    15. Lu, Yin & Tian, Tian & Ge, Chen, 2023. "Asymmetric effects of renewable energy, fintech development, natural resources, and environmental regulations on the climate change in the post-covid era," Resources Policy, Elsevier, vol. 85(PB).
    16. Kuti Ayomide Oluwafunmisho & Aderogba Taiwo Adebusuyi & Ezenwa Ndubuisi Johnbosco & Quadri Rasheed Adegboyega, 2023. "Catalysts of Economic Welfare in Africa: A Cross-Sectional Autoregressive Distributed Lag Approach," Acta Universitatis Sapientiae, Economics and Business, Sciendo, vol. 11(1), pages 18-41, October.

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:tsj:stataj:v:21:y:2021:i:1:p:51-80. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Christopher F. Baum or Lisa Gilmore (email available below). General contact details of provider: http://www.stata-journal.com/ .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.