Chapter 4powerpoint
Chapter 4powerpoint
Continuous
Random Variables
and Probability
Distributions
CHAPTER OUTLINE
4-1 Continuous Random Variables
4-2 Probability Distributions and Probability
Density Functions
4-3 Cumulative Distribution Functions
4-4 Mean and Variance of a Continuous
Random Variable
4-5 Continuous Uniform Distribution
4-6 Normal Distribution
4-7 Normal Approximation to the Binomial
and Poisson Distributions
4-8 Exponential Distribution
• They are used to measure physical characteristics such as height, weight, time,
volume, position, etc...
Examples
1. Let Y be the height of a person (a real number).
2. Let X be the volume of juice in a can.
3. Let Y be the waiting time until the next person arrives at the server.
a
x
6
Sec 4-3 Cumulative Distribution Functions
Example 4-1: Electric Current
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 mA], and assume that
the probability density function of X is
Definition
4-4 Mean and Variance of a Continuous Random Variable
Example 4-6
20
20 2 1
E(X2)= x (0.05) dx= 3 (0.05x3 ) = 133.33 V(X)= E(X2)- (E(X)) 2
0
= 133.33-100= 33.33
0
Continuous Uniform Distribution
• This is the simplest continuous distribution and analogous to its discrete
counterpart.
• This distribution is characterized by a density function that is “flat,” and thus
the probability is uniform in a closed interval [a, b].
• A continuous random variable X with probability density function
1
f(x) = for a ≤ x ≤ b
(b−a)
EX
a b
2
and
20 20
𝑥2 b a
2
9 10 x 10 11 10
P 9 X 11 P
2 2 2
P 0.5 z 0.5
P z 0.5 P z 0.5
0.69146 0.30854 0.38292
Using Excel
0.38292 = NORMDIST(11,10,2,TRUE) - NORMDIST(9,10,2,TRUE)
If you subdivide the data into 100 Z0.05 area to the right is 0.05
equal parts xth percentile is the value - This z value is the 95th percentile
such that x% of the data fall on or of standard normal distribution
below that value.
Example 4-14: Normally Distributed Current-2
Determine the value for which the probability that a current measurement is below 0.98.
X 10 x 10
P X x P
2 2
x 10
PZ 0.98
2
z 2.05 is the closest value.
z 2 2.05 10 14.1 mA.
98th percentile
Note:
• Poisson distribution : Mean and variance are same.
• Exponential distribution : Mean and standard deviation
are same.
Sec 4-8 Exponential Distribution 29
Example 4-21: Computer Usage-1
In a large corporate computer network, user log-ons to the system can be modeled as a Poisson
process with a mean of 25 log-ons per hour. What is the probability that there are no log-ons
in the next 6 minutes (0.1 hour)?
Let X denote the time in hours from the start of the interval until the first log-on.
P X 0.1
25 0.1
25 x
25e dx e 0.082
0.1
Continuing, what is the probability that the time until the next log-on is between 2
and 3 minutes (0.033 & 0.05 hours)?
0.05
P 0.033 X 0.05 25e25 x dx
0.033
An alternative solution is
P 0.033 X 0.05 F 0.05 F 0.033 0.152
Using Excel
0.148 = EXPONDIST(3/60, 25, TRUE) - EXPONDIST(2/60, 25, TRUE)
(difference due to round-off error)
• Continuing, what is the interval of time such that the probability that no log-on
occurs during the interval is 0.90? Another way to solve
P(X=0) = e-25s=0.9
P X x e25 x 0.90, 25 x ln 0.90 s= 0.00421 h
0.10536
x 0.00421 hour 0.25 minute
25
• What is the mean and standard deviation of the time until the next log-in?
1
1
0.04 hour 2.4 minutes
25
1 1
0.04 hour 2.4 minutes
25
Sec 4-8 Exponential Distribution 32
Lack of Memory Property
An interesting property of an exponential random variable concerns conditional
probabilities.
No particle has been detected in the last 3 minutes. What is the probability that a
particle is detected in the next 30 seconds?
P 3 X 3.5 F 3.5 F 3
P X 3.5 X 3
0.035
0.30
P X 3 1 F 3 0.117
The probability that a particle will be detected depends only on the interval of
time, not its detection history.
Sec 4-8 Exponential Distribution
34