Published by the Foundation for Open Access Statistics Editors-in-chief: Bettina Grün, Torsten Hothorn, Rebecca Killick, Edzer Pebesma, Achim Zeileis    ISSN 1548-7660; CODEN JSSOBK
Authors: Delia Bailey, Jonathan N. Katz
Title: Implementing Panel-Corrected Standard Errors in R: The pcse Package
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.

Page views:: 6362. Submitted: 2007-01-22. Published: 2011-06-14.
Paper: Implementing Panel-Corrected Standard Errors in R: The pcse Package     Download PDF (Downloads: 4967)
pcse_1.8.tar.gz: R source package Download (Downloads: 1069; 350KB)
v42c01.R: R replication code from the paper Download (Downloads: 1180; 1KB)

DOI: 10.18637/jss.v042.c01

This work is licensed under the licenses
Paper: Creative Commons Attribution 3.0 Unported License
Code: GNU General Public License (at least one of version 2 or version 3) or a GPL-compatible license.