Project Page:
github.com/SaiSampathKedari/MonteCarlo-Statistical-Methods
A visual and practical guide to Monte Carlo techniques, focused on understanding rather than memorizing.
Each method is implemented from scratch and explored through intuitive diagrams, animations, and diagnostic tools.
These foundations support real applications in robotics, dynamics, and reinforcement learning, from Bayesian filters to sampling-based planning and uncertainty-aware control.
This repository builds Monte Carlo ideas from first principles using:
Each topic is supported by clean visualizations and self-contained Jupyter notebooks.
Inverse Transform sampling (left) and AcceptβReject sampling (right).
Proposal vs likelihood alignment and resulting posterior for Importance Sampling.
Variance comparison (left) and correlation structure enabling control variates (right).
Random-walk scaling to Brownian motion and simulated sample paths.
The repository implements four MCMC algorithms on both 2D Gaussian and banana-shaped targets:
All diagnostics: burn-in, mixing, autocorrelation, integrated autocorrelation, and ESS, are derived in the MH diagnostics notebook and reused across the remaining algorithms.
Below is a DRAM example on the banana-shaped target.
Full write-ups:
reports/ch02_general_transforms.pdfreports/ch02_accept_reject.pdfreports/ch03_01_ImportantSampling_Motivation_weights.pdfreports/ch03_02_ImportanceSampling_MC_vs_IS_Variance_Comparison.pdfreports/ch03_03_ImportanceSampling_Rare_event_Estimation.pdfreports/ch03_04_SelfNormalized_ImportantSampling.pdfreports/ch04_01_ControlVariate_Foundations-and-Intution.pdfreports/ch04_02_Brownian_Motion.pdfreports/ch04_03_ControlVariate_example1.pdfreports/ch05_01_MarkovChain_Intro.pdfreports/ch05_02_Irreducibility.pdfreports/ch05_07_Metropolis-Hastings.pdfMonteCarlo-Statistical-Methods/
β
βββ animations/
βββ images/
β βββ sampling/
β βββ importance_sampling/
β βββ variance_reduction/
β βββ stochastic_processes/
β βββ mcmc/
β βββ exponential/
βββ notebooks/
β βββ ch02_sampling/
β βββ ch03_importance_sampling/
β βββ ch04_variance_reduction/
β βββ ch05_mcmc/
β βββ ch06_stochastic_processes/
βββ reports/
βββ src/
βββ README.md
βββ index.md
βββ pyproject.toml
I study and implement methods in optimization, control, robotics, Bayesian inference, and probabilistic reasoning.
Interested in robotics, control, and probabilistic methods for intelligent systems.
π« Email: sampath@umich.edu
: linkedin.com/in/sai-sampath-kedari
π : @SaiSampathK
: github.com/SaiSampathKedari