Exam 3 with Solution – Probability | MATH 3338, Exams of Probability and Statistics

Material Type: Exam; Class: Probability; Subject: (Mathematics); University: University of Houston; Term: Fall 2006;

Typology: Exams

Pre 2010

Uploaded on 08/18/2009

koofers-user-i9w
koofers-user-i9w 🇺🇸

10 documents

1 / 3

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Third Exam
Probability
MATH 3338-10853 (Fall 2006) October 23, 2006
This exam has 3 questions, for a total of 100 points.
Please answer the questions in the spaces provided on the question sheets.
If you run out of room for an answer, continue on the back of the page.
Name and UH-ID:
1. In flipping a fair coin let Xbe the number of tosses to get the first head. Then p(x) = .5x
for x= 1,2,3, . . .. Find the moment generating function MX(t) and use it to get the
mean E(X) and the variance V(X).
Solution: Note that Xis a geometric rv with P(head) = 0.5, thus the pmf of Xis
p(k) = p(1 p)k1= 0.5k,for k= 1,2,3,....
Then, the mgf of Xis
MX(t) = E(etX ) = X
x
extp(x) =
X
k=1
ektp(1 p)k1=pet
X
k=1
[(1 p)et]k1
=pet
1(1 p)et=0.5et
10.5et=et
2et.
Using the rule f
g0
=f0gfg 0
g2, we differentiate MX(t)
M(1)
X(t) = pet[1 (1 p)et]pet[(1 p)et]
[1 (1 p)et]2=pet
[1 (1 p)et]2
M(2)
X(t) = pet[1 (1 p)et]2pet[1 (1 p)et][2(1 p)et]
[1 (1 p)et]4=pet[1 + (1 p)et]
[1 (1 p)et]3
Setting t= 0 gives
E(X) = M(1)
X(t= 0) = pet
[1 (1 p)et]2
t=0
=p
[1 (1 p)]2=1
p,
E(X2) = M(2)
X(t= 0) = pet[1 + (1 p)et]
[1 (1 p)et]3
t=0
=p[1 + (1 p)]
[1 (1 p)]3=2p
p2,
V(X) = E(X2)[E(X)]2=2p
p21
p2=1p
p2.
Thus, with p= 0.5, we have the mean and variance of X
E(X) = 1
0.5= 2, V (X) = 10.5
0.52= 2.
Page 1 of 3 Please go to the next page. . .
pf3

Partial preview of the text

Download Exam 3 with Solution – Probability | MATH 3338 and more Exams Probability and Statistics in PDF only on Docsity!

Third Exam

Probability

MATH 3338-10853 (Fall 2006) October 23, 2006

This exam has 3 questions, for a total of 100 points. Please answer the questions in the spaces provided on the question sheets. If you run out of room for an answer, continue on the back of the page.

Name and UH-ID:

  1. In flipping a fair coin let X be the number of tosses to get the first head. Then p(x) =. 5 x for x = 1, 2 , 3 ,.. .. Find the moment generating function MX (t) and use it to get the mean E(X) and the variance V (X). Solution: Note that X is a geometric rv with P (head) = 0.5, thus the pmf of X is

p(k) = p(1 − p)k−^1 = 0. 5 k, for k = 1, 2 , 3 ,....

Then, the mgf of X is

MX (t) = E(etX^ ) =

x

extp(x) =

∑^ ∞

k=

ektp(1 − p)k−^1 = pet

∑^ ∞

k=

[(1 − p)et]k−^1

pet 1 − (1 − p)et

  1. 5 et 1 − 0. 5 et^

et 2 − et

Using the rule

f g

= f^

′g−f g′ g^2 , we differentiate^ MX^ (t)

M (^) X(1) (t) =

pet[1 − (1 − p)et] − pet[−(1 − p)et] [1 − (1 − p)et]^2

pet [1 − (1 − p)et]^2

M (^) X(2) (t) =

pet[1 − (1 − p)et]^2 − pet[1 − (1 − p)et][−2(1 − p)et] [1 − (1 − p)et]^4

pet[1 + (1 − p)et] [1 − (1 − p)et]^3

Setting t = 0 gives

E(X) = M (^) X(1) (t = 0) =

pet [1 − (1 − p)et]^2

t=

p [1 − (1 − p)]^2

p

E(X^2 ) = M (^) X(2) (t = 0) =

pet[1 + (1 − p)et] [1 − (1 − p)et]^3

t=

p[1 + (1 − p)] [1 − (1 − p)]^3

2 − p p^2

V (X) = E(X^2 ) − [E(X)]^2 =

2 − p p^2

p^2

1 − p p^2

Thus, with p = 0.5, we have the mean and variance of X

E(X) =

= 2, V (X) =

Page 1 of 3 Please go to the next page...

Third Exam (continued) MATH 3338-10853 (Fall 2006) October 23, 2006

  1. The College Board reports that 2% of the 2 million high school students who take the SAT each year receive special accommodations because of documented disabilities. Consider a random sample of 25 students who have recently taken the test

a. What is the probability that exactly 1 received a special accommodation? b. What is the probability that at least 1 received a special accommodation? c. What is the probability that at least 2 received a special accommodation? d. What is the probability that the number among the 25 who received a special accommodation is within 2 standard deviations of the number you would expect to be accommodated?

Solution: We have p = P (a student received a special accommodation) = 0.02, so with X = the number among the 25 who received a special accommodation, X ∼ Bin(25, 0 .02).

a. The probability that exactly 1 received a special accommodation is

P (X = 1) =

(0.02)^1 (1 − 0 .02)^25 −^1 = 25(0.02)(0.98)^24 ≈ 0. 3079

b. The probability that at least 1 received a special accommodation is

P (X ≥ 1) = 1 − P (X = 0) = 1 −

(0.02)^0 (1 − 0 .02)^25

= 1 − (0.98)^25 ≈ 1 − 0 .6035 = 0. 3965

c. The probability that at least 2 received a special accommodation is

P (X ≥ 2) = 1 − P (X = 0) − P (X = 1) ≈ 1 − 0. 6035 − 0 .3079 = 0. 0886

d. The mean and the standard deviation of X are

μ = E(X) = np = 25(0.02) = 0. 5 ,

σ =

V (X) =

np(1 − p) =

Then, the probability that the number among the 25 who received a special accom- modation is within 2 standard deviations of the expected number is

P (|X − μ| ≤ 2 σ) = P (X ≤ μ + 2σ) = P (X ≤ 0 .5 + (2)(0.7)) = P (X ≤ 1 .9)

= P (X = 0) + P (X = 1) ≈ 0 .6035 + 0.3079 = 0. 9114.

Page 2 of 3 Please go to the next page...