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