IDEAS home Printed from https://ideas.repec.org/p/dur/durham/2017_01.html
   My bibliography  Save this paper

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," Working Papers 2017_01, Durham University Business School.
  • Handle: RePEc:dur:durham:2017_01
    as

    Download full text from publisher

    File URL: https://www.dur.ac.uk/resources/business/working-papers/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. 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.
    2. 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.
    3. Claudia Buch & Catherine Koch & Michael Koetter, 2016. "Crises and rescues: liquidity transmission through international banks," BIS Working Papers 576, Bank for International Settlements.
    4. 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.
    5. 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.
    6. 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.
    7. Francis,David C. & Kubinec ,Robert, 2022. "Beyond Political Connections : A Measurement Model Approach to Estimating Firm-levelPolitical Influence in 41 Economies," Policy Research Working Paper Series 10119, The World Bank.
    8. Anil Kumar, 2018. "Do Restrictions on Home Equity Extraction Contribute to Lower Mortgage Defaults? Evidence from a Policy Discontinuity at the Texas Border," American Economic Journal: Economic Policy, American Economic Association, vol. 10(1), pages 268-297, February.
    9. Angrisani Marco & Guarino Antonio & Huck Steffen & Larson Nathan C, 2011. "No-Trade in the Laboratory," The B.E. Journal of Theoretical Economics, De Gruyter, vol. 11(1), pages 1-58, April.
    10. Alfredo Burlando & Anca D. Cristea & Logan M. Lee, 2015. "The Trade Consequences of Maritime Insecurity: Evidence from Somali Piracy," Review of International Economics, Wiley Blackwell, vol. 23(3), pages 525-557, August.
    11. Andrea Orame, 2020. "The role of bank supply in the Italian credit market: evidence from a new regional survey," Temi di discussione (Economic working papers) 1279, Bank of Italy, Economic Research and International Relations Area.
    12. Raghuram Rajan & Rodney Ramcharan, 2015. "The Anatomy of a Credit Crisis: The Boom and Bust in Farm Land Prices in the United States in the 1920s," American Economic Review, American Economic Association, vol. 105(4), pages 1439-1477, April.
    13. Adamopoulou, Effrosyni & Olivieri, Elisabetta & Triviza, Eleftheria, 2023. "Eating habits, food consumption, and health: The role of early life experiences," ZEW Discussion Papers 23-054, ZEW - Leibniz Centre for European Economic Research.
    14. Carvalho, Augusto & Guimaraes, Bernardo, 2018. "State-controlled companies and political risk: Evidence from the 2014 Brazilian election," Journal of Public Economics, Elsevier, vol. 159(C), pages 66-78.
    15. Edoardo Bressanelli & Christel Koop & Christine Reh, 2016. "The impact of informalisation: Early agreements and voting cohesion in the European Parliament," European Union Politics, , vol. 17(1), pages 91-113, March.
    16. Cemal Eren Arbath & Quamral H. Ashraf & Oded Galor & Marc Klemp, 2018. "Diversity and Conflict," Working Papers 2018-6, Brown University, Department of Economics.
    17. Köppl–Turyna, Monika & Pitlik, Hans, 2018. "Do equalization payments affect subnational borrowing? Evidence from regression discontinuity," European Journal of Political Economy, Elsevier, vol. 53(C), pages 84-108.
    18. Merima Ali & Odd-Helge Fjeldstad & Boqian Jiang & Abdulaziz B Shifa, 2019. "Colonial Legacy, State-building and the Salience of Ethnicity in Sub-Saharan Africa," The Economic Journal, Royal Economic Society, vol. 129(619), pages 1048-1081.
    19. Galletta, Sergio & Jametti, Mario, 2015. "How to tame two Leviathans? Revisiting the effect of direct democracy on local public expenditure in a federation," European Journal of Political Economy, Elsevier, vol. 39(C), pages 82-93.
    20. Calomiris, Charles W. & Larrain, Mauricio & Schmukler, Sergio L., 2021. "Capital inflows, equity issuance activity, and corporate investment," Journal of Financial Intermediation, Elsevier, vol. 46(C).

    More about this item

    Keywords

    st0001; vce2way; ivreg2; cmgreg; two-way clustering; robust inference;
    All these 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: IT Office (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.