IDEAS home Printed from https://ideas.repec.org/c/boc/bocode/s458286.html
 

PCPANEL: Stata module to perform power calculations for randomized experiments with panel data, allowing for arbitrary serial correlation

Author

Listed:
  • Fiona Burlig

    (University of California, Berkeley)

  • Louis Preonas

    (University of Maryland)

  • Matt Woerman

    (University of California, Berkeley)

Programming Language

Stata

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_dd_covar" to estimate the variance-covariance structure from pre-existing data.

Suggested Citation

  • Fiona Burlig & Louis Preonas & Matt Woerman, 2017. "PCPANEL: Stata module to perform power calculations for randomized experiments with panel data, allowing for arbitrary serial correlation," Statistical Software Components S458286, Boston College Department of Economics, revised 14 Nov 2021.
  • Handle: RePEc:boc:bocode:s458286
    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.
    as

    Download full text from publisher

    File URL: http://fmwww.bc.edu/repec/bocode/p/pc_dd_analytic.ado
    File Function: program code
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/p/pc_dd_analytic.sthlp
    File Function: help file
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/p/pc_dd_covar.ado
    File Function: program code
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/p/pc_dd_covar.sthlp
    File Function: help file
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/p/pc_simulate.ado
    File Function: program code
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/p/pc_simulate.sthlp
    File Function: help file
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/p/pcpanel.sthlp
    File Function: help file
    Download Restriction: no
    ---><---

    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:boc:bocode:s458286. 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.

    We have no bibliographic references for this item. You can help adding them by using 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: https://edirc.repec.org/data/debocus.html .

    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.