Chapter6.31.32x

Download Report

Transcript Chapter6.31.32x

Part VI: Named Continuous Random
Variables
http://www-users.york.ac.uk/~pml1/bayes/cartoons/cartoon08.jpg
1
Comparison of Named Distributions
discrete
Bernoulli, Binomial,
Geometric, Negative
Binomial, Poisson,
Hypergeometric,
Discrete Uniform
continuous
Continuous Uniform,
Exponential, Gamma,
Beta, Normal
2
Chapter 31: Continuous Uniform R.V.
http://www.six-sigma-material.com/Uniform-Distribution.html
3
Uniform distribution: Summary
Things to look for: constant density on a line or area
Variable:
X = an exact position or arrival time
Parameter:
(a,b): the endpoints where the density is nonzero.
Density:
CDF:
0
ð‘Ĩ<𝑎
1
ð‘Ĩ−𝑎
𝑎
â‰Ī
ð‘Ĩ
â‰Ī
𝑏
𝑎â‰Īð‘Ĩâ‰Ī𝑏
𝑓ð‘Ĩ ð‘Ĩ = 𝑏 − 𝑎
ðđ𝑋 ð‘Ĩ =
𝑏−𝑎
0
𝑒𝑙𝑠𝑒
1
𝑏<ð‘Ĩ
𝑎+𝑏
𝔞 𝑋 =
,
2
(𝑏 − 𝑎)2
𝑉𝑎𝑟 𝑋 =
12
4
Example: Uniform Distribution (Class)
A bus arrives punctually at a bus stop every thirty
minutes. Each morning, a bus rider leaves her
house and casually strolls to the bus stop.
a) Why is this a Continuous Uniform distribution
situation? What are the parameters? What is X?
b) What is the density for the wait time in minutes?
c) What is the CDF for the wait time in minutes?
d) Graph the density.
e) Graph the CDF.
f) What is the expected wait time?
5
Example: Uniform Distribution (Class)
A bus arrives punctually at a bus stop every thirty
minutes. Each morning, a bus rider leaves her
house and casually strolls to the bus stop.
g) What is the standard deviation for the wait
time?
h) What is the probability that the person will wait
between 20 and 40 minutes? (Do this via 3
different methods.)
i) Given that the person waits at least 15 minutes,
what is the probability that the person will wait
at least 20 minutes?
6
Example: Uniform Distribution
0.04
0.03
0.02
0.01
0.00
-10
10
30
1
0.8
0.6
0.4
0.2
0
-10
10
30
7
Example: Uniform Distribution (Class)
A bus arrives punctually at a bus stop every thirty
minutes. Each morning, a bus rider leaves her
house and casually strolls to the bus stop.
Let the cost of this waiting be $20 per minute plus
an additional $5.
a) What are the parameters?
b) What is the density for the cost in minutes?
c) What is the CDF for the cost in minutes?
d) What is the expected cost to the rider?
e) What is the standard deviation of the cost to the
rider?
8
Chapter 32: Exponential R.V.
http://en.wikipedia.org/wiki/Exponential_distribution
9
Exponential Distribution: Summary
Things to look for: waiting time until first event occurs or
time between events.
Variable:
X = time until the next event occurs, X â‰Ĩ 0
Parameter:
: the average rate
Density:
CDF:
−𝜆ð‘Ĩ
𝜆𝑒
𝑓ð‘Ĩ ð‘Ĩ =
0
1
𝔞 𝑋 = ,
𝜆
ð‘Ĩ>0
𝑒𝑙𝑠𝑒
−𝜆ð‘Ĩ
1
−
𝑒
ðđ𝑋 ð‘Ĩ =
0
1
𝑉𝑎𝑟 𝑋 = 2
𝜆
ð‘Ĩ>0
𝑒𝑙𝑠𝑒
10
Example: Exponential R.V. (class)
Suppose that the arrival time (on average) of a large
earthquake in Tokyo occurs with an exponential
distribution with an average of 8.25 years.
a) What does X represent in this story? What values
can X take?
b) Why is this an example of the Exponential
distribution?
c) What is the parameter for this distribution?
d) What is the density?
e) What is the CDF?
f) What is the standard deviation for the next
earthquake?
11
Example: Exponential R.V. (class, cont.)
Suppose that the arrival time (on average) of a large
earthquake in Tokyo occurs with an exponential
distribution with an average of 8.25 years.
g) What is the probability that the next earthquake
occurs after three but before eight years?
h) What is the probability that the next earthquake
occurs before 15 years?
i) What is the probability that the next earthquake
occurs after 10 years?
j) How long would you have to wait until there is a
95% chance that the next earthquake will happen?
12
Example: Exponential R.V. (Class, cont.)
Suppose that the arrival time (on average) of a
large earthquake in Tokyo occurs with an
exponential distribution with an average of
8.25 years.
k) Given that there has been no large
Earthquakes in Tokyo for more than 5 years,
what is the chance that there will be a large
Earthquake in Tokyo in more than 15 years?
(Do this problem using the memoryless
property and the definition of conditional
probabilities.)
13
Minimum of Two (or More)
Exponential Random Variables
Theorem 31.5
If X1, â€Ķ, Xn are independent exponential random
variables with parameters 1, â€Ķ, n then
Z = min(X1, â€Ķ, Xn) is an exponential random
variable with parameter 1 + â€Ķ + n.
14