Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Variable
MATH142-2
Engineering Data Analysis
Course Outcome
Compute the probability distribution of a random variable for
both discrete and continuous data.
Intended Learning Outcomes
• At the end of the lesson, the students are• Understand the assumptions for
expected to continuous probability distributions
• Determine probabilities from the• Select an appropriate continuous
probability density functions; probability distribution to calculate
• Determine probabilities from cumulative probabilities for specific applications.
distribution functions and cumulative• Calculate probabilities, means and
distribution functions from probability variances for some common continuous
density functions, and the reverse; probability distributions
• Calculate means and variances for• Approximate probabilities for binomial
continuous random variables; and and Poisson distributions
• Calculate probabilities, determine means
and variances for some common
continuous probability distributions.
Continuous Random Variable
PROBABILITY DENSITY FUNCTION A histogram is an approximation to a
For a continuous random variable X, a probability density function.
probability density function is a function
such that
(1) f(x) ≥ 0
(2) ∫ 𝑓 𝑥 𝑑𝑥 = 1
CUMULATIVE DISTRIBUTION FUNCTION
(3) 𝑃 𝑎 ≤ 𝑋 ≤ 𝑏 = ∫ 𝑓 𝑥 𝑑𝑥
The cumulative distribution function of
area under f(x) from a to b for any a and b a continuous random variable X is
(4-1)
If X is a continuous random variable, for (4-3)
any x1 and x2, for −∞ < x < ∞.
P(x1 ≤ X ≤ x2)= P(x1 < X ≤ x2)
Then, given F(x), as long as
= P(x1 ≤ X < x2)= P(x1 < X < x2)
the derivative exists.
(4-2)
Mean and Variance of a Continuous Random Variable
Let the continuous random variable X 4-3/112 Electric Current For the copper
denote the current measured in a thin current measurement in Example 4-1, the
copper wire in milliamperes (mA). Assume cumulative distribution function of the
that the range of X is [4.9, 5.1] and the random variable X consists of three
probability density function of X is f(x) = 5. expressions.
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
0, 𝑥 < 4.9
What is the probability that a current is 𝐹 𝑥 = 5𝑥 − 24.5, 4.9 ≤ 𝑥 < 5.1
greater than 4.95 mA? 1, 5.1 ≤ 𝑥
5.1
P 4.95 X 5.1 f ( x )dx 0.75
4.95
Guided Learning Activity
4-2/111 Suppose that for 4-5/111 Suppose that for 3 < x <
0 < x < 8. Determine the following: 5. Determine the following probabilities:
(a) P(X < 2) (b) P(X < 9) (a) P(X < 4) (b) P(X > 3.5)
(c) P(2 < X < 4) (d) P(X > 6) (c) P(4 < X < 5) (d) P(X < 4.5)
(e) x such that P(X < x) = 0.95. (e) P(X < 3.5 or X > 4.5)
4-20/114 Determine the cumulative
distribution function for the distribution in • 4-6/111 Suppose that f(x) = e−(x − 4) for 4 <
Exercise 4-2. x. Determine the following:
4-40/116 Determine the mean and variance • (a) P(1 < X) (b) P(2 ≤ X < 5)
of the random variable in Exercise 4-2.
• (c) P(5 < X) (d) P(8 < X < 12)
• (e) x such that P(X < x) = 0.90
Guided Learning Activity
• 4-13/113 Suppose the cumulative 4-18/114 Suppose the cumulative
distribution function of the random distribution function of the random
variable X is variable X is
0, 𝑥 < 0 0, 𝑥 < −2
𝐹 𝑥 = 0.2𝑥, 0 ≤ 𝑥 < 5 𝐹 𝑥 = 0.25𝑥 + 0.5, −2 ≤ 𝑥 < 2
1, 5 ≤ 𝑥 1, 2 ≤ 𝑥
Determine the following: Determine the following:
• (a) P(X < 2.8) (b) P(X > 1.5) (a) P(X < 1.8) (b) P(X > −1.5)
• (c) P(X < −2) (d) P(X > 6) (c) P(X < −2) (d) P(−1 < X < 1)
Exponential Distribution
P 0.033 X 0.05 25e -25x dx
0.033
0.05
-e -25x 0.152
In a large corporate computer network, user log-ons 0.033
F x 0
1- e -0.01 x
for x 0
for 0 x
• What is the Probability density function?
f x
dF x d 0
dx
dx 1 - e
-0.01 x
0
0.01e
-0.01 x
for x 0
for 0 x
• What is the probability that a reaction completes within
200 ms?
P X 200 F 200 1 - e -2 0.8647
P X > 25 P N 9
E N 25 1 2 12.5 slides in 25 hours
e -12.5 12.5
k
9
P N 9 0.2014
k 0 k!
• What is the probability that a bearing will last at least 6,000 hours?
6000
P X > 6,000 1- F 6,000 exp[-( 5000
) ^ 2]
e ^ -1.44 0.237
Practical Interpretation: Consequently, only 23.7% of all bearings last at least 6000 hours
• What lifetime is exceeded by 99% of lasers? • What is the mean and variance of the lifetime?
2
V X e2 e - 1 e 210 1.5 e1.5 - 1
2
2
exp 22.25 exp 2.25 - 1 39,070, 059,886.6
ln x - 10
Hence -2.33 and x exp 6.505 668.48 hours
1.5 SD X 197,661.5
Practical Interpretation:
The standard deviation of a lognormal random variable can be large relative to the mean
3.5 1
x
1.5
dx
2.5 1 0.7
1.5 0.5 2.5 0.7
1 - 0.7
2.5
0.59
• μ = E(X) = (a + b)/2
• σ2 = V(X) = (b − a)2/12
Summary
• Probability density function
•
•
•
•
References
• Montgomery and Runger. Applied Statistics and Probability for Engineers, 6th Ed. ©
2014
• Montgomery and Runger. Applied Statistics and Probability for Engineers, 5th Ed. ©
2011
• Walpole, et al. Probability and Statistics for Engineers and Scientists 9th Ed. © 2012,
2007, 2002