This repository contains code snippets and vignettes that I've used as teaching examples over a number of different courses. The repository is not particularly cohesive, it's intended to capture one-off teaching examples that I can pick and choose from and share on an ad hoc basis.
stats/ repository:
- power-simulation: use simulation to estimate power across a range of effect sizes and sample sizes
For more examples, or to review materials from past classes and seminars I've taught, please see below.
- Data Science Basics in R (Georgetown School of Foreign Service, 2024)
- Data Science Basics in R (Georgetown School of Foreign Service, 2023)
- Introduction to Statistics for Data Science (UC Berkeley School of Information, 2024)
Please feel free to use and borrow from this code base according to the licence.