Lecture12-Ch4 - GENG200-L2
Lecture12-Ch4 - GENG200-L2
1
GENG 200- L2
Probability and Statistics
3
Chapter 4 Outline
4
Continuous Random Variables
› A continuous random variable is a random variable with an interval
(either finite or infinite) of real numbers for its range
5
4.1 Probability Distributions and Probability
Density Functions
› A probability density function f(x) can be used to describe the probability
distribution of a continuous random variable X
PDF is
analogous to Computationally, to go
PMF but it is from discrete to
not a
probability continuous, simply
replace sums by
integrals!
What is the
total area
𝑃(a < 𝑋 < b) = area under the graph between a and b under the
pdf 𝑓(𝑥)?
Example 4.1 | Electric Current
Let the continuous random variable X denote the current
measured in a thin copper wire in milliamperes (mA).
Assume that the range of X is [4.9, 5.1] and the probability density function of X is
f(x) = 5.
What is the probability that a current is less than 5mA?
5 5
P ( X 5) = f ( x)dx = 5 dx = 0.5
4.9 4.9
9
Example 4.3 | Electric Current
For the copper wire current measurement in Example 4.1, the cumulative
distribution function of the random variable X consists of three expressions. If x <
4.9, f(x) = 0. Therefore,
10
Probability Density Function from the Cumulative
Distribution Function
› The probability density function of a continuous random variable can be
determined from the cumulative distribution function by differentiating
11
Example 4.4 | Reaction Time
› The time until a chemical reaction is complete (in
milliseconds) is approximated by this cumulative distribution
function:
F ( x) =
0 for x 0
1 − e −0.01x for 0 x
f ( x) =
dF ( x ) d 0
dx
=
dx 1 − e −0.01x =0
0.01e −0.01x
for x 0
for 0 x
13
Example 4.5 | Electric Current
14
Expected Value of a Function of a
Continuous Random Variable
Example 4.6
X is the current measured in mA. What is the expected value of power when the
resistance is 100 ohms? Use the result that power in watts 𝑃 = 10 − 6 𝑅𝐼2, where I is
the current in milliamperes and R is the resistance in ohms. Now, ℎ(𝑋) =
10−6 100𝑋2. Therefore,
15
4.4 Continuous Uniform Distribution
16
Continuous Uniform Distribution
The variance of X is
m = E ( X ) = 5 mA and V ( X ) = =0.0033 mA 2
12 Figure 4-9
18