- How do the mean and variance change when a random variable is multiplied by a constant and shifted by another?
- For aX + b, the expected value is E(aX + b) = a E(X) + b. The variance is Var(aX + b) = a² Var(X), because adding b moves every value without changing the spread. The standard deviation is multiplied by |a| and is never negative. For example, with E(X) = 12 and Var(X) = 5, the variable 4 - 3X has Var = 45.
- Does the expected value of a linear combination need the variables to be independent?
- No. The expected value of a linear combination is the same combination of the expected values, E(a₁X₁ + ⋯ + anXn) = a₁E(X₁) + ⋯ + anE(Xn). Each variable keeps its own coefficient, including its sign. Independence is needed only for the variance, which is covered by the variance rule.
- How do you find the variance of a linear combination of independent random variables?
- For independent variables, each coefficient is squared and the variances are added: Var(a₁X₁ + ⋯ + anXn) = a₁²Var(X₁) + ⋯ + an²Var(Xn). A minus sign disappears when it is squared, so Var(X - Y) = Var(X) + Var(Y). Take the square root to get the standard deviation, and never add standard deviations.
- What is the mean and variance of the sum of n independent observations, and of their sample mean?
- For n independent observations with mean μ and variance σ², the sum has mean nμ and variance nσ². The sample mean barX has mean μ and variance σ² / n, because each observation has coefficient 1/n. Do not confuse the sum X₁ + X₂ with 2X, since Var(2X) = 4σ² but Var(X₁ + X₂) = 2σ².
- Why is the sample mean an unbiased estimate of the population mean?
- An estimator is unbiased when its expected value equals the parameter. The sample mean barx is an unbiased estimate of μ because E(barX) = μ. Calculate it as barx = sum x_i / n. It is right on average, though one sample may be above or below the population mean.
- Why is my estimate of the population variance too small?
- You have probably divided the sum of squares by n. The unbiased estimate sn₋₁² sums the squared distances from barx and divides by n - 1. For the sample 8, 10, 11, 7, 9, the sum of squares is 10, so sn₋₁² = 10/4 = 2.5, while dividing by n = 5 gives 2, which is sn².