Question #212806

Given that p(x) =k÷x2 is a probability distribution for a random variable that can take on the values x = 0, 1, 2, 3, and 4.

a. Find k.

b. Find the expression for the cdf F(x) of the random variable. 



Expert's answer

a. Finding K

∑i=04P(Xi)=1\sum_{i=0}^4P(Xi)=1

The PMF should be k2x\frac{k}{2^x} and not kx2\frac{k}{x^2} since we cannot divide a number by zero.

∑i=04P(Xi)=k+k2+k4+k8+k16=31k16\sum_{i=0}^4P(Xi)=k+\frac{k}{2}+\frac{k}{4}+\frac{k}{8}+\frac{k}{16}=\frac{31k}{16}

31k16=1\frac{31k}{16}=1 Solving for k,

k=1631k=\frac{16}{31}

b. CDF

CDF=∑0xP(x)CDF=\sum_0^xP(x) Substituting the value of k in ∑i=04P(Xi)\sum_{i=0}^4P(Xi) above, we get;

∑04P(x)=1631+831+431+231+131\sum_0^4P(x)=\frac{16}{31}+\frac{8}{31}+\frac{4}{31}+\frac{2}{31}+\frac{1}{31}

Note that it forms a geometric progression with a=1631a=\frac{16}{31} and r=12r=\frac{1}{2}. Note also that it consist of 5 terms since the value of x starts from 0.

The sum of n terms of a GP when r<1r<1 is

Sn=a(1−rn)1−rS_n=\frac{a(1-r^n)}{1-r}

But to allow 0 to 4 values of x, n becomes x+1.

CDF=1631(1−12x+1)1−12CDF=\frac{\frac{16}{31}(1-\frac{1}{2^{x+1}})}{1-\frac{1}{2}} Simplifying, we have

CDF=3231(1−12x+1)CDF=\frac{32}{31}(1-\frac{1}{2^{x+1}})


LATEST TUTORIALS
APPROVED BY CLIENTS