Expected value of a discrete random variable
Definition. Also called mean of a random variable, E(X), mu_X.
- expected value, in the unit of
- a value can take
- the probability of that value
Careful: The expected value is a long-run average, not the most likely value, and it need not be a value can take.
Taught in Random variables and expected value
Variance and SD of a discrete random variable
Also called sigma_X, SD(X), Var(X).
- variance of , in squared units
- a value can take
- the expected value
- the probability of that value
Applies: is a typical distance of from its mean, in 's unit.
Careful: Weight each squared distance by its probability; do not divide by , which is for data.
Taught in Spread of a random variable, and sums
- expected value
- multiplier
- added constant
- the random variable
Applies: Changing units, or a price that scales every value and adds a fixed fee.
Careful: Adding a constant moves the mean and never changes the SD.
Taught in Spread of a random variable, and sums
Variance of a sum or difference (independent variables)
Also called variances add.
- independent random variables
Applies: and are independent. Means add whether or not they are, .
Careful: SDs do not add, and the variance of a difference is a sum, not a difference. Take the square root at the end.
Taught in Spread of a random variable, and sums
Binomial probability
Also called binomial distribution, B(n, p).
- the probability of exactly successes
- the number of successes
- the fixed number of trials
- number of successes, to
- probability of success on each trial
- the number of ways to place successes among trials,
Applies: A fixed number of independent trials, each with two outcomes and the same chance of success.
Careful: Draws without replacement from a small lot (use the hypergeometric) and waits until a first success (use the geometric) are not binomial.
Taught in The binomial setting
Binomial mean and SD
- mean number of successes
- SD of the number of successes
- number of trials
- probability of success on each trial
Applies: .
Careful: "At least " includes itself: , and "at least one" is .
Taught in Binomial mean, SD and cumulative probabilities
Poisson probability
Also called Poisson distribution, Pois(lambda).
- the probability of exactly events
- the number of events in the interval
- rate, the mean number of events in the interval
- number of events,
Applies: Independent events at a steady rate in a fixed time or space. The mean and the variance both equal , so .
Careful: A count with a cap, or whose variance is far from its mean, is not Poisson. Scale to the interval (3 per hour is 6 per 2 hours).
Taught in The Poisson distribution
Geometric distribution
Also called waiting time, first success.
- the probability that the first success is trial
- the trial number of the first success
- the trial on which the first success happens,
- probability of success on each trial
- the mean number of trials, counting the success
Applies: Independent trials with the same , run until the first success. .
Careful: Past failures don't shorten the wait; the expected further wait is from any point.
Taught in Waiting for the first success: the geometric distribution
Hypergeometric probability
Also called sampling without replacement, acceptance sampling.
- the probability of exactly bad items in the sample
- the number of bad items in the sample
- number of items in the lot
- number of bad items in the lot
- sample size
- number of bad items in the sample
Applies: A sample drawn without replacement from a lot whose size is known.
Careful: When the sample is under about a tenth of the lot, the binomial with is close enough.
Taught in Sampling without replacement: acceptance sampling
Binomial mean from indicators
- indicator of trial , 1 for a success and 0 otherwise
- number of successes
- expected value
- number of trials
- probability of success,
Applies: Any count written as a sum of indicators, independent or not. With independent trials, .
Careful: The variance step needs independence; draws without replacement vary less than .
Taught in Why the binomial mean is np
Counting uncertainty
Also called square-root rule, Poisson counting error.
- a count of random, independent events
- its uncertainty, one SD
Applies: Counts of independent events such as radioactive decays. The relative uncertainty is .
Careful: It applies to counts, not to rates or to measured lengths; for a rate, divide by the counting time.
Taught in Lab: Counting background radiation