This component contains materials necessary to execute the power analysis performed prior to data collection. The power analysis was executed through a high-throughput cluster provided by the University of Wisconsin-Madison Center for High-Throughput Computing (https://chtc.cs.wisc.edu).
- `create_conditions.R` contains an R file used to create a table of power simulation parameters that went into the power analysis. This file creates ...
- `conditions.csv`, a table of power simulation parameters. Each row of this table constitutes one set of conditions investigated in the power simulation
- `psacr002_power.R` is a file designed to run on a single computer with a single "job" (set of power simulation parameters, as represented by a single row of `conditions.csv`). This file is sent out to a large number of computers in the high throughput cluster by ...
- `psacr002_power.sub`. Along with `psacr002_power.R`, this file also sends each computer a single row from `conditions.csv` so that the computer knows the combination of simulation parameters to run. Each computer then runs `psacr002_power.R` on an R instance and saves out a set of results. These results are aggregated by ...
- `check_sims.R`, which creates a graph and an unformatted summary of the results, which is called `psacr002_sim_results.csv`. A nicely-formatted version of this is saved as ...
- `PSACR002 power simulation.xlsx`, which contains the simulation-estimated power and the simulation parameters that correspond to each power estimate