확률

Probability

μ 0.00
σ 1.00
n 0

Probability Concepts

Normal Distribution

The bell curve describes how data points cluster around a mean value, with predictable proportions falling within standard deviations.

f(x) = (1/σ√2π) e-(x-μ)²/2σ²

Bayes' Theorem

P(A) P(¬A) P(A|B) = ?

Update beliefs when new evidence arrives. Prior probability combined with likelihood gives you a more accurate posterior probability.

P(A|B) = P(B|A) · P(A) / P(B)

Monte Carlo Method

π ≈ 0 pts

Use random sampling to estimate mathematical quantities. Generate thousands of random points to approximate areas, integrals, and probabilities.

π ≈ 4 · (points inside) / (total points)

Interactive Tools

Coin Flip Simulator

H
T
Flips 0
Heads 0
Tails 0
Ratio

As the number of flips increases, the ratio converges toward the true probability of 0.5 — the law of large numbers in action.

Dice Distribution

1 0
2 0
3 0
4 0
5 0
6 0
Rolls 0
χ²

Roll distribution visualized as a histogram. Each face should appear approximately 16.7% of the time with a fair die.

Distribution Comparison

Distribution A
Distribution B

Overlay two normal distributions to visually compare how changes in mean and variance affect shape and overlap. Observe how distributions diverge or converge.

Real-World Scenarios

Medical Testing

A test is 99% accurate. You test positive for a rare disease (1 in 10,000). What is the actual probability you have the disease? The answer is surprisingly low — about 1% — because of base rate neglect.

P(disease | positive) 0.99%
23

Birthday Problem

How many people do you need in a room for a 50% chance that two share a birthday? Only 23. Our intuition about probability often fails us at combinatorial scale.

P(shared birthday) 50.7%

Monty Hall Problem

Behind three doors: one car, two goats. You pick a door, the host opens another revealing a goat. Should you switch? Yes — switching gives you a 2/3 probability of winning.

Pick a door to start.

Played: 0 Switch wins: 0 Stay wins: 0

Quick Reference

Addition Rule

P(A ∪ B) = P(A) + P(B) − P(A ∩ B)

Multiplication Rule

P(A ∩ B) = P(A) · P(B|A)

Complement

P(A') = 1 − P(A)

Conditional

P(A|B) = P(A ∩ B) / P(B)

Expected Value

E[X] = Σ xᵢ · P(xᵢ)

Variance

Var(X) = E[X²] − (E[X])²