Unit 9
Unit 9
(EE3006/3006A)
1
(EE3006/3006A)
Probability or statistics
(EE3006/3006A)
n
n! k 1
k
2
(EE3006/3006A)
Example: Three awards will be given for a class of 25 students in the department of
electrical engineering each year. If each student can receive at most one award,
how many possible selection are there?
25!
P
25 3 25 24 23 13,800.
(25 3)!
5
(EE3006/3006A)
3
(EE3006/3006A)
1.2 Events
• An event is a set of outcomes, i.e., a subset of a sample space.
• An event may be a subset that includes the entire sample space S, or a
subset of S called the null set and denoted by the symbol ϕ, which
contains no element at all.
• The complement of an event A with respect to S is the subset of all
elements of S that are not in A. We denote the complement of A by the
symbol A.
(EE3006/3006A)
The union of the two events A and B, denoted by the symbol A∪B, is
the event containing all the elements that belong to A or B or both.
4
(EE3006/3006A)
A ∩ B = regions 1 and 2;
B ∩ C = regions 1 and 3;
A ∪ C = regions 1, 2, 3, 4,
5, and 7;
B ∩ A = regions 7 and 4;
A ∩ B ∩ C = region 1;
(A ∪ B) ∩ C= regions 4, 1,
and 3;
Events represented by various regions
(EE3006/3006A)
10
5
(EE3006/3006A)
Additive rules
Theorem 1: If A and B are any two events, then
* Example :
John was interviewed at two companies he likes, he assesses that his probability
of getting an offer from company A is 0.8, and the probability of getting an offer
from company B is 0.6. He believes that the probability he will get offers from
both companies is 0.5. What is the probability that he will get at least one offer?
11
(EE3006/3006A)
Conditional probability
The probability of an event B given that the event A has occurred is called
a conditional probability and is denoted by P(B|A) (reads as “probability
of B given A” or “probability of B under the condition A”)
Multiplicative rules
Theorem 1: If the events A and B can both occur in an experiment, then
12
6
(EE3006/3006A)
• One can use a capital letter, say X, to denote a random variable and
its corresponding small letter, x in this case, for one of its values.
• Random variables (RV) can be classified into:
13
(EE3006/3006A)
Probability distributions
=> The mathematical function describing the possible values of a random
variable and their associated probabilities is known as a
probability distribution.
14
7
(EE3006/3006A)
• Cumulative distribution
Cumulative distribution describes the probability that a real-valued
random variable X with a given probability distribution will be found
at a value less than or equal to x.
Intuitively, it is the "area so far" function of the probability distribution.
15
(EE3006/3006A)
16
8
(EE3006/3006A)
Example 1:
A batch containing 7 components is sampled by a quality inspector;
the batch contains 4 good components and 3 defective components.
A sample of 3 is taken by the inspector. Find the expected value of
the number of good components in this sample.
17
(EE3006/3006A)
18
9
(EE3006/3006A)
The positive square root of the variance, i.e., σ, is called the standard
deviation of X.
19
(EE3006/3006A)
* Example 2:
Let the random variable X represent the number of automobiles that are
used for official business purposes on any given workday. The
probability distribution for company A is
20
10
(EE3006/3006A)
Solution:
=E(X)=10.3+20.4+30.3=2.0
σA2
B=00.2+10.1+20.3+30.3+40.1=2.0,
σB2
21
(EE3006/3006A)
22
11
(EE3006/3006A)
Example 3:
23
(EE3006/3006A)
12
(EE3006/3006A)
25
(EE3006/3006A)
Example 4:
Let X represent the number that may appear on top when we toss a
dice, find the mean and variance of X.
1 2 3 4 5 6
26
13
(EE3006/3006A)
27
(EE3006/3006A)
28
14
(EE3006/3006A)
* Example 5:
It is conjectured that an impurity exists in 30% of all drinking wells in a certain
rural community. In order to gain some insight into the true extent of the
problem, it is determined that some testing is necessary. It is too expensive to
test all of the wells in the area, so 10 are randomly selected for testing.
(a) Using the binomial distribution, what is the probability that exactly 3 wells
have the impurity, assuming that the conjecture is correct?
(b) What is the probability that more than 3 wells are impure?
29
(EE3006/3006A)
30
15
(EE3006/3006A)
Poisson distributions
31
(EE3006/3006A)
=> The form of the Poisson distribution becomes more and more symmetric,
even bell-shaped, as the mean grows large.
32
16
(EE3006/3006A)
* Example 6:
During a laboratory experiment, the average number of radioactive
particles passing through a counter in 1 millisecond is 4. What is the
probability that 6 particles enter the counter in 2 milliseconds?
Solution:
Using the Poisson distribution with x=6 and λt=4×2=8,
we have
33
(EE3006/3006A)
f (x)
ab
34
17
(EE3006/3006A)
35
(EE3006/3006A)
Example 7:
Suppose that a large conference room can be reserved for no more than 4
hours. Both long and short conferences occur quite often. In fact, it can be
assumed that the length X of a conference has a uniform distribution on the
interval [0, 4].
(a) What is the probability density function?
(b) What is the probability that any given conference lasts at least 3 hours?
36
18
(EE3006/3006A)
.
σ
f (x)
x
µ
37
(EE3006/3006A)
Properties:
i. The curve is symmetric about a
vertical axis through the mean μ,
and its maximum occurs at x = μ.
ii. The curve has its points of
Normal curves with μ1 = μ2 and σ1 < σ2.
inflection at x = μ ± σ; it is
concave downward if μ −σ <x <
μ+ σ and is concave upward
otherwise.
iii. The total area under the curve
and above the horizontal axis is
2 2 equal to 1.
Normal curves with μ1 < μ2 and σ1 < σ2.
38
19
(EE3006/3006A)
Dark blue area is less than one standard deviation away from the mean.
For the normal distribution, this accounts for about 68%, while two
standard deviations from the mean (medium and dark blue) account for
about 95%, and three standard deviations (light, medium, and dark
blue) account for about 99.7%.
39
(EE3006/3006A)
40
20
(EE3006/3006A)
41
(EE3006/3006A)
42
21
(EE3006/3006A)
Example 8:
Gauges are used to reject all components for which a certain
dimension is not within the specification 1.50 ± d. It is known that
this measurement is normally distributed with standard deviation 0.2.
Determine the value d such that the specifications “cover” 95% of the
measurements.
z
Therefore
x1=z1× + µ
=-1.96 ×0.2+1.5=1.108.
from which we obtain
? ?
d=1.5-1.108 = 0.392
43
(EE3006/3006A)
Classwork 9:
Q1. Prove that the mean and variance of the uniform distribution between interval
[a, b] are
44
22
(EE3006/3006A)
Reference:
R. E. Walpole, R. H. Myers, S. L. Myers, K. Ye
Probability & Statistics for Engineers & Scientists
Prentics Hall, Inc., 2002
45
23