Download Homework 1 Solutions

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts

Statistics wikipedia , lookup

History of statistics wikipedia , lookup

Birthday problem wikipedia , lookup

Ars Conjectandi wikipedia , lookup

Probability interpretations wikipedia , lookup

Probability wikipedia , lookup

Transcript
Department of Industrial Engineering
IE 202: Engineering Statistics
Homework
Spring 2012
1. A part selected for testing is equally likely to have been produced on any one of six cutting tools.
(a) What is the sample space?
(b) What is the probability that the part is from tool 1?
(c) What is the probability that the part is from tool 3 or tool 5?
(d) What is the probability that the part is not from tool 4?
Solution:
(a) What is the sample space?
We can assign numbers to each tool, so the sample space is {1, 2, 3, 4, 5, 6}.
(b) What is the probability that the part is from tool 1?
1/6
(c) What is the probability that the part is from tool 3 or tool 5?
2/6
(d) What is the probability that the part is not from tool 4?
5/6
2. The following circuits operate if and only if there is a path of functional devices from left to right. The
probability each device functions is as shown. Assume that the probability that a device functions does
not depend on whether or not other devices are functional. What is the probability that the circuit
operates?
(a) Circuit 1
0.9
0.9
0.8
0.95
0.95
0.9
(b) Circuit 2
0.9
0.8
0.7
0.95
0.95
0.95
1
(c) Circuit 3
0.9
0.95
0.9
0.99
0.95
0.9
Solution:
(a) For each part of this loop, the probability that it functions is 1 minus the probability that both
elements fail:
P r(loop 1) = 1 − (1 − 0.9)(1 − 0.95) = 0.995
P r(loop 2) = 1 − (1 − 0.9)(1 − 0.95) = 0.995
P r(loop 3) = 1 − (1 − 0.8)(1 − 0.9) = 0.98
P r(circuit functions) = P r(loop 1)P r(loop 2)P r(loop 3) = 0.995 × 0.995 × 0.98 = 0.97021
The whole circuit will function if all 3 sections function,
(b) For each section of the loop,
P r(route 1) = 0.9 × 0.8 × 0.7 = 0.504
P r(route 2) = 0.95 × 0.95 × 0.95 = 0.85737
P r(circuit functions) = 1 − (1 − P r(route 1)) (1 − P r(route 2))
= 1 − (1 − 0.504)(1 − 0.85737) = 0.92926
(c) Similarly to the previous two sections:
P r(loop 1) = 1 − (1 − 0.9)(1 − 0.9)(1 − 0.9) = 0.999
P r(loop 2) = 1 − (1 − 0.95)(1 − 0.95) = 0.9975
P r(loop 3) = 0.99
P r(circuit functions) = P r(loop 1)P r(loop 2)P r(loop 3) = 0.999 × 0.9975 × 0.99 = 0.98653
3. Disks of polycarbonate plastic from a supplier are analyzed for scratch and shock resistance. The results
from 100 disks are summarized as follows:
Shock Resistance
high low
scratch resistance high 70
9
low
16
5
(a) If a disk is selected at random, what is the probability that its scratch resistance is high and its
shock resistance is high?
2
(b) If a disk is selected at random, what is the probability that its scratch resistance is high or its
shock resistance is high?
Solution:
(a) If a disk is selected at random, what is the probability that its scratch resistance is high and its
shock resistance is high?
70
70
=
= 0.7
70 + 9 + 16 + 5
70 + 9 + 16 + 5
(b) If a disk is selected at random, what is the probability that its scratch resistance is high or its
shock resistance is high?
70 + 9 + 16
95
=
= 0.95
70 + 9 + 16 + 5
100
4. For the data above in the previous question, let A denote the event that a disk has high shock resistance,
and let B denote the event that a disk has high scratch resistance.
Determine the following probabilities:
(a)
(b)
(c)
(d)
P (A)
P (B)
P (A|B)
P (B|A)
Solution:
(a) P (A) =
(b) P (B) =
(c) P (A|B)
(d) P (B|A)
70+16
100 = 0.86
70+9
100 = 0.79
70
= PP(AB)
(B) = 79
70
= PP(AB)
(A) = 86
= 0.88607
= 0.81395
5. The edge roughness of slit paper products increases as knife blades wear. Only 1% of products slit with
new blades have rough edges, 3% of products slit with blades of average sharpness exhibit roughness,
and 5% of products slit with worn blades exhibit roughness. If 25% of the blades in manufacturing are
new, 60% are of average sharpness, and 15% are worn, what is the probability that a randomly selected
product has rough edges?
Solution:
N =
V =
W =
R =
cut by new blade
cut by average blade
cut by worn blade
product has rough edges
P r(R|N ) = 0.01
P r(R|V ) = 0.03
P r(R|W ) = 0.05
P r(N ) = 0.25
P r(V ) = 0.60
P r(W ) = 0.15
P r(R) = P r(R|N )P r(N ) + P r(R|V )P r(V ) + P r(R|W )P r(W )
= 0.01 × 0.25 + 0.03 × 0.60 + 0.05 × 0.15 = 0.0280
3
6. A lot of 100 semiconductor chips contains 20 that are defective.
(a) Two are selected, at random, without replacement, from the lot. Determine the probability that
the second chip selected is defective.
(b) Three are selected, at random, without replacement, from the lot. Determine the probability that
all are defective.
Solution:
(a) Two are selected, at random, without replacement, from the lot. Determine the probability that
the second chip selected is defective.
P r(2nd is defective) = P r(1st is defective and 2nd is defective)
+ P r(1st is good and 2nd is defective)
= P r(2nd is defective|1st is defective)P r(1st is defective)
=
+ P r(2nd is defective|1st is good)P r(1st is good)
19
20
20
80
×
+
×
= 0.19999
99 100 99 100
(b) Three are selected, at random, without replacement, from the lot. Determine the probability that
all are defective.
20
19 18
P r(3 are all defective) =
×
×
= 0.00704
100 99 98
7. The British government wants to give information to farmers about “foot and mouth disease” by mailing
brochures to farmers around the country. It is estimated that 99% of farmers who receive the brochure
will have enough information to deal with the disease, but only 90% of the farmers who don’t get the
brochure will have enough information to deal with the disease. After the first 3 months of mailing,
95% of farmers received the informative brochure. Compute the probability that a randomly selected
farmer will be able to deal with the disease.
Solution:
D = can deal with disease
P = received pamphlet
P r(D|P ) = 0.99
P r (D|P c ) = 0.90
P r(P ) = 0.95
P r(D) = P r(D|P )P r(P ) + P r (D|P c ) P r (P c ) = 0.99 × 0.95 + 0.90 × 0.05 = 0.9855
8. An e-mail message can travel through one of two routes to the server. The probability of transmission
error in each of the servers and the proportion of messages that travel each route are shown in the
following table. Assume that the servers are independent.
route 1
route 2
percentage of messages
30
70
probability of error
server 1 server 2 server 3 server 4
0.01
0.015
0.02
0.003
(a) What is the probability that a message will arrive without error?
4
(b) If a message arrives in error, what is the probability it was sent through route 1?
Solution:
(a) What is the probability that a message will arrive without error?
P r(route 1) = 0.3
P r(route 2) = 0.7
P r(error|route 1) = (1 − 0.01)(1 − 0.015) = 0.97515
P r(error|route 2) = (1 − 0.02)(1 − 0.003) = 0.97706
P r(error) = P r(error|route 1)P r(route 1) + P r(error|route 2)P r(route 2)
= 0.97515 × 0.3 + 0.97706 × 0.7 = 0.97648
(b) If a message arrives in error, what is the probability it was sent through route 1?
P r(route 1|error) =
=
=
P r(error|route1)P r(route1)
P r(error)
0.97515 × 0.3
0.97515 × 0.3 + 0.97706 × 0.7
0.97515 × 0.3
= 0.29958
0.97648
9. Read about Simpson’s Paradox from the wikipedia: http://en.wikipedia.org/wiki/Simpson%27s paradox
the section Description and Implications to Decision Making and answer the following question:
An article in the British Medical Journal [Comparison of Treatment of Renal Calculi by Operative
Surgery, Percutaneous Nephrolithotomy, and Extracorporeal Shock Wave Lithotripsy (1986, Vol. 82,
pp. 879892)] provided the following discussion of success rates in kidney stone removals. Open surgery
had a success rate of 78% (273/350) while a newer method, percutaneous nephrolithotomy (PN),. had
a success rate of 83% (289/350). This newer method looked better, but the results changed when stone
diameter was considered. For stones with diameters less than two centimeters, 93% (81/87) of cases of
open surgery were successful compared with only 83% (234/270) of cases of PN. For stones greater than
or equal to two centimeters, the success rates were 73% (192/263) and 69% (55/80) for open surgery
and PN, respectively. Open surgery is better for both stone sizes, but less successful in total. In 1951,
E. H. Simpson pointed out this apparent contradiction (known as Simpsons Paradox) but the hazard
still persists today.
Explain how open surgery can be better for both stone sizes but worse in total. Suppose you are a
surgeon and you will operate on a patient with a kidney stone. Which operation would you use?
5