Engineering Statistics - 4
Engineering Statistics - 4
Reference Books
Montgomery D.C. & Runger G.C.
Applied Statistics and Probability for Engineers
John Wiley & Sons, Inc.
Rice J.A.
Mathematical Statistics and Data Analysis
Thomson Brooks/Cole
2.3 Conditional Probability and Independence
P(A ∩ B)
P(A|B) = .
P(B)
Example 46 An extrusion die is used to produce aluminum rods.
Specifications are given for the length and the diameter of the rods.
For each rod, the length is classified as too short, too long, or OK,
and the diameter is classified as too thin, too thick, or OK. In a
population of 1000 rods, the number of rods in each class is as
follows:
Let D denote the event that a part is defective and let F denote the
event that a part has a surface flaw. Compute P(D|F ), P(D|F c ),
P(F |D), and P(F c |D).
Example 48 The probability that it is Friday and that a student
is absent is 0.03. Since there are 5 school days in a week, the
probability that it is Friday is 0.2. What is the probability that a
student is absent given that today is Friday?
Example 49 At Toros University, the probability that a student
takes Probability Theory and Engineering Statistics is 0.087. The
probability that a student takes Probability Theory is 0.68. What
is the probability that a student takes Engineering Statistics given
that the student is taking Probability Theory?
Remark P(A|B) 6= P(B|A), in general.
Independent Events
Sometimes the knowledge that one event has occurred does not
change the probability that another event occurs.
P(A ∩ B) = P(A)P(B|A).
P(A ∩ B) = P(A)P(B).
Remarks (i) F (x) is defined for any number x, not just for the
possible values of X .
(ii) The summation of probabilities over all x’s is equal to 1, that
is, X
P(X = x) = 1.
x
Mean for Discrete Random Variables
or equivalently by
X
σX2 = x 2 P(X = x) − µ2X
x
where c is a constant.
(a) Find the value of the constant c so that p(x) is a probability
mass function.
(b) Find P(X = 2).
(c) Find the mean number of times the packet is sent.
(d) Find the variance of the number of times the packet is sent.
(e) Find the standard deviation of the number of times the packet
is sent.
Continuous Random Variables
A random variable is continuous if its probabilities are given by
areas under a curve.
Remark Note that the area under the curve does not depend on
whether the endpoints a and b are included in the interval.
Therefore probabilities involving X do not depend on whether end-
points are included and so we have
and Z ∞
P(X ≥ a) = P(X > a) = f (x)dx
a
The Cumulative Distribution Function of a Continuous Ran-
dom Variable
Let X be a continuous random variable with probability density
function f (x). The cumulative distribution function F (x) of X is
the function
Z x
F (x) = P(X ≤ x) = f (t)dt
−∞
Mean for Continuous Random Variables
Let X be a continuous random variable with probability density
function f (x). Then the mean of X is given by
Z ∞
µX = x f (x) dx
−∞
(a) What is the probability that the repair time is less than 2 hours?
(b) What is the probability that the repair time is between1.5 and
3 hours?
(c) Find the mean repair time.
(d) Find the cumulative distribution function of the repair times.
Example 58 The thickness of a washer (in mm) is a random
variable with probability density function
3
x(6 − x) 2 < x < 4
f (x) = 52
0 otherwise
(a) What is the probability that the thickness is less than 2.5 mm?
(b) What is the probability that the thickness is between 2.5 and
3.5 mm?
(c) Find the mean thickness.
(d) Find the standard deviation σ of the thicknesses.
(e) Find the probability that the thickness is within ±σ of the
mean.
(f) Find the cumulative distribution function of the thickness.
Example 59 Let the continuous random variable X denote the
current measured in a thin copper wire in milliamperes. Assume
that the range of X is [0, 20], and assume that the probability
density function of X is f (x) = 0.05 for 0 ≤ x ≤ 20.
(a) What is the probability that a current measurement is less than
10 milliamperes?
(b) Find the cumulative distribution function.
(c) Find the mean, variance, and standard deviation.
Fact Given the cumulative distribution function F (x). Then the
distribution function is
d F (x)
dx
as long as the derivative exists.
The Population Median and Percentiles
Let X be a continuous random variable with probability mass func-
tion f (x) and cumulative distribution function F (x). Then:
The median of X is the point xm that solves the equation
Z xm
F (xm ) = P(X ≤ xm ) = f (x)dx = 0.5
−∞