How Rejection Sampling Works in Statistics
Explore rejection sampling as a Monte Carlo method used to generate exact samples from a complex probability distribution.
YouTube · Drawing Distributions · 6 April 2026 Watch on YouTube
Tried this idea? Show how yours turned out.
I made this#statistics #montecarlo #drawingdistributions
How to do it
What you need
- target distribution p(θ)
- proposal distribution g(θ)
- scaled proposal curve c·g(θ)
- random samples (drawn points)
- histogram of accepted samples
Tips
- Samples are used to estimate quantities like the mean or variance when those statistics can't be written down directly — this is Monte Carlo estimation.
- The result is plotted as a histogram, so you can compare its shape against the target curve p(θ) to see how well the sampling worked.
- Points that land outside the acceptance region are discarded, and only the accepted ones go into the histogram.
Written by Tagrazzi from the original's description and photo.
The title and summary are written by Tagrazzi; the video belongs to its creator and plays from YouTube.
Comments (0)
No comments yet. Be the first to comment.
Sign in to write a comment.