Docsity

Final Test with Solution - Probability | MATH 3338, Exams of Probability and Statistics

Toggle sidebar
bg1
MATH 3338 FINAL TEST DECEMBER 11
No books, class notes, cell phones.
1. When circuit boards used in the manufacture of compact disc players are tested, the
long-run percentage of defectives is 5%. Let X= the number of defective boards in a
random sample of size n= 25, so Xhas a binomial distributed.
a) Determine P(0 < X < 3).
Solution : Binomial distribution, n= 25, p= 0.05.
Solution 1:
P(0 < X < 3) = P(X= 1) + P(X= 2)
=C(25,1) ·0.051·0.9524 +C(25,2) ·0.052·0.9523
= 25 ·0.051·0.9524 + 300 ·0.052·0.9523
= 0.364986280423465 + 0.230517650793768 = 0.595503931217233.
Solution 2: Using Table A.1,
P(0 < X < 3) = P(0 < X ≤2) = P(X≤2) −P(X≤0)
=B(2; 25, .05) −B(0; 25, .05) = .873 −.277 = 0.596.
b) Calculate the expected value and standard deviation of X.
Solution :
µ=np = 25 ·.05 = 1.25, σ =pnp(1 −p) = √1.1875 = 1.08972473588517.
2. After being put into service, some buses have developed cracks on the underside of
the main frame. Suppose a city has 25 of these buses, and cracks have actually appeared
in 8 of them.
a) If a sample of 5 buses is chosen at random, what is the probability that exactly 4
of the 5 will have cracks?
Solution : Let X= number of buses with cracks in a sample. The order is not
relevant. A sample consists of 5 buses. There are this many ways to select 5 out of 25:
C(25,5) = 25!
5! 20! =21 ·22 ·23 ·24 ·25
2·3·4·5= 53130.
A sample of interest consists of 4 buses with cracks, selected out of 8, and 1 without
ones, selected out of 17 = 25 - 8. There are these many of them
C(8,4)C(17,1) = 70 ·17 = 1190.
P=P(X= 4) = 1190
53130 =0.0223978919631094.
pf3
pf4
pf5

Partial preview of the text

Download Final Test with Solution - Probability | MATH 3338 and more Exams Probability and Statistics in PDF only on Docsity!

MATH 3338 FINAL TEST DECEMBER 11

No books, class notes, cell phones.

  1. When circuit boards used in the manufacture of compact disc players are tested, the long-run percentage of defectives is 5%. Let X = the number of defective boards in a random sample of size n = 25, so X has a binomial distributed.

a) Determine P (0 < X < 3). Solution : Binomial distribution, n = 25, p = 0.05. Solution 1: P (0 < X < 3) = P (X = 1) + P (X = 2) = C(25, 1) · 0. 051 · 0. 9524 + C(25, 2) · 0. 052 · 0. 9523 = 25 · 0. 051 · 0. 9524 + 300 · 0. 052 · 0. 9523 = 0.364986280423465 + 0.230517650793768 = 0. 595503931217233.

Solution 2: Using Table A.1,

P (0 < X < 3) = P (0 < X ≤ 2) = P (X ≤ 2) − P (X ≤ 0)

= B(2; 25, .05) − B(0; 25, .05) =. 873 − .277 = 0. 596.

b) Calculate the expected value and standard deviation of X. Solution :

μ = np = 25 · .05 = 1. 25 , σ =

np(1 − p) =

  1. After being put into service, some buses have developed cracks on the underside of the main frame. Suppose a city has 25 of these buses, and cracks have actually appeared in 8 of them.

a) If a sample of 5 buses is chosen at random, what is the probability that exactly 4 of the 5 will have cracks?

Solution : Let X = number of buses with cracks in a sample. The order is not relevant. A sample consists of 5 buses. There are this many ways to select 5 out of 25:

C(25, 5) =

A sample of interest consists of 4 buses with cracks, selected out of 8, and 1 without ones, selected out of 17 = 25 - 8. There are these many of them

C(8, 4)C(17, 1) = 70 · 17 = 1190.

P = P (X = 4) =

b) If a sample of 5 buses is chosen at random, what is the probability that at least 4 of those selected will have cracks?

Solution : At least four means 4 or 5. Or 4 with cracks, 1 without cracks: C(8, 4)C(17, 1) = 1190, 5 with cracks, 0 without cracks: C(8, 5)C(17, 0) = 56.

P = P (X = 4) + P (X = 5) =

Extra: If a sample of 5 buses is chosen at random, what is the probability that exactly 4 of the 5 will have cracks, given that at least one of these five buses has a crack?

Solution :

P (X = 0) =

C(8, 0)C(17, 5)

C(25, 5)

, 1 − P (X = 0) =

P ({X = 4}|{X ≥ 1 }) =

P ({X = 4} ∩ {X ≥ 1 })

P (X ≥ 1)

P (X = 4)

1 − P (X = 0)

  1. For sample 0, -3, 1, 1, 3, -3:

a) find the mean and the median, Solution : Rearranged sample is: -3, -3, 0, 1, 1, 3. The median is ˜μ = (0 + 1)/2 =. 5.

x x^2 0 0 − 3 9 1 1 1 1 3 9 − 3 9 Sum: − 1 29

μ =

b) find the range and the standard deviation. Solution : The range is 3 − (−3) = 6.

σ^2 =

6 · 29 − (−1)^2

= 5. 76666666666667 , σ =

σ^2 = 2. 40138848724372.

  1. Two fair six-sided dice are tossed independently. Let M = the maximum of the two tosses [so M(1, 5) = 5, M(3, 3) = 3, etc.]. What is pmf of M?

Solution :

P (12 < X ≤ 16) = P (X = 13.5) + P (X = 15.9) =. 55.

  1. For rv X given by pdf

f (x) =

90 x^8 (1 − x), 0 < x < 1 0 , otherwise.

find

a) expected value and standard deviation. Solution :

μ = E(X) =

0

x · 90 x^8 (1 − x) dx =

0

90(x^9 − x^10 ) dx = 90

x^10 10

x^11 11

1 0

E(X^2 ) =

0

x^2 · 90 x^8 (1 − x) dx =

0

90(x^10 − x^11 ) dx = 90

x^11 11

x^12 12

1 0

= 90

σ^2 = E(X^2 ) − [E(X)]^2 = 0. 0123966942148759 ,

σ =

σ^2 = 0. 11134044285378.

b) P (X > .5), P (X > 0). Solution :

P (X > .5) =

  1. 5

90 x^8 (1 − x) dx =

  1. 5

90(x^8 − x^9 ) dx = 90

x^9 9

x^10 10

1

  1. 5

P (X > 0) =

0

90 x^8 (1 − x) dx =

−∞

f (x) dx = 1.

  1. Rv X is normally distributed with μ = 43 and σ = 4.5.

a) What is the probability that X is greater than 45 and is not greater than 55 at the same time?

Solution :

P (45 < X < 55) = P (

< Z <

) ≈ P (. 44 < Z < 2 .67)

b) What value c is such that P (c ≤ Z) = .121? [Remark: it is Z, not X.]

0 .121 = P (c ≤ Z) = 1 − P (Z < c) = 1 − Φ(c), implies Φ(c) = 0. 879.

Table A.3 value: Φ(1.17) = .879.

Answer: c = 1. 17. c) If five values of X are independently selected, what is the probability that at most four of the values are exceeding 45? Hint: it is a binomial experiment.

Solution : The binomial experiment, n = 5. A Success is: value of X is exceeding 45, probability of Success

p = P (X > 45) = 1 − P (Z ≤

Let Y = number of Successes. We are looking for

P (Y ≤ 4) = 1 − P (Y > 4) = 1 − P (Y = 5) = 1 − C(5, 5)p^5 (1 − p)^0

= 1 −. 335 = 0. 9960864607.

  1. The joint pmf of two random variables X and Y is given by

y 0 1 2 0 0.10 0.04 0. x 1 0.08 0.20 0. 2 0.06 0.14 0.30.

a) Compute P (X ≤ Y + 1). Solution : p(x, y) = P (X = x and Y = y).

P (X ≤ Y + 1) = p(0, 0) + p(0, 1) + p(0, 2) + p(1, 0) + p(1, 1) + p(1, 2) + p(2, 1) + p(2, 2)

=. 94.

b) Compute the marginal pmf of X and Y. Answer: x 0 1 2 pX (x) .16 0.34 0.

y 0 1 2 pY (y) .24 0.38 0.

A ∩ C = RRR.

C ∩ Bc^ = RRR.

  1. In a suburb, 60% of all households subscribe to the metropolitan newspaper published in a nearby city, 80% subscribe to the local paper, and 50% of all householdes subscribe to both papers. If a household is selected at random, what is the probability that it subscribes to

a) at least one of the two newspapers? Solution : Let event A = {subscribes to the metropolitan newspaper}, event B = {subscribes to the local newspaper}, then P (A) = .6, P (B) = .8, P (A ∩ B) = .5.

P (A ∪ B) = P (A) + P (B) − P (A ∩ B) = .6 +. 8 − .5 =. 9.

b) exactly one of the newspapers? Solution :

P (A ∩ Bc) + P (B ∩ Ac) = P (A) − P (A ∩ B) + P (B) − P (A ∩ B) =. 6 − .5 +. 8 − .5 =. 4.