6: Random Variables and Probability Distributions
A random variable assigns a numerical value to the outcome of a chance process. Discrete variables have countable possible values; continuous variables range over an interval.
Discrete distributions
For probabilities , require and .
Review correction
The original standard-deviation formula omitted the square root; the unsquared-root sum is the variance.
Linear transformations
For :
Adding a constant shifts the mean but leaves spread unchanged. Multiplication scales standard deviation by the absolute value of the multiplier.
Combining random variables
Means always add or subtract:
For independent variables, variances add for both a sum and a difference:
More generally, covariance matters:
Review correction
The original notes added variances without stating independence. Standard deviations themselves do not generally add.
Binomial distribution
counts successes in a fixed number of independent trials with two outcomes and constant success probability .
Geometric distribution
counts the number of independent trials up to and including the first success, with constant success probability ; .
Normal distributions
A linear combination of independent normal random variables is normal. Use the mean and variance rules above. Normal marginals alone, without independence or joint normality, do not guarantee a normal sum.
Related: Probability rules · Sampling distributions