Simulation for Power Analysis

Author

Dr. Joscelin Rocha-Hidalgo

Published

December 20, 2021

Buy me a coffeeBuy me a coffee


by Nick Huntington-Klein

Excerpt from site: In this document we’ll talk about power analysis in general and how it’s done, and then we’ll go into how to perform a power analysis using simulation in R, making use of tools from the tidyverse.

  1. Link to documentation here: https://nickch-k.github.io/EconometricsSlides/Week_08/Power_Simulations.html

Line graph showing statistical power (Y-axis) as a function of sample size (X-axis). The red line increases steeply from about 65% power at a sample size of 50 to nearly 100% at 300, then plateaus. A dashed horizontal line marks the 90% power threshold.

Back to top