Quiz 8 Solution

Question 1

Let X be a discrete random variable taking values in the set SX={0,a}, where a is a positive real number.  Suppose Pr(X=a)=p for some p≠0.  Consider the event X≥a.  Markov's inequality gives a bound M on the probability of this event.  Let T be the true probability of this event.  Find the ratio M/T.

(Hint: since Markov's inequality is an upper bound, we know that T≤M, so we must have M/T≥1.)

Solution:  Markov's inequality states, for a nonnegative random variable X and a positive number a, that Pr(X≥a)≤E(X)a.   Let M=E(X)/a.  Here

E(X)=∑x∈SXxpX(x)=0⋅(1−p)+a⋅p=ap,

and thus M=apa=p.  The true probability that X≥a is

T=Pr(X≥a)=∑x∈SXx≥apX(x)=pX(a)=p.

Thus we find MT=pp=1.  In other words, Markov's inequality is met with equality in this example.

Question 2

Fill in the blank.   On a particular streetcar route in Toronto, streetcars take an average of 60 minutes to travel from one end of the route to the other, with a standard deviation of 3 minutes.  Chebyshev's Inequality implies that at least _______% of streetcars take between 54 and 66 minutes to complete the route.

Solution:  Let σ denote the standard deviation of a random variable X having mean m.   Chebyshev's inequality states that

Pr(|X−m|≥kσ)≤1k2.

Here, we observe that 54 is k=2 standard deviations below the mean of m=60 and 66 is k=2 standard deviations above the mean of m=60.  Chebyshev's Inequality then gives

Pr(|X−60|≥2σ)≤14.  Looking at the complementary event, we get

Pr(|X−60|<2σ)=Pr(54<X<66)=1−Pr(|X−60|≥2σ)≥1−14=34=75%.  Thus the blank should be filled in with the number 75.

Question 3

The characteristic function ΦX(ω) of a random variable X is given as ΦX(ω)=14(1+ejω)2, where j2=−1.  Find E(X).

(Hint:  apply the moment theorem.)

Solution:

ΦX′(ω)=14⋅2⋅(1+ejω)⋅ejω⋅j.  Thus E(X)=1jΦX′(0)=1j⋅14⋅2⋅2⋅1⋅j=1.

Question 4

Find VAR(X), the variance of the random variable X defined in the previous question.

Solution:

ΦX″(ω)=j2⋅(ejω⋅j)e˙jω+j2(1+ejω)⋅ejω⋅j=−12(1+2ejω)⋅ejω.  Thus E(X2)=1j2ΦX″(0)=−ΦX″(0)=12⋅(1+2)⋅1=32.  It follows that VAR(X)=E(X2)−(E(X))2=32−12=12.