Discrete random variables Flashcards
What is coding?
Taking a set of data amd peforming poerations on it to change it
What happens to E(X) when it is transformed by E(2X) and how do you prove it?
Hint: use identity for E(X)
E(X) = Σx / n
E(2X) = Σ2x / n = 2Σx / n
Therefore E(2X) = 2E(X)
What happens when E(X) is transform by E(X-1)
Hint: use identity for E(X)
E(X) = Σx / n
E(X-1) = Σ(x-1) / n = Σ(x) - n / n
Therefore E(X-1) = E(X) - 1
What happens to Var(X) under the transformation Var(2X+1)
Var(2X+1)=4Var(X)
Var(X) is scaled by the square of the square of the coefficient, however shifting the “position” of the data set makes no difference to how it varies
Proof here: https://math.stackexchange.com/questions/1708266/why-square-a-constant-when-determining-variance-of-a-random-variable
E(X1 +- X2) = ?
E(X1 +- X2) = E(X1) +- E(X2)
Var(X1 +- X2) = ?
Var(X1) + Var(X2)
Sign doesn’t matter variances are always summed