Probability Distribution Simulator Math

Mean: ---, SD: ---
0.0 1.0

What is a Probability Distribution Simulator?

Quick Answer: An interactive tool to visualize the shape and properties of common distributions (Normal, Binomial, Poisson, Exponential). Adjust parameters in real time to see how the probability density or mass function changes, along with cumulative distribution.

Theory of Probability Distributions

A probability distribution describes how the values of a random variable are distributed. For continuous variables, the probability density function (PDF) gives the relative likelihood; for discrete, the probability mass function (PMF) gives exact probabilities. The cumulative distribution function (CDF) is P(X ≤ x). The normal distribution is defined by mean (μ) and standard deviation (σ). Binomial: n trials, success probability p. Poisson: average rate λ. Exponential: rate λ. The tool uses standard formulas and draws the curves/bars dynamically.

Step-by-Step Examples

Example 1: Normal Distribution Shape

  1. Select Normal. Adjust param1 (mean) and param2 (SD). See the bell curve shift and spread.
  2. Enable CDF to observe the S-shaped cumulative curve approaching 1.
  3. Observe the mean and SD in the info overlay.

Example 2: Binomial Distribution

  1. Choose Binomial. Param1 = number of trials n (integer), param2 = success probability p.
  2. For n=10, p=0.5, a symmetric bar chart appears. Skew changes as p moves away from 0.5.

Example 3: Poisson for Rare Events

  1. Select Poisson. Param1 = λ (mean). For small λ, the distribution is skewed; for larger, it approximates normal.
  2. Toggle PDF/PMF to see the discrete probabilities.

Frequently Asked Questions

What parameters does each distribution use?

Normal: mean (μ) and SD (σ). Binomial: number of trials (n) and probability (p). Poisson: rate (λ). Exponential: rate (λ). Sliders adjust these.

What is the difference between PDF and PMF?

PDF is for continuous distributions (area under curve = 1). PMF is for discrete (sum of bars = 1). The tool automatically chooses the correct representation.

Why does the CDF start at 0 and end at 1?

By definition, CDF(x) = probability that X ≤ x. As x goes to infinity, CDF → 1.

Can I see the exact probability values?

The tool shows the mean and SD. For exact quantile probabilities, hover over the curve (future feature). Currently, the visual gives a qualitative picture.

Is this useful for statistics and data science?

Yes, understanding distribution shapes is fundamental for hypothesis testing, confidence intervals, and modeling.