PCPANEL: Stata module to perform power calculations for randomized experiments with panel data, allowing for arbitrary serial correlation
Fiona Burlig (),
Louis Preonas () and
Matt Woerman ()
Additional contact information
Matt Woerman: University of California, Berkeley
Statistical Software Components from Boston College Department of Economics
This package performs power calculations for randomized experiments with panel data. Unlike the existing programs "sampsi" and "power", this package accommodates arbitrary serial correlation. The program "pc_simulate" performs simulation-based power calculations using a pre-existing dataset (stored in memory), and accommodates cross-sectional, multi-wave panel, difference-in-differences, and ANCOVA designs. The program "pc_dd_analytic" performs analytical power calculations for a difference-in-differences experimental design, applying the formula derived in Burlig, Preonas, and Woerman (2017) that is robust to serial correlation. Users may either input parameters to characterize the assumed variance-covariance structure of the outcome variable, or allow the subprogram "pc_dd_covar" to estimate the variance-covariance structure from pre-existing data.
Requires: Stata version 9
Keywords: power calculations; panel data; experimental design; sample size (search for similar items in EconPapers)
Date: 2017-01-03, Revised 2020-09-18
Note: This module should be installed from within Stata by typing "ssc install pcpanel". The module is made available under terms of the GPL v3 (https://www.gnu.org/licenses/gpl-3.0.txt). Windows users should not attempt to download these files with a web browser.
References: Add references at CitEc
Citations: Track citations by RSS feed
Downloads: (external link)
http://fmwww.bc.edu/repec/bocode/p/pc_dd_analytic.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/p/pc_dd_analytic.sthlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/p/pc_dd_covar.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/p/pc_dd_covar.sthlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/p/pc_simulate.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/p/pc_simulate.sthlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/p/pcpanel.sthlp help file (text/plain)
This item may be available elsewhere in EconPapers: Search for items with the same title.
Export reference: BibTeX
RIS (EndNote, ProCite, RefMan)
Persistent link: https://EconPapers.repec.org/RePEc:boc:bocode:s458286
Ordering information: This software item can be ordered from
Access Statistics for this software item
More software in Statistical Software Components from Boston College Department of Economics Boston College, 140 Commonwealth Avenue, Chestnut Hill MA 02467 USA. Contact information at EDIRC.
Bibliographic data for series maintained by Christopher F Baum ().