Faculty of Engineering and Applied Science
2010 Fall
[Descriptive Statistics and Elementary Probability]
The actual time, in hours, to failure of a prototype mechanical component in a turbine, is measured on fifty occasions in an experiment. The raw results are displayed here, sorted into increasing order:
11 | 14 | 20 | 23 | 31 | 36 | 39 | 44 | 47 | 50 |
59 | 61 | 65 | 67 | 68 | 71 | 74 | 76 | 78 | 79 |
81 | 84 | 85 | 89 | 91 | 93 | 96 | 99 | 101 | 104 |
105 | 105 | 112 | 118 | 123 | 136 | 139 | 141 | 148 | 158 |
161 | 168 | 184 | 206 | 248 | 263 | 289 | 322 | 388 | 513 |
The summary statistics include
[50, 100) hours |
n(T < 50 hours) = 9 |
9 0 112233344 (19) 0 5566667777788889999 22 1 00001123344 11 1 5668 7 2 04 5 2 68 3 3 2 2 3 8 1 4 1 4 1 5 1Use this stem-and-leaf diagram to construct a frequency (and cumulative frequency) table and hence find the median class.
Lifetime | Frequency | Cum. Freq. |
---|---|---|
[0, 50) | 9 | 9 |
[50, 100) | 19 | 28 |
[100, 150) | 11 | 39 |
[150, 100) | 4 | 43 |
[200, 250) | 2 | 45 |
[250, 300) | 2 | 47 |
[300, 350) | 1 | 48 |
[350, 400) | 1 | 49 |
[400, 450) | 0 | 49 |
[450, 500) | 0 | 49 |
[500, 550) | 1 | 50 |
(19)
.]
263, 289, 322, 388, 513 |
A box contains 11 different [distinguishable] gear wheels. In how many ways can 3 gear wheels be drawn from the box, if they are drawn
Each of 12 refrigerators of a certain type has been returned to a distributor because of the presence of a high-pitched oscillating noise when the refrigerator is running. Suppose that four of these 12 have defective compressors and the other eight have less serious problems. If they are examined in random order, let X = the number among the first six examined that have a defective compressor. Compute
[Note: The probability distribution here is hypergeometric. It is not binomial, because the refrigerators are being sampled without replacement from a small population. Knowledge of the hypergeometric probability distribution is not essential for the correct solution of this problem.]
The population contains 4 defective compressors, of
which x are in the random sample
and
the population contains 8 good compressors, of
which 6 – x are in the random sample.
From the total population of 12 compressors, a random sample
of total size 6 is being drawn.
The probability distribution is
p(x) = 4Cx ×
8C6 – x /
12C6 ,
(x = 0, 1, 2, 3, 4 only).
Therefore P[ X = 1] =
4C1 ×
8C6 – 1 /
12C6 = ... =
4 × 56 / 924
= 8 / 33 = .2424
P[ X > 4] = P[ X = 4]
= 4C4 ×
8C6 – 4 /
12C6 = ... =
1 × 28 / 924
= 1 / 33 = .0303
Given the previous work in this question, it is easier to
evaluate the probability via the complementary event (which is
X = 4}).
P[1 < X
< 3] = 1 –
P[X = 0] – P[X = 4]
= 1 –
4C0 ×
8C6 – 0 /
12C6 – 1 / 33
= 1 –
1 × 28 / 924 – 1 / 33
= 1 – 2 / 33
= 31 / 33 = .9394
[Omitted calculation details:
4C0 = 4C4 = 1 ;
4C1 = 4 ;
A mathematics professor teaches both morning
and afternoon sections of a course.
Let A = {the professor gives a bad morning lecture}
and B = {the professor gives a bad afternoon lecture}.
If P[A] = .3 , P[B] = .2 and
P[A B] = .1 ,
then calculate the following probabilities (a Venn diagram might
help) and calculate the equivalent odds:
First note that the odds r that are equivalent to
a probability p are given by
P[B | A] = P[A B] / P[A]
= .1 / .3
= 1 / 3 = .3333
r = 1:2 on = 2:1 against.
P[A ~B] =
P[A] –
P[A
B] =
.3 – .1 = .2
(total probability law)
P[~B | A] = P[~B A] / P[A]
= .2 / .3
= 2 / 3 = .6667
r = 2:1 on.
OR
Total probability law (and part (a))
P[~B | A] = 1 –
P[B | A] = 1 – 1/3
= 2 / 3
r = 2:1 on.
P[~A B] =
P[B] –
P[A
B] =
.2 – .1 = .1
and P[~A] = 1 – P[A]
= .7
P[B | ~A] = P[B ~A] / P[~A]
= .1 / .7
= 1 / 7 = .1429
r = 1:6 on = 6:1 against.
P[~A ~B] =
P[~(A
B)]
= 1 –
P[A
B]
= 1 – P[A] –
P[B] + P[~A
B]
= 1 – .3 – .2
+ .1 = .6
P[~B | ~A] = P[~B ~A] / P[~A]
= .6 / .7
= 6 / 7 = .8571
r = 6:1 on.
OR
Total probability law (and part (c))
P[~B | ~A] = 1 –
P[B | ~A] = 1 – 1/7
= 6 / 7
r = 6:1 on.
If, at the conclusion of the afternoon class, the professor is heard to mutter “what a rotten lecture”, then what is the probability that the morning lecture was also bad?
P[A | B] = P[A B] / P[B] =
.1 / .2
= 1 / 2 = .5000
r = 1:1 = even odds.
An engineer states that the odds of a prototype microchip
surviving a current of 3 µA for 2 hours is
Odds of “4 to 1 against” means
“1 to 4 on”.
r = 1:4
Þ
probability p = r / (r + 1)
= (1/4) / (5/4) =
1/5.
E = { 1, 2, 3, 5 }
Þ
P[E] = 4/6 = 2/3
Þ
Odds on E are r = p /
(1 - p) = (2/3) / (1/3)
r = 2:1 on (or 1:2 against).
Odds vs. Bookies’ Odds
In a five horse race, you can place a bet of
$180pi and if event
Ei (= horse i wins) occurs,
then you win the bookie’s stake of $180.
The stake is the same for every horse.
The bookie quotes odds of
r1 = 5 to 4 on, | r2 = 3 to 1 against, | r3 = 7 to 2 against, |
r4 = 17 to 1 against |
and r5 = 17 to 1 against |
r1 = 5/4
Þ
p1 = (5/4) / (9/4) = 5/9
r2 = 1/3
Þ
p2 = (1/3) / (4/3) = 1/4
r3 = 2/7
Þ
p3 = (2/7) / (9/7) = 2/9
r4 = r5 = 1/17
Þ
p4 = p5 = (1/17) / (18/17) =
1/18
The sum of these five probabilities is 41/36 which is not
equal to 1.
The probabilities are therefore incoherent.
Answer: NO
The bookie’s net gain if horse h wins is
gh = (3
pi si) -
sh
= s ((3
pi) - 1)
(because the bookie’s stake is the same for all five horses)
= 180 × (41 - 36)
/ 36
The guaranteed profit is $25.
An electronic [or structural] system consists of five electronic
[or structural] components arranged as follows:
Each component is operative or fails under load. The probability of failure for each individual component is .01. The entire assembly fails only if the path from A to B is broken. The sample space S consists of all possible arrangements of operative and inoperative components.
There are 5 components, each of which can be operative or
non-operative (two possible states).
Therefore n(S) = 25 = 32.
Let E1 = "the assembly is operative";
E2 = "R2
has failed but the assembly is operative";
E3 = "R3
has failed but the assembly is operative";
and F = "the assembly has failed".
NO.
E2 occurs if components 1 and 3 are operative and component 2 fails, (regardless of the state of the other two components). Thus events E1 and E2 can both occur. The two events are therefore compatible.
NO.
E3 occurs if components 1, 5 and at least one of 2 and 4 are operative and component 3 fails. Thus events E1 and E3 can both occur. The two events are therefore compatible.
NO.
The assembly can be operative with only components 1, 4 and 5 operative (so that components 2 and 3 have failed). This configuration is part of both events E2 and E3. Events E2 and E3 are therefore compatible.
Let { 1 2 5 } represent the sample point "only components 1, 2 and 5 are operative, the other components have failed". Then the sample points in the event F are:
{ } { 1 } { 1 2 } { 1 2 4 } { 1 4 } { 1 5 } { 2 } { 2 3 } { 2 3 4 } { 2 3 5 } { 2 3 4 5 } { 2 4 } { 2 4 5 } { 2 5 } { 3 } { 3 4 } { 3 4 5 } { 3 5 } { 4 } { 4 5 } { 5 }
Therefore n(F) = 21.
or
It is easier to list the ways in which the assembly is operative (event ~F), because that event can occur only if component 1 is operative:
{ 1 2 3 } { 1 2 3 4 } { 1 2 3 5 } { 1 2 3 4 5 } { 1 2 5 } { 1 2 4 5 } { 1 3 } { 1 3 4 } { 1 3 4 5 } { 1 3 5 } { 1 4 5 }
Thus n(~F) = 11 Þ n(F) = 32 - 11 = 21.
NO.
For any one arrangement (such as { 1 3 5 }) with exactly three
operative components, the probability of that arrangement is
The sample points are, therefore, not all equally likely.
Use the second solution to part (e) above to group the sample points of ~F into subgroups of equally likely sample points:
Exactly two operative (probability for each point =
(.99)2×(.01)3
= .00000098010):
{ 1 3 } only.
n(two operative) = 1
Þ
P[two operative and assembly operative] =
.00000098010
Exactly three operative (probability for each point =
(.99)3×(.01)2
= .0000970299):
{ 1 2 3 }, { 1 2 5 }, { 1 3 4 }, { 1 3 5 }, { 1 4 5 } .
n(three operative) = 5
Þ
P[three operative and assembly operative] =
.0004851495
Exactly four operative (probability for each point =
(.99)4×(.01)1
= .0096059601):
{ 1 2 3 4 }, { 1 2 3 5 }, { 1 2 4 5 }, { 1 3 4 5 } .
n(four operative) = 4
Þ
P[four operative and assembly operative] =
.0384238404
All five operative (probability for each point =
(.99)5×(.01)0
= .95099005):
{ 1 2 3 4 5 } only.
n(five operative) = 1
Þ
P[five operative and assembly operative] = .95099005
Therefore P[assembly fails] = 1 -
P[assembly operative]
= 1 - (.00000098010 + .0004851495
+ .0384238404 + .95099005)
= .0101000 (correct to 6 significant figures).
There are seven candidates in an election for three officers on the executive committee of a club. In how many distinct ways can the voting members of the club fill the three vacancies if
The same person cannot be elected to more than one position at
the same time
® sampling without replacement.
The three positions are identical
®
order of selection is irrelevant
®
combinations; n = 7, r = 3 .
7C3 = 7! / (3! 4!) =
(7×6×5) / (3×2×1) =
35 |
---|
The three positions are distinct
®
order of selection matters
®
permutations; n = 7, r = 3 .
7P3 = 7! / 4! =
(7×6×5) =
210 |
---|
A certain rare disease is known to occur in 1% of the population.
A diagnostic test exists for this disease, but the test is not
perfect.
If a person has the disease, then the test will [correctly]
detect the disease 98% of the time.
If a person does not have the disease, then the test will
[incorrectly] claim a detection of the disease 10% of the time.
Given a positive test result [implying that the person has the disease], what are the odds that the test result is correct, [the person really does have the disease]?
Let D = the event “the person
really does have the disease”
and T = the event “the test
indicates that the person has the disease”
then P[D] = .01 ,
P[T | D] = .98 , and
P[T | ~D] = .10
The number P[D | T] is required.
By Bayes’ theorem,
P[D | T] = 98/1088 = 49/544
r [D | T] = 98/990 = 49/495 or
495 : 49 against |
---|
[The following tree diagram may be used instead.]
Adam Ant is determined to return to his home I
from his Aunt’s house A
over the lattice of twigs
shown below.
A ---- B ---- C | | | | | | D ---- E ---- F | | | | | | G ---- H ---- I
Being only a young ant, he can only move south (down the page) or east (right) at each junction. Where there is a choice, Adam is equally likely to choose each of the two twigs.
ABEFI
).
Two choices exist at each of the points A B D E .
Path | X |
---|---|
ABCFI | 2 |
ABEFI | 3 |
ABEHI | 3 |
ADEFI | 3 |
ADEHI | 3 |
ADGHI | 2 |
The set of possible values of X is thus
{ 2, 3 } |
---|
The six paths above are not equally likely!
On any path, the probability of reaching the next named point from
any of A B D E is 1/2.
The probability is 1 (absolutely certain) otherwise.
By the definition of X, each path has exactly X such
decision points and the decisions are all independent of each other.
Therefore, for each of the six possible paths, the probability that
that path is taken is (1/2)X.
P[X = x] = (number of paths) ×
(probability for a path)
P[X = 2] = 2 × (1/2)2 = 2/4
= 1/2
P[X = 3] = 4 × (1/2)3 = 4/8
= 1/2
Also see the Term Tests from the years 2008, 2007 and 2006.