< back to ./projects
$ cd ~/projects/min-max-rv-explorer
Min/Max Distribution Explorer
An interactive visualization of how the distributions of the minimum and maximum change when sampling independent random variables.
Overview
Built while taking the STAT 230 course in my second semester at AUB as a way to learn more about the minimum and maximum of independent random variables through exploration. This tool connects the formulas to simulation and graphs to make them more intuitive. It displays the formulas, lets you choose a base distribution, vary the sample size, and compare the theoretical CDFs against Monte Carlo simulation.
Features
- Fair die, Uniform(0,1), and Exponential(1) base distributions
- Adjustable sample size and number of Monte Carlo trials
- Exact CDF formulas for the minimum and maximum
- Simulation-based empirical comparison
- PMF/density comparison
- A threshold view showing the probability reasoning behind the formulas