Methods Workshop WS 2025/26: Power simulations
================
January, 21-22, 2026

## Schedule

| Day | Time        | Topic                                                                                                              | Exercises                                                                                                                         |
|:----|:------------|:-------------------------------------------------------------------------------------------------------------------|:----------------------------------------------------------------------------------------------------------------------------------|
| Wed | 9:00–10:30  | [Simulation-based power analysis](01_intro/powersim-intro.pdf)                                                     | [Binomial test power simulation](01_intro/exercises.md)                                                                           |
|     | 10:45–12:00 | [Power (curves) for t-tests](02_ttest/powersim-ttest.md)                                                           | [Temporal value asymmetry](02_ttest/exercises-ttest1.md), [Directed reading activities](02_ttest/exercises-ttest2.md)             |
|     | 12:45–14:00 | [Power for ANOVAs](03_anova/powersim-anova.md)                                                                     | [Testing the interaction in two-by-two ANOVA](03_anova/exercises-anova.md)                                                        |
| Thu | 9:00–10:30  | [Power for baseline/follow-up measurements](04_ancova/intro-ancova.pdf)                                            | [Shoulder pain and acupuncture](04_ancova/exercises-ancova1.md), [MASS anorexia data](04_ancova/exercises-ancova2.md)             |
|     | 10:45–12:00 | [Introduction to LMMs](05_mixed1/intro-lmm.pdf), [Power for longitudinal data analysis](05_mixed1/powersim-lmm.md) | [Risperidone vs. haloperidol and schizophrenia](05_mixed1/exercises-pwrlmm.md)                                                    |
|     | 12:45–14:00 | [Data simulation for crossed random-effects models](06_mixed2/intro-datsimlmm.pdf)                                 | [Data simulation for crossed random-effects models](06_mixed2/exercises-datsimlmm.md), [Physical healing](06_mixed2/exercises.md) |

## Content

- Power and the significance filter
- Simulation-based power analysis with R
- Drawing power curves
- Power for t-tests, ANOVA, ANCOVA, and mixed-effects models

## Prerequisites

- Introductory knowledge of statistics
- Basic knowledge of R

## Software

Participants will need to have installed:

- A current R version (<https://CRAN.R-project.org/>)
- An IDE for R (like RStudio or VSCode) or a text editor with syntax
  highlighting (like Vim or Notepad++)
- Additional R package:
  - lme4: <https://CRAN.R-project.org/package=lme4>

## Literature

<div id="refs" class="references csl-bib-body hanging-indent">

<div id="ref-Wickelmaier22" class="csl-entry">

Wickelmaier, F. 2022. “Simulating the Power of Statistical Tests: A
Collection of R Examples.” *ArXiv*.
<https://doi.org/10.48550/arXiv.2110.09836>.

</div>

</div>
