EXPLORE DISTRIBUTIONS
INTERACTIVE PROBABILITY VISUALIZER
6 DISTRIBUTIONS
Normal, Uniform, Bernoulli, Binomial, Poisson, Exponential
CALCULATORS
PDF, CDF, quantile, and probability calculators
COMPARE
Side-by-side distribution comparison
LEARN
Interactive tutorials and examples
WHAT IT IS
WHEN TO USE
MECHANICS
PROBABILITY CALCULATOR
DISTRIBUTION
CALCULATE
RESULT
COMPARE DISTRIBUTIONS
DISTRIBUTION 1
DISTRIBUTION 2
DISTRIBUTION 1
DISTRIBUTION 2
LEARNING CENTER
๐ BASICS
What is a Probability Distribution?
A probability distribution describes how likely different outcomes are. Think of it as a map showing where probability "mass" is concentrated.
- Random Variable (X): A quantity that can take different values randomly
- PDF/PMF: Probability at each point (density vs mass)
- CDF: Cumulative probability up to a point
- Mean (ฮผ): Expected value / center of mass
- Variance (ฯยฒ): Spread / how scattered the values are
๐ DISCRETE vs CONTINUOUS
Two Types of Distributions
Discrete: Countable outcomes (0, 1, 2, 3...)
- Bernoulli: Single coin flip
- Binomial: Multiple coin flips
- Poisson: Count of rare events
Continuous: Infinite possible values
- Normal: Bell curve for natural phenomena
- Uniform: Equal probability everywhere
- Exponential: Time between events
๐ฏ REAL-WORLD EXAMPLES
Where You See These
Normal: Heights, test scores, measurement errors
Binomial: Quality control (n defects), free throw success
Poisson: Website visits per hour, calls to a help desk
Exponential: Time until next earthquake, product lifetime
Uniform: Random number generators, lottery draws
Bernoulli: Single yes/no event, pass/fail test
๐งฎ KEY FORMULAS
The Math You Need
Expected Value (Mean): E[X] = ฮฃ(x ร P(x))
Variance: Var(X) = E[(X - ฮผ)ยฒ]
Standard Deviation: ฯ = โVar(X)
68-95-99.7 Rule (Normal):
- 68% within 1ฯ of mean
- 95% within 2ฯ of mean
- 99.7% within 3ฯ of mean
๐ QUICK QUIZ
Question 1: If you flip a fair coin 10 times, which distribution models the number of heads?
ABOUT
An open-source, interactive probability distribution explorer designed for students, educators, and data professionals.
FEATURES
- โ 6 core probability distributions with accurate mathematical implementations
- โ Real-time parameter manipulation and visualization
- โ Statistical calculators (PDF, CDF, quantile, intervals)
- โ Side-by-side distribution comparison
- โ Interactive learning modules with examples
- โ Mobile-responsive Neo-Brutalist design
- โ Zero dependencies - pure HTML/CSS/JavaScript
TECHNICAL DETAILS
Mathematics: Implements proper overflow handling, logarithmic combinations for large factorials, Abramowitz-Stegun error function approximation, and auto-scaling algorithms.
Stack: Vanilla HTML5, CSS3, JavaScript with Canvas API
Performance: 60 FPS rendering, efficient re-calculation on parameter changes
OPEN SOURCE
This project is open source and available on GitHub. Contributions welcome!
VIEW ON GITHUBLICENSE
MIT License - Free for educational and commercial use