Chapter 6 Statistics For Engineer
Chapter 6 Statistics For Engineer
x
6-2. Suppose that for f ( x ) = e
for x > 0
(a )
Example
6-1. Suppose that for f ( x ) = e
probabilities:
(a) P ( 1 < X )
(c) P ( X = 3 )
P( X > x) =
d x = ( e x ) |x = 0 .1 0
x
x
ln e = ln 0.10
x = ln 0.10
x = 2.3
w h ere ln (0 .1 0) = 2 .3
(e) P ( 3 X )
Solution
(a )
P (1 < X ) = e 1
6-3 The probability density function of the length of a hinge for
fastening a door is f (x) =1.25 for 74.6 < x < 75.4 mm. Determine
the following:
Solution
Graph of F(x)
Solution
1
( a ) P ( X > 0) =
0
1
( b ) P ( X > 0) =
1.5 x 3
3
3
1.5 x dx =
= 0.5(1 ) 0.5(0 ) = 0.5
3
0.5
1.5 x 3
= 0.5(13 ) 0.5(0.5 3 ) = __________
1.5 x dx =
0.5
(i)
0.5
3 0.5
1.5 x
1.5 x 2 dx =
3 0.5
0.5
(ii)
Cumulative distribution function
Example 6-5
5
Solution
Solution
Definition
0 .5 x 2 ,
F ( x) =
2
2 x 0 .5 x 1,
1,
x<0
0 x<1
1 x<2
x2
Mean :
E(X) =
8
V(X)=
E(X2) =
6-8
Variance: V(X) =
= E(X2) [E(X)]2
10
=
=
2
0 < x <1
x
3
1
f ( x) =
2< x <4
3
otherw ise
0
Determine the mean and variance of X.
2 5
for 2< x 5
And
E(X2) =
=
2 5
2 5
Solution
Mean = E(X) =
10
'
'
Suppose f (x) = 0.125x for 0 < x < 4. Determine the mean and
variance of X.
Solution
Example 6-7
Given probability density function, f (x)=
Determine the mean and variance of X.
Solution
a) Mean = E(X) =
(
(
'
And
E(X2) =
10
The most widely used model for the distribution of a random variable is
a normal distribution. [Normal (Gauss) Distribution]
The bell-shaped curve also known as normal curve is widely used to
approximately many phenomena.
Also, from the symmetry of f (x), P(X > ) = P(X < ) = 0.5. Because
f(x) is positive for all x, this model assigns some probability to each
interval of the real line. However, the probability density function
decreases as x moves farther from . Consequently, the probability that a
measurement falls far from is small, and at some distance from the
probability of an interval can be approximated as zero.
The area under a normal probability density function beyond 3 from
the mean is quite small. This fact is convenient for quick, rough sketches
of a normal probability density function. The sketches help us determine
probabilities. Because more than 0.9973 of the probability of a normal
distribution is within the interval ( 3, +3), 6 is often referred to as
the width of a normal distribution. Advanced integration methods can be
used to show that the area under the normal probability density function
from < x < is 1.
11
12
6-10 Find
(1) P(Z > 1.26) = 1 P(Z 1.26) = 1 0.896165= 0.103835
Z ~ N(0,1).
We can find the areas under the standard normal curve by referring to
Standard Normal Tables which give cumulative probabilities (z).
(2)
(3)
OR
P(Z > 1.37) = 1 P(Z < 1.37) = 1 0.085343= 0.914657
(4)
14
Z =
P (Z < 1.25)
~ N ( 0 ,1)
= 0.644309 0.105650
= 0.538659
Exercises
Question 1
Find
(1)
P( X a ) = P Z
(2)
P ( X b) = 1 P Z <
(3)
b
a
P ( a X b) = P
Z
b
a
= P Z
P Z
b
a
= PZ <
PZ <
15
16
Solution
Given X ~ N(10,4) means = 10 and = 4 = 2
(a)
13 10
)
2
= P( Z < 1.5)
= 0.933193
(b)
Hint
13 10
)
2
= P ( Z > 1.5)
= 1 0.933193
i) P(Z >
P(Z <
12.5 10
15 10
< Z <
)
2
2
= P(1.25 < Z < 2.5)
= P(Z < 2.5) P(Z < 1.25)
= 0.99379 0.89435
= 0.09944
) = 1 P( Z <
85
) = 0.05
and
= 0.06681
(c)
85
25
) = 0.10
Solve for and to obtain = 51.24 and =20.48 20.5 (on the board)
P(
6-12 Cooking sauces are sold in jars containing a stated weight of 500 g
of sauce. The jars are filled by a machine. The actual weight of
sauce in each jar is normally distributed with mean 505 g and
standard deviation 10 g. Find the probability of a jar containing
less than the stated weight.
0.30854
17
18
60 51.24
= 1 P ( Z 0.43)
6-14 The lengths of certain items follow a normal distribution with mean
cm and standard deviation 6 cm. It is known that 4.78% of the
items have a length greater than 82 cm. Find
(i) the value of the mean .
Ans: =71.98
= 1 0.666402 =0.333598
(iii). P(a < X< 74.65) = 0.75, convert X to Z, and obtain a =27.42
(iii )
Ans: 0.0485
a 51.24
P
< Z < 1.14 = 0.75
20.5
Exercise
The random variable X has a normal distribution with mean 20 and
standard deviation 4.
(i) Find P(X > 25).
a 51.24
a 51.24
0. 872857 P Z <
= 0.75
20.5
a 51.24
P Z <
= 0.872857 0.75 = 0.122857
20.5
(ii) Find the value of d such that P (20 < X < d) = 0.4641
Since P ( Z < 1 .1 6 ) = 0 .1 2 3 0 2 4 0 .1 2 2 8 5 7
a 5 1 .2 4
PZ <
= P ( Z < 1 .1 6 )
2 0 .5
a 5 1 .2 4
= 1 .1 6
2 0 .5
a = ( 1 .1 6 )( 2 0 .5 ) + 5 0 .2 4 = 2 6 .4 6
19
20
6-15 Suppose that X is a binomial random variable with n=100 and p=0.1
(a) Compute the exact probability that X is less than 4.
(b) Approximate the probability that X is less than 4 and compare
to the result in part (a).
Solution
Given n = 100 and p = 0.1
Therefore E(X) = np = (100)(0.1) = 10
V(X) = np(1p) = (100)(0.1)(0.9) = 9
= 9 = 3
(a)
(b)
Definition: Normal Approximation to the Binomial Distribution
4 10
P( X < 4) = P Z <
= P ( Z < 2 )
= 1 P ( Z 2)
= 1 0.977250
= 0.02275
21
22
P( X < 4) = P( X 3.5) = P Z
= P ( Z 2.17 ) = 0.015
6-6
CONTINUITY CORRECTIONS
APPROXIMATION
TO
IMPROVE
Definition
Even for a sample as small as 50 bits, the normal approximation is
reasonable. However, the probability P( X 2) is better approximated as
and this result is closer to the exact probability of 0.112 than the previous
result of 0.08.
As another example, P(X > 8) = P(X 9) and this is better approximated
as
23
24
P ( X 9) = P ( X 8.5)
Solution
Given n = 200 and p = 0.4,
Therefore E(X) = np = (200)(0.4) = 80
V(X) = np(1p) = (200)(0.4)(0.6) = 48
= 48 = 6.9282
9 0.5 5
PZ
2.12
= P ( Z 1.65)
= 1 P ( Z 1.65)
(a)
= 1 0.950529
= 0.049471 = 0.05
P( X 70) = P( X 70.5) = P Z
48
= P ( Z 1.37 )
= 0.085343
P (5 X 5) = P (5 0.5 X 5 + 0.5)
(b)
4 .5 5
5.5 5
= P(
Z
)
2 .1 2
2 .1 2
= P ( 0.2 4 Z 0.2 4 )
= P ( Z 0.24) P ( Z 0.24)
cc
48
48
= P ( q Z r )
= 0.594835 0.405165
= 0.18967
Note that
P ( X = 5) =
50
= P ( Z r ) P ( Z q )
C 5 ( 0 .1) 5 ( 0 .9 ) 4 5 = 0 .1 8 4 9
=
=
26
Solution
Given n = 25 and p =
Let X denotes the number of defective electrical connectors
Then E(X) = np = (25) (
)= 2.5
V(X) = (25) (0.1)(0.9) = 2.25
(a)
(b)
P ( X = 0) = P ( 0.5 X 0.5)
0.5 2.5
0.5 2.5
= P
Z
2.25
2.25
= P ( 2 Z 1.33 )
= P ( Z 1.33 ) P ( Z 2 )
= 0.091759 0.018309
= 0.07345
Normal approximation is closer to the binomial: however, it is still not
satisfactory since np =2.5 is not > 5
10, 000
= 1 0.503989 = 0.496011
27
28
Definition
The random variable X that equals the distance between successive counts
of a Poisson process with mean > 0 is an exponential random variable
with parameter . The probability density function of X is
And
Solution
(a)
E(X) = np = 50(0.1) = 5 and V(X)= 50(0.1)(0.9) = 4.5
30
Solution
If E(X) = 10, then =
1 e 0.1 x = 0.95
1 0.95 = e
0.1 x
0.05 = e 0.1 x
ln 0.05 = ln e
0.1 x
1
1
=
= 0.1
E ( X ) 10
2.9957
= 29.96
0.1
31