IDEAS home Printed from https://ideas.repec.org/p/dur/durham/2017_01.html

vce2way: A one-stop solution for two-way clustered standard errors

Author

Listed:
  • Hong Il Yoo

    (Durham Business School)

Abstract

Using ereturn repost, it is possible to write a simple eclass program which adjusts an existing command’s standard errors for two-way clustering. This approach works with any command which allows vce(cluster varname) as an option, and the results are compatible with the command’s postestimation tools making use of e(V). A new command vce2way automates this approach.

Suggested Citation

  • Hong Il Yoo, 2017. "vce2way: A one-stop solution for two-way clustered standard errors," Department of Economics Working Papers 2017_01, Durham University, Department of Economics.
  • Handle: RePEc:dur:durham:2017_01
    as

    Download full text from publisher

    File URL: https://www.durham.ac.uk/business/media/durham-university-business-school/about-us/departments/economics/working-papers/2017/EconWP17_01.pdf
    File Function: main text
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. A. Colin Cameron & Jonah B. Gelbach & Douglas L. Miller, 2011. "Robust Inference With Multiway Clustering," Journal of Business & Economic Statistics, Taylor & Francis Journals, vol. 29(2), pages 238-249, April.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Yang Yang & Teng Huang & Tianjun Liu, 2024. "Do place‐based policies impact residents’ nutrient intake? Evidence from China," Agricultural Economics, International Association of Agricultural Economists, vol. 55(5), pages 871-894, September.
    2. Nicola Campigotto & Chiara Rapallini & Aldo Rustichini, 2022. "School friendship networks, homophily and multiculturalism: evidence from European countries," Journal of Population Economics, Springer;European Society for Population Economics, vol. 35(4), pages 1687-1722, October.
    3. Lisandra Flach & Fabian Gräf, 2020. "The impact of trade agreements on world export prices," Review of International Economics, Wiley Blackwell, vol. 28(1), pages 168-208, February.
    4. Lindo, Jason M. & Padilla-Romo, María, 2018. "Kingpin approaches to fighting crime and community violence: Evidence from Mexico's drug war," Journal of Health Economics, Elsevier, vol. 58(C), pages 253-268.
    5. Edmonds, Christopher T. & Edmonds, Jennifer E. & Fu, Richard & Jenkins, David S., 2018. "Price momentum and the premium for meeting or beating analysts' forecasts of earnings," Advances in accounting, Elsevier, vol. 42(C), pages 34-47.
    6. Seiffert, Sebastian, 2015. "The Role of Economic Geography in Subnational African Development," VfS Annual Conference 2015 (Muenster): Economic Development - Theory and Policy 113186, Verein für Socialpolitik / German Economic Association.
    7. Claudia Buch & Catherine Koch & Michael Koetter, 2016. "Crises and rescues: liquidity transmission through international banks," BIS Working Papers 576, Bank for International Settlements.
    8. Qi, Yu & Zhang, Jianshun & Chen, Jianwei, 2023. "Tax incentives, environmental regulation and firms’ emission reduction strategies: Evidence from China," Journal of Environmental Economics and Management, Elsevier, vol. 117(C).
    9. Brülhart, Marius & Parchet, Raphaël, 2014. "Alleged tax competition: The mysterious death of bequest taxes in Switzerland," Journal of Public Economics, Elsevier, vol. 111(C), pages 63-78.
    10. Fatih Karahan & Serena Rhee, 2014. "Population aging, migration spillovers, and the decline in interstate migration," Staff Reports 699, Federal Reserve Bank of New York.
    11. Yue Zhao & Difang Wan, 2018. "Institutional high frequency trading and price discovery: Evidence from an emerging commodity futures market," Journal of Futures Markets, John Wiley & Sons, Ltd., vol. 38(2), pages 243-270, February.
    12. Paton, David & Wright, Liam, 2017. "The effect of spending cuts on teen pregnancy," Journal of Health Economics, Elsevier, vol. 54(C), pages 135-146.
    13. Leon Zolotoy & Don O’Sullivan & Keke Song, 2021. "The Role of Ethical Standards in the Relationship Between Religious Social Norms and M&A Announcement Returns," Journal of Business Ethics, Springer, vol. 170(4), pages 721-742, May.
    14. Christopher L. Foote, 2007. "Space and time in macroeconomic panel data: young workers and state-level unemployment revisited," Working Papers 07-10, Federal Reserve Bank of Boston.
    15. Michael Nippa & Sanjay Patnaik & Markus Taussig, 2021. "MNE responses to carbon pricing regulations: Theory and evidence," Journal of International Business Studies, Palgrave Macmillan;Academy of International Business, vol. 52(5), pages 904-929, July.
    16. Knox, George & Datta, Hannes, 2020. "Streaming Services and the Homogenization of Music Consumption," Other publications TiSEM 0e4d6202-dcc5-4834-ba93-a, Tilburg University, School of Economics and Management.
    17. Corinna Ghirelli & Danilo Leiva-León & Alberto Urtasun, 2023. "Housing prices in Spain: convergence or decoupling?," SERIEs: Journal of the Spanish Economic Association, Springer;Spanish Economic Association, vol. 14(2), pages 165-187, June.
    18. Kai Gehring & Sarah Langlotz & Stefan Kienberger, 2025. "Stimulant or Depressant? Resource-Related Income Shocks and Conflict," The Review of Economics and Statistics, MIT Press, vol. 107(6), pages 1518-1536, November.
    19. Rute M. Caeiro & Pedro C. Vicente, 2020. "Knowledge of vitamin A deficiency and crop adoption: Evidence from a field experiment in Mozambique," Agricultural Economics, International Association of Agricultural Economists, vol. 51(2), pages 175-190, March.
    20. Weidner, Martin & Zylkin, Thomas, 2021. "Bias and consistency in three-way gravity models," Journal of International Economics, Elsevier, vol. 132(C).

    More about this item

    Keywords

    ;
    ;
    ;
    ;
    ;
    ;

    NEP fields

    This paper has been announced in the following NEP Reports:

    Statistics

    Access and download statistics

    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:dur:durham:2017_01. 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.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with 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: Tatiana Damjanovic (email available below). General contact details of provider: https://edirc.repec.org/data/deduruk.html .

    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.