Let Y1...Yn be independent and identically distributed random vairables such that for 0 < p < 1, P(Yi = 1) = p and P(Yi = 0) = q = 1-p.
A. Find the moment-generating functions for the random variable Y1.
B. Find the moment-generating functions for W = Y1 + ... + Yn.
C. What is the distribution of W?
I have started to try A. My book stays that m(t) = E(e^(tY)). But i'm sure sure what that is. I think that expected value of Y1 is p. But i'm not sure where to go from here. I'm completely clueless, statistics is not my area of expertise(I'm a computer science guy).
Thanks!
