I'm trying to find the variance of the following problem (tried to set it out in table format)
u= (10-9p)
X values are 1 and 10
|(y-u)^2 | [1-(10-9p)]^2 | [10-(10-9p)]^2 |
| prob | p | 1-p |
the equation I need to solve and simplify is:
E(y) = [1-(10-9p)]^2 + [10-[(10-9p)]^2
In the answer book my teacher has given the simplified answer, which he has put as : 81(p-p^2)
I've not been able to get to that answer, can anyone body run me through in detail the steps to get to 81(p-p^2)?
I've got an exam on monday and this is one of the question types that Is going to appear
ANy help would be really appreciated!
u= (10-9p)
X values are 1 and 10
|(y-u)^2 | [1-(10-9p)]^2 | [10-(10-9p)]^2 |
| prob | p | 1-p |
the equation I need to solve and simplify is:
E(y) = [1-(10-9p)]^2 + [10-[(10-9p)]^2
In the answer book my teacher has given the simplified answer, which he has put as : 81(p-p^2)
I've not been able to get to that answer, can anyone body run me through in detail the steps to get to 81(p-p^2)?
I've got an exam on monday and this is one of the question types that Is going to appear
ANy help would be really appreciated!