i have an exam coming up and am doing past exams the problem is there are no answers and am really struggling in this topic.
the question
A Bernoulli random variable takes the value either zero or one with the following probabiltiy.
P(X=1)=p and P(X=0)=1-p
a)find the moment generating function for the Bernoulli distribution.
b)Let Y be the sum of N independent Bernoulli random variables ie. Y=X1 +X2+...Xn where X is Bernoulli (p) for i=1,...,n. Using hte properties of moment generating functions and showing all steps, find the moment generating function of Y and hence its distribution.
Id appreciate your help.. Thankyou
the question
A Bernoulli random variable takes the value either zero or one with the following probabiltiy.
P(X=1)=p and P(X=0)=1-p
a)find the moment generating function for the Bernoulli distribution.
b)Let Y be the sum of N independent Bernoulli random variables ie. Y=X1 +X2+...Xn where X is Bernoulli (p) for i=1,...,n. Using hte properties of moment generating functions and showing all steps, find the moment generating function of Y and hence its distribution.
Id appreciate your help.. Thankyou