Posts
2021

Simulationbased power curves
Introduction In a previous post I covered how to perform simulationbased power analyses. A limitation in that post is that usually the question is not what our power is, but rather which sample size gives us the desired power. With the code from my previous post you can get to the right sample size by changing the sample size parameters and then checking whether this gives you enough power.
Nov 9

Simulationbased power analyses
Introduction Setup One Sample ttest Welch’s Two Sample ttest Two Sample ttest Paired ttest Correlation 2 ttests Regression (2 x 2 interaction) Conclusion Introduction Doing power analyses is hard. I know this from experience, both as a researcher and as a reviewer. As a researcher, I have found power analyses to be difficult because performing a good power analysis requires a thorough understanding of the (hypothesized) data.
Oct 23