IDEAS home Printed from https://ideas.repec.org/a/jss/jstsof/v042c01.html
   My bibliography  Save this article

Implementing Panel-Corrected Standard Errors in R: The pcse Package

Author

Listed:
  • Bailey, Delia
  • Katz, Jonathan N.

Abstract

Time-series - cross-section (TSCS) data are characterized by having repeated observations over time on some set of units, such as states or nations. TSCS data typically display both contemporaneous correlation across units and unit level heteroskedasity making inference from standard errors produced by ordinary least squares incorrect. Panel-corrected standard errors (PCSE) account for these these deviations from spherical errors and allow for better inference from linear models estimated from TSCS data. In this paper, we discuss an implementation of them in the R system for statistical computing. The key computational issue is how to handle unbalanced data.

Suggested Citation

  • 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).
  • Handle: RePEc:jss:jstsof:v:042:c01
    DOI: http://hdl.handle.net/10.18637/jss.v042.c01
    as

    Download full text from publisher

    File URL: https://www.jstatsoft.org/index.php/jss/article/view/v042c01/v42c01.pdf
    Download Restriction: no

    File URL: https://www.jstatsoft.org/index.php/jss/article/downloadSuppFile/v042c01/pcse_1.8.tar.gz
    Download Restriction: no

    File URL: https://www.jstatsoft.org/index.php/jss/article/downloadSuppFile/v042c01/v42c01.R
    Download Restriction: no

    File URL: https://libkey.io/http://hdl.handle.net/10.18637/jss.v042.c01?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
    ---><---

    References listed on IDEAS

    as
    1. Zeileis, Achim, 2004. "Econometric Computing with HC and HAC Covariance Matrix Estimators," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 11(i10).
    2. Henningsen, Arne & Hamann, Jeff D., 2007. "systemfit: A Package for Estimating Systems of Simultaneous Equations in R," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 23(i04).
    3. MacKinnon, James G. & White, Halbert, 1985. "Some heteroskedasticity-consistent covariance matrix estimators with improved finite sample properties," Journal of Econometrics, Elsevier, vol. 29(3), pages 305-325, September.
    4. 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).
    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. Kleiber Christian & Zeileis Achim, 2010. "The Grunfeld Data at 50," German Economic Review, De Gruyter, vol. 11(4), pages 404-417, December.
    2. Zeileis, Achim & Koenker, Roger, 2008. "Econometrics in R: Past, Present, and Future," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 27(i01).
    3. Christian Kleiber & Achim Zeileis, 2010. "The Grunfeld Data at 50," German Economic Review, Verein für Socialpolitik, vol. 11(4), pages 404-417, November.
    4. Millo, Giovanni, 2014. "Robust standard error estimators for panel models: a unifying approach," MPRA Paper 54954, University Library of Munich, Germany.
    5. Sviták, Jan & Tichem, Jan & Haasbeek, Stefan, 2021. "Price effects of search advertising restrictions," International Journal of Industrial Organization, Elsevier, vol. 77(C).
    6. Cheng, Tsung-Chi, 2012. "On simultaneously identifying outliers and heteroscedasticity without specific form," Computational Statistics & Data Analysis, Elsevier, vol. 56(7), pages 2258-2272.
    7. Hasler Mario, 2013. "Multiple Contrasts for Repeated Measures," The International Journal of Biostatistics, De Gruyter, vol. 9(1), pages 1-13, July.
    8. Vinícius B. P. Chagas & Pedro L. B. Chaffe & Günter Blöschl, 2022. "Climate and land management accelerate the Brazilian water cycle," Nature Communications, Nature, vol. 13(1), pages 1-10, December.
    9. Mario Hasler, 2016. "Heteroscedasticity: multiple degrees of freedom vs. sandwich estimation," Statistical Papers, Springer, vol. 57(1), pages 55-68, March.
    10. repec:jss:jstsof:42:c01 is not listed on IDEAS
    11. Miomir Jovanović & Ljiljana Kašćelan & Aleksandra Despotović & Vladimir Kašćelan, 2015. "The Impact of Agro-Economic Factors on GHG Emissions: Evidence from European Developing and Advanced Economies," Sustainability, MDPI, vol. 7(12), pages 1-21, December.
    12. Romano, Joseph P. & Wolf, Michael, 2017. "Resurrecting weighted least squares," Journal of Econometrics, Elsevier, vol. 197(1), pages 1-19.
    13. Abbasiharofteh, Milad & Kogler, Dieter F. & Lengyel, Balázs, 2023. "Atypical combinations of technologies in regional co-inventor networks," EconStor Open Access Articles and Book Chapters, ZBW - Leibniz Information Centre for Economics, vol. 52(10), pages 1-1.
    14. Michael O'Hara & Christopher F. Parmeter, 2013. "Nonparametric Generalized Least Squares in Applied Regression Analysis," Pacific Economic Review, Wiley Blackwell, vol. 18(4), pages 456-474, October.
    15. Morawetz, Ulrich B. & De Groote, Hugo & Kimenju, Simon Chege, 2011. "Improving the Use of Experimental Auctions in Africa: Theory and Evidence," Journal of Agricultural and Resource Economics, Western Agricultural Economics Association, vol. 36(2), pages 1-17, August.
    16. repec:jss:jstsof:27:i02 is not listed on IDEAS
    17. 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.
    18. Ding, Peng, 2021. "The Frisch–Waugh–Lovell theorem for standard errors," Statistics & Probability Letters, Elsevier, vol. 168(C).
    19. Sakari Lähdemäki, 2017. "Traditional convergence tests with Penn World Table 9.0," Working Papers 309, Työn ja talouden tutkimus LABORE, The Labour Institute for Economic Research LABORE.
    20. 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).
    21. Yulia I. Pyzheva & Evgeniya V. Zander & Anton I. Pyzhev, 2021. "Impacts of Energy Efficiency and Economic Growth on Air Pollutant Emissions: Evidence from Angara–Yenisey Siberia," Energies, MDPI, vol. 14(19), pages 1-10, September.
    22. Hartigan, Luke, 2018. "Alternative HAC covariance matrix estimators with improved finite sample properties," Computational Statistics & Data Analysis, Elsevier, vol. 119(C), pages 55-73.

    More about this item

    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:jss:jstsof:v:042:c01. 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: Christopher F. Baum (email available below). General contact details of provider: http://www.jstatsoft.org/ .

    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.