Probability and Statistics Exercises
Probability and Statistics Exercises
1))
The compact discs from a certain supplier are analyzed for scratch and shock resistance. The results from 100
discs tested are summarized as follows:
Scratch
Resistance
High Low
High 30 10
Shock Medium 22 8
Resistance Low 25 5
Let A denote the event that a disc has high shock resistance, and B denote the event that a disc has high scratch
resistance. If sample is selected at random, determine the following probabilities:
SOLUTION:
SOLUTION:
S = {1H, 1T, 2H, 2T, 3H, 3T, 4H, 4T, 5H, 5T, 6H, 6T}
A = { 1H, 3H, 5H}
P(A) = 3/12 = 0.25
SOLUTION:
SOLUTION:
b) A meal be chosen if either and appetizer or a soup is ordered, but not both is
(5 + 3) x 7 x 6 x 8 = 2688
SOLUTION:
Because P (B|A) not equal to P(B) , then A and B are not independent events
SOLUTION:
(i) What is the probability that the test returns a positive result?
(ii) If the patient has a positive, what is the probability that he has the disease?
(iii) What is the probability of a false positive?
SOLUTION:
Let D be the event that the patient has the disease, and E be the event that the test returns a positive result.
(ii) The probability that the patient has the disease given that he has a positive test actually is the
probability of a true positive, that is
SOLUTION:
Sample average:
Sample variance:
SOLUTION:
(i) Construct a cumulative frequency plot and histogram for the yield
(ii) Construct a stem-and-leaf display for these data.
(iii) Find the median, the quartiles, and the 5th and 95th percentiles for the yield
SOLUTION:
(i)
(ii) Stem-and-leaf display for yield: unit = 78|3 represents 78.3
F S LEAF
7
1 8 3
8
2 2 6 9
8
4 3 0 1 6 7
8
8 4 0 1 1 1 2 5 6 9
6 8 0 1 1 1 4 4
5
8
10 6 1 1 1 4 4 4 4 6 6 7
8
7 7 3 3 3 5 6 6 7
8
5 8 2 2 3 6 8
8
6 9 1 1 4 6 6 7
9
10 0 0 0 1 1 3 4 5 6 6 6
9
4 1 1 2 4 7
9
3 2 1 4 4
9
5 3 1 1 2 2 7
9
8 4 1 1 1 3 3 4 6 7
9
4 5 1 2 3 6
9
4 6 1 3 4 8
9
2 7 3 8
9
1 8 0
90
(ii) Median = 89.25, 1st Q = 86.1, 3rd Q = 93.1, 5th% = 83.325, 95th% = 96.355
The following data are the joint temperatures of the O-rings (°F) for each test firing or actual launch of the space
shuttle rocket motor (from Presidential Commission on the Space Shuttle Challenger Accident, Vol. 1, pp. 129–
131): 84, 49, 61, 40, 83, 67, 45, 66, 70, 69, 80, 58, 68, 60, 67, 72, 73, 70, 57, 63, 70, 78, 52, 67, 53, 67, 75, 61,
70, 81, 76, 79, 75, 76, 58, 31.
Solution:
x 0 50 100 15 200
0
0.15 0.3 k 0.2 0.05
5
Solution:
x: 0 1 2 3 4 5 6 7 8 9 10
f: 42 51 63 38 19 16 12 10 6 2 1
Solution:
(a) X: 0 1 2 3 4 5 6 7 8 9 10
f: 42 51 63 38 19 16 12 10 6 2 1
P(X): 0.16 0.20 0.24 0.15 0.07 0.06 0.05 0.04 0.02 0.01 0.00
(b)
Histogram P(X) vs X
0.30
0.25
0.20
P(X)
0.15
0.10
0.05
0.00
X
(d) E(X)=2.55
(e) SD(X) = 4.66
(a) What is the probability that all the student pilots successfully land the plane using the simulator?
(b) What is the probability that none of the student pilots successfully lands the plane using the simulator?
(c) What is the probability that exactly eight of the student pilots successfully land the plane using the
simulator?
Solution:
(a) The probability that all the student pilots successfully land the plane using
the simulator is
(b) The probability that none of the student pilots successfully lands the plane
using the simulator is
(c) The probability that exactly eight of the student pilots successfully land
the plane using the simulator is
Solution:
4 0 e−4
P( X =0 )= =0 .0183
(a) 0!
10 e−1
P( X ≥1)=1−P( X =0)=1− =0 . 6321
(b) 0!
13 e−1
P( X =3)= =0 .0613
(c) 3!
{ −2x
f(x)=¿ kxe , x>0 ¿ ¿¿¿
Find
(i) the value of constant k;
(ii) P(X > 1);
(iii) P(0 < X < 2)
(iv) the mean of X; and
(v) the variance of X.
Solution:
∞
1 −2 x ∞ ∞ 1 −2 x 1 1
∫ kxe −2 x
dx=−k xe | −k ∫− e dx=− e−2 x|∞0 k= k=1⇒ k=4
2 2 4 4
(i) 0 0 0
∞ ∞
P( X >1 )=∫ 4 xe −2 x
dx=−2 xe −2 x|∞1 + ∫ 2e−2 x dx=2e−2+e−2=3 e−2=0 . 406
(ii) 1 1
2 2
P(0< X <2)=∫ 4 xe −2x
dx=−2 xe−2 x|20 + ∫ 2 e−2 x dx=−4 e− 4+[−e−4 +1 ]
0 0
−4
(iii) =−5 e +1=0. 9084
∞
mean( X )=E( X )=∫ 4 x 2 e−2 x dx=1
(iv) 0
∞
3
E( X )=∫ 4 x 3 e−2 x dx=
2
0
2
3 1
∴ Var( X )= −1 2=
(v) 2 2
Solution:
Pdf of X is
f ( x)=¿ { 1
4
, 5≤x≤9 ¿ ¿¿¿
{ {
x 5 x
1 1
F(x)=¿ ∫ 0dx=0 for x<5 ∫ 0dx+∫ dx= x for 5≤x¿¿¿¿¿
¿
−∞ −∞ 5 4 4
(a)
(b)
¿
½
(c) ½
(d) Mean(X)=7
(e) SD(X)=1.154
Solution:
2
{
pdf for X is f (x)=¿ e−2/3 x , x≥0 ¿ ¿¿¿
3
∞
45 2
P( X ≥ )= ∫ e−2/3 x dx=−e−2/3 x|∞45 /60=0 . 6065
(i)
60 45/60 3
(ii) P(50/60 < X < 100/60) =0.2446
(iii) P(X < 150/60) = 0.8111
Solution:
365−300
P( X ≤365)=P(Z ≤ )=P( Z≤1 .3 )=φ(1. 3 )=0 . 9032
(i) 50
(ii) P(250 < X < 350)=P(-1 < Z < 1) = 0.6827
(iii) P(X > 400)=P(Z > 2)=1-0.02275
19−20 21 .5−20
P( 19≤X ≤21. 5 )=P( ≤Z≤ )=P(−3. 16≤Z ≤7 .9 )
√ 0 .1 √ 0 .1
(d) =Φ(7 . 9 )−Φ(−3 . 16 )=1−0 . 000789=0. 999211
X=x 0 1 2 3
P(X=x) 0.48 0.39 0.12 0.01
100 wires are sampled from this population. What is the probability that the average number of flaws per wire in
this sample is less than 0.5?
23−22. 3
P( X >23)=P(Z < )=P( Z<1. 4 )=1−P( Z≤1. 4 )
√ 0 . 25
So, =1−Φ(1 . 4 )=1−0. 919=0 . 081