Monte Carlo Simulations for Probability and Statistics

About these notes

These notes use Monte Carlo simulation as the main way to learn probability and statistics. We will usually start with a theoretical prediction, build a numerical simulation, and compare the two.

My motivation for writing these notes is also personal. Before I encountered Monte Carlo simulation in Peter Kennedy’s A Guide to Econometrics, I had a hard time understanding what was going on in statistics. Monte Carlo simulation changed that dramatically. Seeing statistical ideas through repeated simulation made concepts that had seemed abstract much easier for me to understand. I expected that this approach would eventually become common in statistics and econometrics textbooks. After waiting for about 25 years, I gave up waiting and decided to write the kind of notes I had hoped to find myself.

The R code is here to make the simulation visible. The main goal is to understand the statistical idea and to be able to describe a complete Monte Carlo algorithm.

Artificial intelligence also helped substantially in developing these notes. I used AI to help draft and revise explanations, write and check R code, develop examples, and maintain consistency across chapters. The organization, examples, pedagogical choices, and final content reflect my own decisions, but AI made it possible to develop and revise the material much more quickly than I could have done on my own.