gimpy
- 28
- 0
I am having trouble with this question.
Let X equal the number of flips of a fair coin that are required to observe the same face on consecutive flips.
(a) Find the p.m.f. of X.
if found the p.m.f. to be f(x) = (\frac{1}{2})^{x-1} for x=2,3,4,...
(b) Give the values of the mean, variance and standard deviation of X.
For this one i found the m.g.f. to be M(t) = E(e^{tx}) = \sum_{x \in S} e^{tx}f(x)
M^{'}(0) = xf(x) = E(X) which is the mean.
Then
M^{''}(0) = x^{2}f(x) = E(X)
Var(X) = M^{''}(0) - [M^{'}(0)]^2
Is this correct?
Than after that i realized that 2 rolls of the dice was the minimum to get the same face on two consecutive flips. So i made S={1,2} and evaluted them like this getting the Mean = 2 and Variance = 4 which is not correct.
What am i doing wrong? Do i have to use Infinite series or something?
I haven't even started on the standard deviation.
(c) Find the values of
(i) P(X \leq 3)
(ii) P(X \geq 5)
(iii) P(X = 3)
I can't start on these until i get part (b)
Let X equal the number of flips of a fair coin that are required to observe the same face on consecutive flips.
(a) Find the p.m.f. of X.
if found the p.m.f. to be f(x) = (\frac{1}{2})^{x-1} for x=2,3,4,...
(b) Give the values of the mean, variance and standard deviation of X.
For this one i found the m.g.f. to be M(t) = E(e^{tx}) = \sum_{x \in S} e^{tx}f(x)
M^{'}(0) = xf(x) = E(X) which is the mean.
Then
M^{''}(0) = x^{2}f(x) = E(X)
Var(X) = M^{''}(0) - [M^{'}(0)]^2
Is this correct?
Than after that i realized that 2 rolls of the dice was the minimum to get the same face on two consecutive flips. So i made S={1,2} and evaluted them like this getting the Mean = 2 and Variance = 4 which is not correct.
What am i doing wrong? Do i have to use Infinite series or something?
I haven't even started on the standard deviation.
(c) Find the values of
(i) P(X \leq 3)
(ii) P(X \geq 5)
(iii) P(X = 3)
I can't start on these until i get part (b)