Implementing Panel-Corrected Standard Errors in R: The pcse Package
View Researcher's Other CodesDisclaimer: The provided code links for this paper are external links. Science Nest has no responsibility for the accuracy, legality or content of these links. Also, by downloading this code(s), you agree to comply with the terms of use as set out by the author(s) of the code(s).
Authors | Delia Bailey, Jonathan Ned Katz |
Journal/Conference Name | Journal of Statistical Software, Code Snippets |
Paper Category | Other |
Paper 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. |
Date of publication | 2011 |
Code Programming Language | R |
Comment |