Study design and power via simulations#

The question and the claim#

Simulation evaluates the operating characteristics of a specified design and analysis under explicit assumptions. Power, false-positive rate, interval coverage, bias, and precision are different quantities. Simulation uncertainty must also be reported.

What you should be able to do#

  • Specify the scientific target and the observations needed to address it.

  • Choose plausible parameter ranges, record failed fits, and report Monte Carlo standard errors alongside a sample-size recommendation.

  • Explain the assumptions, uncertainty, and limits of your conclusion.

Worked investigation#

Estimate power and coverage together over a sample-size grid; run null scenarios and compare increasing participants with increasing trials. The worked notebook is self-contained and uses documented teaching data. Its output is evidence about that example, not a finding about a human population.

Challenge the result#

More simulation repetitions improve Monte Carlo precision, not the truth of the assumed data-generating process. A BIC selection rule is not automatically a test at a stated alpha. Before running an analysis, predict what this failure would change. After running it, distinguish a software check from a scientific justification.

Practice and verification#

Complete the exercise, then discuss the interpretation questions. Submit a runnable notebook, your assumptions, and a short evidence-based interpretation. The shared analysis workflow defines the reporting and assessment standard.

For AI assistance, first write your own target and expected behavior. Use generated suggestions as candidates, inspect the code or claims, and retain evidence of the checks you performed. The AI analysis guide includes a saved-output activity that requires no account or paid service.

Connection across lessons#

Build on explicit generative assumptions and uncertainty; next examine how model search changes evaluation.

Earlier lecture resources#

The recordings and slides below are retained from the earlier course edition and have not been revised. Use the written chapter, revised notebook, and exercise for current definitions and procedures; earlier examples may conflict with the corrections described here.

Required readings#

Beaujean, A. A. (2014). Sample size determination for regression models using Monte Carlo methods in R. Practical Assessment, Research, and Evaluation, 19(1), 12.

Lecture (Video)#

Power analysis via simulations

Slides (PDF)#

Power analysis via simulations