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
Statistical Software Components from Boston College Department of Economics
Abstract:
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_ddFile-URL: http://fmwww.bc.edu/repec/bocode/_/covar" to estimate the variance-covariance structure from pre-existing data.
Language: Stata
Requires: Stata version 9
Keywords: power calculations; panel data; experimental design; sample size (search for similar items in EconPapers)
Date: 2017-01-03, Revised 2021-11-14
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:
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_ddFile-URL:h ... c/bocode/_/covar.ado program code (text/plain)
Our link check indicates that this URL is bad, the error code is: 404 Not Found
http://fmwww.bc.edu/repec/bocode/p/pc_ddFile-URL:h ... bocode/_/covar.sthlp help file (text/plain)
Our link check indicates that this URL is bad, the error code is: 404 Not Found
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)
Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.
Export reference: BibTeX
RIS (EndNote, ProCite, RefMan)
HTML/Text
Persistent link: https://EconPapers.repec.org/RePEc:boc:bocode:s458286
Ordering information: This software item can be ordered from
http://repec.org/docs/ssc.php
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 ().