AI Grounds
Open AI Grounds on a desktop
These interactive lessons need a larger screen. Please continue on a desktop or laptop computer.
AI Grounds
These interactive lessons need a larger screen. Please continue on a desktop or laptop computer.
Guided discovery
Match the probability model to the question.
One trial: 0 means failure, 1 means success.
Chance of success on each trial. Use arrow keys on the slider. Press Enter or leave the number field to apply an exact edit.
Mass means the chance assigned to a possible outcome. The vertical scale stays at 0–100%; outlined bars are most likely, including ties. Tiny probabilities have tiny bars; they are not boosted to a minimum height.
Scroll the bars horizontally if needed. The complete probability table below provides the same data.
Probability-weighted average of numerical outcomes.
0.62
0 × (1 − p) + 1 × p = 0.62
The mean need not be a possible single outcome.
Spread of the coded 0/1 outcome.
0.2356
p × (1 − p)
Outcome(s) with the largest probability.
1
Mode: a tie outlines every equal maximum.
P(X = x) = p^x(1 - p)^(1 - x)
P(X = 1) = p, P(X = 0) = 1 - p
| Outcome | Probability | Most likely? |
|---|---|---|
| failure | 38% | No |
| success | 62% | Yes |
| Total | 100% |
Bernoulli asks about one yes/no outcome. Categorical asks which class label occurs. Binomial asks how many successes occur in independent equal-p trials. These are theoretical probabilities, not sampled frequencies.
Bernoulli Trial, p 62%. Most likely: 1. Mean 0.62; variance 0.2356. Total mass 100%.