EconPapers    
Economics at your fingertips  
 

IPDPOWER: Stata module to perform simulation based power calculations for mixed effects modelling

Evangelos Kontopantelis ()
Additional contact information
Evangelos Kontopantelis: Faculty of Medicine, University of Manchester

Statistical Software Components from Boston College Department of Economics

Abstract: ipdpower is a simulations-based command that calculates power for complex mixed effects two-level data structures. The command was developed having individual patient data meta-analyses in mind, where patients are nested within studies, but the methods apply to any two-level structure (say patients within general practices in a primary care database). The command proceeds in two steps. First, it generates the outcome data according to the specified coefficients for the intercept, the exposure (intervention), the covariate and the exposure-covariate interaction and the outcome can be continuous, binary or count data (selected using outc(#). Second, it uses regression modelling (selected using model(#) to return average model fit statistics, power and coverage calculations. Power indicates the percentage of iterations in which a model coefficient was found to be statistically significant and of the same direction as the hypothesised. Coverage indicates the percentage of confidence intervals that include the true coefficient and should correspond to the hypothesised alpha level. Binomial confidence intervals using the cii command are calculated for both power and coverage.

Language: Stata
Requires: Stata version 12
Keywords: power; simulation; mixed effects models; meta-analysis (search for similar items in EconPapers)
Date: 2015-02-02, Revised 2018-11-08
Note: This module should be installed from within Stata by typing "ssc install ipdpower". 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/i/ipdpower.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/i/ipdpower.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:s457959

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 ().

 
Page updated 2025-03-30
Handle: RePEc:boc:bocode:s457959