operationsres
- 99
- 0
Homework Statement
For n trials, S_n can be seen as the sum of n independent single trials X_i, i = 1,2,...,n, with \mathbb{E}[X_i]=p and Var[X_i]=p(1-p).2. What I don't understand
I don't understand why Var[X_i]=p(1-p).
We know that: Var[X_i]=\mathbb{E}[(X_i - \mathbb{E}[X_i])^2] = \mathbb{E}[X_i^2 - 2X_i\mathbb{E}[X_i] + \mathbb{E}[X_i]^2] = \mathbb{E}[X_i^2] - \mathbb{E}[X_i]^2.
Taking \mathbb{E}[X_i]^2, we have \mathbb{E}[X_i]^2=p^2.
Taking \mathbb{E}[X_i^2], we have \mathbb{E}[X_i^2]=\mathbb{E}[\prod_{i=1}^2X_i] = \prod_{i=1}^2 \mathbb{E}[X_i] = \mathbb{E}[X_i]^2 = p^2.
So Var[X_i]= p^2 - p^2 = 0 \not= p(1-p), which contradicts what my lecture notes say.