Various Versatile Variances: An Object-Oriented Implementation of Clustered Covariances in R
Author
Abstract
Suggested Citation
Download full text from publisher
References listed on IDEAS
- Thompson, Samuel B., 2011. "Simple formulas for standard errors that cluster by both firm and time," Journal of Financial Economics, Elsevier, vol. 99(1), pages 1-10, January.
- White,Halbert, 1996.
"Estimation, Inference and Specification Analysis,"
Cambridge Books,
Cambridge University Press, number 9780521574464.
- White,Halbert, 1994. "Estimation, Inference and Specification Analysis," Cambridge Books, Cambridge University Press, number 9780521252805, September.
- Zeileis, Achim & Kleiber, Christian & Jackman, Simon, 2008.
"Regression Models for Count Data in R,"
Journal of Statistical Software, Foundation for Open Access Statistics, vol. 27(i08).
- Jackman, Simon & Kleiber, Christian & Zeileis, Achim, 2007. "Regression Models for Count Data in R," Working papers 2007/24, Faculty of Business and Economics - University of Basel.
- Beck, Nathaniel & Katz, Jonathan N., 1995. "What To Do (and Not to Do) with Time-Series Cross-Section Data," American Political Science Review, Cambridge University Press, vol. 89(3), pages 634-647, September.
- John C. Driscoll & Aart C. Kraay, 1998. "Consistent Covariance Matrix Estimation With Spatially Dependent Panel Data," The Review of Economics and Statistics, MIT Press, vol. 80(4), pages 549-560, November.
- Green, Donald P. & Vavreck, Lynn, 2008. "Analysis of Cluster-Randomized Experiments: A Comparison of Alternative Estimation Approaches," Political Analysis, Cambridge University Press, vol. 16(2), pages 138-152, April.
- Cameron, A. Colin & Gelbach, Jonah B. & Miller, Douglas L., 2011.
"Robust Inference With Multiway Clustering,"
Journal of Business & Economic Statistics, American Statistical Association, vol. 29(2), pages 238-249.
- 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.
- A. Colin Cameron & Jonah B. Gelbach & Douglas L. Miller, 2006. "Robust Inference with Multi-way Clustering," NBER Technical Working Papers 0327, National Bureau of Economic Research, Inc.
- A. Colin Cameron & Douglas L. Miller, 2015. "A Practitioner’s Guide to Cluster-Robust Inference," Journal of Human Resources, University of Wisconsin Press, vol. 50(2), pages 317-372.
- Daniel Hoechle, 2007. "Robust standard errors for panel regressions with cross-sectional dependence," Stata Journal, StataCorp LP, vol. 7(3), pages 281-312, September.
- Whitney K. Newey & Kenneth D. West, 1994.
"Automatic Lag Selection in Covariance Matrix Estimation,"
The Review of Economic Studies, Review of Economic Studies Ltd, vol. 61(4), pages 631-653.
- Newey, W.K. & West, K.D., 1992. "Automatic Lag Selection in Covariance Matrix Estimation," Working papers 9220, Wisconsin Madison - Social Systems.
- Kenneth D. West & Whitney K. Newey, 1995. "Automatic Lag Selection in Covariance Matrix Estimation," NBER Technical Working Papers 0144, National Bureau of Economic Research, Inc.
- White, Halbert, 1980. "A Heteroskedasticity-Consistent Covariance Matrix Estimator and a Direct Test for Heteroskedasticity," Econometrica, Econometric Society, vol. 48(4), pages 817-838, May.
- ., 2013. "Defending the history of economic thought," Chapters, in: Defending the History of Economic Thought, chapter 5, pages 105-132, Edward Elgar Publishing.
- Susanne Berger & Herbert Stocker & Achim Zeileis, 2017.
"Innovation and institutional ownership revisited: an empirical investigation with count data models,"
Empirical Economics, Springer, vol. 52(4), pages 1675-1688, June.
- Susanne Berger & Herbert Stocker & Achim Zeileis, 2014. "Innovation and Institutional Ownership Revisited: An Empirical Investigation with Count Data Models," Working Papers 2014-24, Faculty of Economics and Statistics, Universität Innsbruck.
- Croissant, Yves & Millo, Giovanni, 2008.
"Panel Data Econometrics in R: The plm Package,"
Journal of Statistical Software, Foundation for Open Access Statistics, vol. 27(i02).
- Yves Croissant & Giovanni Millo, 2008. "Panel Data Econometrics in R : The plm Package," Post-Print hal-01245304, HAL.
- Bates, Douglas & Mächler, Martin & Bolker, Ben & Walker, Steve, 2015. "Fitting Linear Mixed-Effects Models Using lme4," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 67(i01).
- Croissant, Yves & Millo, Giovanni, 2008.
"Panel Data Econometrics in R: The plm Package,"
Journal of Statistical Software, Foundation for Open Access Statistics, vol. 27(i02).
- Yves Croissant & Giovanni Millo, 2008. "Panel Data Econometrics in R : The plm Package," Post-Print hal-01245304, HAL.
- Yves Croissant & Giovanni Millo, 2008. "Panel data econometrics in R: The plm package," Post-Print halshs-00323950, HAL.
- Mitchell A. Petersen, 2009.
"Estimating Standard Errors in Finance Panel Data Sets: Comparing Approaches,"
The Review of Financial Studies, Society for Financial Studies, vol. 22(1), pages 435-480, January.
- Mitchell A. Petersen, 2005. "Estimating Standard Errors in Finance Panel Data Sets: Comparing Approaches," NBER Working Papers 11280, National Bureau of Economic Research, Inc.
- Moulton, Brent R., 1986. "Random group effects and the precision of regression estimates," Journal of Econometrics, Elsevier, vol. 32(3), pages 385-397, August.
- Arceneaux, Kevin & Nickerson, David W., 2009. "Modeling Certainty with Clustered Data: A Comparison of Methods," Political Analysis, Cambridge University Press, vol. 17(2), pages 177-190, April.
- Millo, Giovanni, 2014. "Robust standard error estimators for panel models: a unifying approach," MPRA Paper 54954, University Library of Munich, Germany.
- Bailey, Delia & Katz, Jonathan N., 2011. "Implementing Panel-Corrected Standard Errors in R: The pcse Package," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 42(c01).
- Moulton, Brent R, 1990. "An Illustration of a Pitfall in Estimating the Effects of Aggregate Variables on Micro Unit," The Review of Economics and Statistics, MIT Press, vol. 72(2), pages 334-338, May.
Citations
Citations are extracted by the CitEc Project, subscribe to its RSS feed for this item.
Cited by:
- Aihounton, Ghislain & Henningsen, Arne & Trifkovic, Neda, 2021.
"Pesticide Handling and Human Health: Conventional and Organic Cotton Farming in Benin,"
2021 Conference, August 17-31, 2021, Virtual
315407, International Association of Agricultural Economists.
- Ghislain B. D. Aïhounton & Arne Henningsen & Neda Trifkovic, 2021. "Pesticide Handling and Human Health: Conventional and Organic Cotton Farming in Benin," IFRO Working Paper 2021/06, University of Copenhagen, Department of Food and Resource Economics.
- Henningsen, Geraldine & Wiese, Catharina, 2019. "Do Household Characteristics Really Matter? A Meta-Analysis on the Determinants of Households’ Energy-Efficiency Investments," MPRA Paper 101701, University Library of Munich, Germany.
- Aihounton, Ghislain & Henningsen, Arne, 2021. "Organic Farming and Food and Nutrition Security," 2021 Conference, August 17-31, 2021, Virtual 315413, International Association of Agricultural Economists.
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.- Millo, Giovanni, 2014. "Robust standard error estimators for panel models: a unifying approach," MPRA Paper 54954, University Library of Munich, Germany.
- A. Colin Cameron & Douglas L. Miller, 2010.
"Robust Inference with Clustered Data,"
Working Papers
106, University of California, Davis, Department of Economics.
- Colin Cameron, 2011. "Robust inference with clustered data," Mexican Stata Users' Group Meetings 2011 07, Stata Users Group.
- A. Colin Cameron & Douglas L. Miller, 2010. "Robust Inference with Clustered Data," Working Papers 107, University of California, Davis, Department of Economics.
- A. Colin Cameron & Douglas L. Miller, 2010.
"Robust Inference with Clustered Data,"
Working Papers
318, University of California, Davis, Department of Economics.
- Colin Cameron, 2011. "Robust inference with clustered data," Mexican Stata Users' Group Meetings 2011 07, Stata Users Group.
- A. Colin Cameron & Douglas L. Miller, 2010. "Robust Inference with Clustered Data," Working Papers 316, University of California, Davis, Department of Economics.
- James G. MacKinnon & Matthew D. Webb, 2020. "When and How to Deal with Clustered Errors in Regression Models," Working Paper 1421, Economics Department, Queen's University.
- Hansen, Bruce E. & Lee, Seojeong, 2019.
"Asymptotic theory for clustered samples,"
Journal of Econometrics, Elsevier, vol. 210(2), pages 268-290.
- Bruce E. Hansen & Seojeong Jay Lee, 2017. "Asymptotic Theory for Clustered Samples," Discussion Papers 2017-18, School of Economics, The University of New South Wales.
- Bruce E. Hansen & Seojeong Lee, 2019. "Asymptotic Theory for Clustered Samples," Papers 1902.01497, arXiv.org.
- Jushan Bai & Sung Hoon Choi & Yuan Liao, 2021.
"Feasible generalized least squares for panel data with cross-sectional and serial correlations,"
Empirical Economics, Springer, vol. 60(1), pages 309-326, January.
- Jushan Bai & Sung Hoon Choi & Yuan Liao, 2019. "Feasible Generalized Least Squares for Panel Data with Cross-sectional and Serial Correlations," Papers 1910.09004, arXiv.org, revised Aug 2020.
- Fratianni, Michele & Marchionne, Francesco, 2013.
"The fading stock market response to announcements of bank bailouts,"
Journal of Financial Stability, Elsevier, vol. 9(1), pages 69-89.
- Michele Fratianni & Francesco Marchionne, 2013. "The fading stock market response to announcements of bank bailouts," Mo.Fi.R. Working Papers 76, Money and Finance Research group (Mo.Fi.R.) - Univ. Politecnica Marche - Dept. Economic and Social Sciences.
- Faruk Balli & Syed Basher & Rosmy Jean Louis, 2012.
"Channels of risk-sharing among Canadian provinces: 1961–2006,"
Empirical Economics, Springer, vol. 43(2), pages 763-787, October.
- Basher, Syed A. & Balli, Faruk & Louis, Rosmy, 2009. "Channels of risk-sharing among Canadian provinces: 1961–2006," MPRA Paper 17300, University Library of Munich, Germany.
- Balli, Faruk & Basher, Syed Abul & Jean Louis, Rosmy, 2011. "Channels of risk-sharing among Canadian provinces: 1961--2006," MPRA Paper 30876, University Library of Munich, Germany.
- Bai, Jushan & Choi, Sung Hoon & Liao, Yuan, 2024.
"Standard errors for panel data models with unknown clusters,"
Journal of Econometrics, Elsevier, vol. 240(2).
- Jushan Bai & Sung Hoon Choi & Yuan Liao, 2019. "Standard Errors for Panel Data Models with Unknown Clusters," Papers 1910.07406, arXiv.org, revised May 2020.
- MacKinnon, James G. & Nielsen, Morten Ørregaard & Webb, Matthew D., 2023.
"Cluster-robust inference: A guide to empirical practice,"
Journal of Econometrics, Elsevier, vol. 232(2), pages 272-299.
- Matthew D. Webb & James MacKinnon & Morten Nielsen, 2021. "Cluster–robust inference: A guide to empirical practice," Economics Virtual Symposium 2021 6, Stata Users Group.
- James MacKinnon & Morten Ørregaard Nielsen, 2022. "Cluster-Robust Inference: A Guide to Empirical Practice," CREATES Research Papers 2022-08, Department of Economics and Business Economics, Aarhus University.
- James G. MacKinnon & Morten {O}rregaard Nielsen & Matthew D. Webb, 2022. "Cluster-Robust Inference: A Guide to Empirical Practice," Papers 2205.03285, arXiv.org.
- James G. MacKinnon & Morten Ørregaard Nielsen & Matthew D. Webb, 2022. "Cluster-Robust Inference: A Guide to Empirical Practice," Working Paper 1456, Economics Department, Queen's University.
- Kim, Min Seong & Sun, Yixiao, 2013.
"Heteroskedasticity and spatiotemporal dependence robust inference for linear panel models with fixed effects,"
Journal of Econometrics, Elsevier, vol. 177(1), pages 85-108.
- Min Seong Kim & Yixiao Sun, 2011. "Heteroskedasticity and Spatiotemporal Dependence Robust Inference for Linear Panel Models with Fixed Effects," Working Papers 029, Toronto Metropolitan University, Department of Economics.
- A. Colin Cameron & Douglas L. Miller, 2015. "A Practitioner’s Guide to Cluster-Robust Inference," Journal of Human Resources, University of Wisconsin Press, vol. 50(2), pages 317-372.
- Phetkeo Poumanyvong & Shinji Kaneko & Shobhakar Dhakal, 2012. "Impacts of urbanization on national residential energy use and CO2 emissions: Evidence from low-, middle- and high-income countries," IDEC DP2 Series 2-5, Hiroshima University, Graduate School for International Development and Cooperation (IDEC).
- Elif Guneren Genc & Ozlem Deniz Basar, 2017. "The Impact of OECD Countries¡¯ Macroeconomic Factors on Turkey¡¯s Foreign Trade," Research in World Economy, Research in World Economy, Sciedu Press, vol. 8(1), pages 24-36, June.
- Sarmiento-Sabogal, Julio & Sadeghi, Mehdi, 2014. "Unlevered betas and the cost of equity capital: An empirical approach," The North American Journal of Economics and Finance, Elsevier, vol. 30(C), pages 90-105.
- Timothy Conley & Silvia Gonçalves & Christian Hansen, 2018. "Inference with Dependent Data in Accounting and Finance Applications," Journal of Accounting Research, Wiley Blackwell, vol. 56(4), pages 1139-1203, September.
- Ricardo Duque Gabriel, 2020. "Who should you vote for? Empirical evidence from Portuguese local governments," Portuguese Economic Journal, Springer;Instituto Superior de Economia e Gestao, vol. 19(1), pages 5-31, January.
- 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.
- Rok Spruk & Mitja Kovac, 2018. "Inefficient Growth," Review of Economics and Institutions, Università di Perugia, vol. 9(2).
- Klishchuk Bogdan & Zelenyuk Valentin, 2012. "Impact of Services LIberalization on Firm Level Productivity in Eastern Europe and Central Asia," EERC Working Paper Series 12/03e, EERC Research Network, Russia and CIS.
More about this item
Keywords
clustered data; clustered covariance matrix estimators; object orientation; simulation; R;All these keywords.
JEL classification:
- C12 - Mathematical and Quantitative Methods - - Econometric and Statistical Methods and Methodology: General - - - Hypothesis Testing: General
- C52 - Mathematical and Quantitative Methods - - Econometric Modeling - - - Model Evaluation, Validation, and Selection
- C87 - Mathematical and Quantitative Methods - - Data Collection and Data Estimation Methodology; Computer Programs - - - Econometric Software
NEP fields
This paper has been announced in the following NEP Reports:- NEP-ECM-2017-08-06 (Econometrics)
- NEP-ORE-2017-08-06 (Operations Research)
Statistics
Access and download statisticsCorrections
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:inn:wpaper:2017-12. 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: Janette Walde (email available below). General contact details of provider: https://edirc.repec.org/data/fuibkat.html .
Please note that corrections may take a couple of weeks to filter through the various RePEc services.