Docsity

Solution to Exam 2 - Mathematics Probability | MATH 411, Exams of Probability and Statistics

Toggle sidebar
bg1
Math 411 Solutions to Exam 2 November 6, 2001
1. (10) Show that the variance of a random variable can be calculated by
using the formula
Var ( X)=EX
2
−(E (X))2
Var ( X)=E
h
(X−E(X))2i=EhX
2−2XE(X)+(E(X))2i
=E
X
2
−2E (X)E(X)+(E(X))2
=E
X
2
−(E (X))2
2. (20) An urn contains 4 red marbles and 2 black marbles. Three marbles
are picked without replacement. Let Xbe the random variable which
equals the number of red marbles picked.
(a) Find and plot the values of the probability mass (density) func-
tion, p, of the random variable X.
p(0) = P{X=0}=0 p(1) = P{X=1}=4
1
2
2
6
3=1
5
p(2) = 4
22
1
6
3=3
5p(3) = P{X=3}=4
3
2
0
6
3=1
5
The plot of this mass density function is shown below.
X
p(X)
0123
1/5
3/5
pf3
pf4
pf5
pf8

Partial preview of the text

Download Solution to Exam 2 - Mathematics Probability | MATH 411 and more Exams Probability and Statistics in PDF only on Docsity!

Math 411 Solutions to Exam 2 November 6, 2001

  1. (10) Show that the variance of a random variable can be calculated by using the formula

Var (X) = E

X^2

− (E (X))^2

Var (X) = E

[

(X − E (X))^2

]

= E

[

X^2 − 2 XE (X) + (E (X))^2

]

= E

X^2

− 2E (X) E (X) + (E (X))^2

= E

X^2

− (E (X))^2

  1. (20) An urn contains 4 red marbles and 2 black marbles. Three marbles are picked without replacement. Let X be the random variable which equals the number of red marbles picked.

(a) Find and plot the values of the probability mass (density) func- tion, p, of the random variable X.

p (0) = P {X = 0} = 0 p (1) = P {X = 1} =

1

2

3

) =^1

p (2) =

2

1

3

) =^35 p (3) = P {X = 3} =

3

0

3

) =^15

The plot of this mass density function is shown below.

X

p(X)

(b) Find and plot the values of the cumulative distribution function, F , of the random variable X.

F (x) = P {X ≤ x} so for the values of X we have F (0) = 0, F (1) =^1 5

, F (2) =^4

, F (3) = 1

A plot of F (x) is shown below

x

F(x)

(c) Compute the expected value and variance of X.

E (X) =

∑^3

i=

xip (i) = 0 (0) + 1

Var (X) = E

X^2

− (E (X))^2 =

∑^3

i=

x^2 i p (i) − 4

5 −^ 4 =

(d) Compute the expected value of ln (1 + X).

E (ln (1 + X)) =

∑^3

i=

ln (1 + xi) p (i) = ln (2)

5 + ln (3)

5 + ln (4)

= ln 2 + ln 27 + ln 4 5

= ln (216) 5

  1. (10) The plot below is that of the cumulative distribution function of a random variable X.

0

1

-10 -5 5 10

(a) Can it be inferred from the plot as to whether or not X is a discrete or a continuous random variable? An explanation is re- quired.

Yes, this is the cdf of a continuous random variable. The graph is smooth so the function F (x) is differentiable. Call its derivative f (x). Then

P {X ≤ x} = F (x) = F (x) − (^) b →− ∞lim F (b)

= (^) b→− ∞lim

∫ (^) x

b

f (t) dt

∫^ x

− ∞

f (t) dt

From this one easily sees that P{a < X ≤ b} =

∫^ b a

f (t) dt

(b) Estimate P

X ≤

The graph in the plot above crosses the y axis at y = 0.5. Thus,

P

X ≤

= F (1/2) ≈ 0. 55

(c) Estimate P {X > 5 }.

P {X > 5 } = 1 − P {X ≤ 5 }

= 1 − F (5) ≈ 1 − 0. 94

  1. (15) The plot given below is that of the cumulative distribution func- tion for the discrete random variable X.

2 1 1 3

1/4^ 3/

3/

1

F(x)

X

(a) How many distinct values does X take on, and what are they? X can take on any of four different values, and they are

−2, − 1, 1, and 3

(b) What does P {X ≤ 2 } equal?

P {X ≤ 2 } =

(c) What does P {X = 1} equal?

P {X = 1} =^3 8

(d) What does P {X = − 2 } equal?

P {X = − 2 } =

  1. (10) Let Z be a random variable which has the standard normal density function. Show first that

P {Z ≤ −x} = P {Z ≥ x} ,

and then use this to infer that P {Z ≤ −x} = 1 − P {Z ≤ x}.

The density function of the random variable Z, equals f (x) =

√^1

2 π

e−x^2 /^2. The thing to observe is that this function is an even function. Thus,

P {Z ≤ −x} = √^1 2 π

∫ (^) −x

− ∞

e−t^2 /^2 dt (set t = −τ )

= √^1 2 π

∫ (^) x

∞

e−τ^2 /^2 (−dτ ) = √^1 2 π

x

e−τ^2 /^2 dτ = P {Z ≥ x}

To get the last equation we have

P {Z ≤ −x} = P {Z ≥ x} = 1 − P {Z < x} = 1 − P {Z ≤ x}

  1. (5) Let X be a random variable which is normally distributed with parameters μ = −2 and σ^2 = 9. Express P {− 5 ≤ X ≤ 0 } in terms of a standard normally distributed random variable Z.

P {− 5 ≤ X ≤ 0 } = P {− 3 ≤ X − (−2) ≤ 2 }

= P

3 ≤^

X + 2

3 ≤^

= P

− 1 ≤ Z ≤ 23

  1. (10) A satellite orbiting Jupiter sends back a stream of characters, either 0’s or 1’s. The probability that a particular character is incor- rectly received is 0.01. Assuming a particular transmission contains 75,000 characters, and that the correct reception of any particular character is independent of whether or not any other character is re- ceived correctly, what is the probability that at least 80% of the char- acters are correctly received?

The probability that a character is correctly received is 0.99. Think of this problem as a sequence of Bernoulli trials. The number of trials being 75, 000. If X is the random variable which counts the number of successes in these trials, then X counts the number of characters correctly received. Thus,

P {X = k} =

k

(0.99)k^ (0.01)^75000 −k

E (X) = 75 , 000 (0.99) = 74, 250 V ar (X) = 74250 (0.1) = 742. 5 σ =

Given the large number of trials the random variable X can be quite closely approximated by a random variable, N , which is normally dis- tributed with parameters μ = 74, 250 and σ^2 = 7, 425. Thus,

P {X ≥ (0.8) 75, 000 } ≈ P {N ≥ 60 , 000 } = P

N − 74 , 250

≥ 60 ,^000 −^74 ,^250

= P {Z ≥ − 522. 95 }

There is no need to even consult any table of values of the distribution function of the random variable Z, as − 522 .95 is quite a few standard deviations away from the mean of Z.