Part VI: Named Continuous Random Variables
description
Transcript of Part VI: Named Continuous Random Variables
![Page 1: Part VI: Named Continuous Random Variables](https://reader036.fdocuments.in/reader036/viewer/2022070421/5681625b550346895dd2ad15/html5/thumbnails/1.jpg)
1
Part VI: Named Continuous Random Variables
http://www-users.york.ac.uk/~pml1/bayes/cartoons/cartoon08.jpg
![Page 2: Part VI: Named Continuous Random Variables](https://reader036.fdocuments.in/reader036/viewer/2022070421/5681625b550346895dd2ad15/html5/thumbnails/2.jpg)
2
Comparison of Named Distributionsdiscrete continuous
Bernoulli, Binomial, Geometric, Negative
Binomial, Poisson, Hypergeometric, Discrete Uniform
Continuous Uniform, Exponential, Gamma,
Beta, Normal
![Page 3: Part VI: Named Continuous Random Variables](https://reader036.fdocuments.in/reader036/viewer/2022070421/5681625b550346895dd2ad15/html5/thumbnails/3.jpg)
3
Chapter 30: Continuous Uniform R.V.
http://www.six-sigma-material.com/Uniform-Distribution.html
![Page 4: Part VI: Named Continuous Random Variables](https://reader036.fdocuments.in/reader036/viewer/2022070421/5681625b550346895dd2ad15/html5/thumbnails/4.jpg)
4
Uniform distribution: SummaryThings to look for: constant density on a line or areaVariable:
X = an exact position or arrival timeParameter:
(a,b): the endpoints where the density is nonzero.
Density: CDF:
![Page 5: Part VI: Named Continuous Random Variables](https://reader036.fdocuments.in/reader036/viewer/2022070421/5681625b550346895dd2ad15/html5/thumbnails/5.jpg)
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.
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?
![Page 6: Part VI: Named Continuous Random Variables](https://reader036.fdocuments.in/reader036/viewer/2022070421/5681625b550346895dd2ad15/html5/thumbnails/6.jpg)
6
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?
![Page 7: Part VI: Named Continuous Random Variables](https://reader036.fdocuments.in/reader036/viewer/2022070421/5681625b550346895dd2ad15/html5/thumbnails/7.jpg)
7
Example: Uniform Distribution
-10 -5 0 5 10 15 20 25 30 35 400.00
0.01
0.02
0.03
0.04
-10 -5 0 5 10 15 20 25 30 35 400
0.2
0.4
0.6
0.8
1
![Page 8: Part VI: Named Continuous Random Variables](https://reader036.fdocuments.in/reader036/viewer/2022070421/5681625b550346895dd2ad15/html5/thumbnails/8.jpg)
8
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?
![Page 9: Part VI: Named Continuous Random Variables](https://reader036.fdocuments.in/reader036/viewer/2022070421/5681625b550346895dd2ad15/html5/thumbnails/9.jpg)
9
Chapter 31: Exponential R.V.
http://en.wikipedia.org/wiki/Exponential_distribution
![Page 10: Part VI: Named Continuous Random Variables](https://reader036.fdocuments.in/reader036/viewer/2022070421/5681625b550346895dd2ad15/html5/thumbnails/10.jpg)
10
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:
![Page 11: Part VI: Named Continuous Random Variables](https://reader036.fdocuments.in/reader036/viewer/2022070421/5681625b550346895dd2ad15/html5/thumbnails/11.jpg)
11
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?
![Page 12: Part VI: Named Continuous Random Variables](https://reader036.fdocuments.in/reader036/viewer/2022070421/5681625b550346895dd2ad15/html5/thumbnails/12.jpg)
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.
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?
![Page 13: Part VI: Named Continuous Random Variables](https://reader036.fdocuments.in/reader036/viewer/2022070421/5681625b550346895dd2ad15/html5/thumbnails/13.jpg)
13
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.)
![Page 14: Part VI: Named Continuous Random Variables](https://reader036.fdocuments.in/reader036/viewer/2022070421/5681625b550346895dd2ad15/html5/thumbnails/14.jpg)
14
Minimum of Two (or More) Exponential Random Variables
Theorem 31.5If 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.
![Page 15: Part VI: Named Continuous Random Variables](https://reader036.fdocuments.in/reader036/viewer/2022070421/5681625b550346895dd2ad15/html5/thumbnails/15.jpg)
15
Chapter 37: Normal R.V.
http://delfe.tumblr.com/
![Page 16: Part VI: Named Continuous Random Variables](https://reader036.fdocuments.in/reader036/viewer/2022070421/5681625b550346895dd2ad15/html5/thumbnails/16.jpg)
16
Normal Distribution: SummaryThings to look for: bell curve,Variable:
X = the eventParameters:
X = the mean
Density:
![Page 17: Part VI: Named Continuous Random Variables](https://reader036.fdocuments.in/reader036/viewer/2022070421/5681625b550346895dd2ad15/html5/thumbnails/17.jpg)
17
PDF of Normal Distribution (cont)
http://commons.wikimedia.org/wiki/File:Normal_distribution_pdf.svg
![Page 18: Part VI: Named Continuous Random Variables](https://reader036.fdocuments.in/reader036/viewer/2022070421/5681625b550346895dd2ad15/html5/thumbnails/18.jpg)
18
PDF of Normal Distribution
http://www.oswego.edu/~srp/stats/z.htm
![Page 19: Part VI: Named Continuous Random Variables](https://reader036.fdocuments.in/reader036/viewer/2022070421/5681625b550346895dd2ad15/html5/thumbnails/19.jpg)
19
![Page 20: Part VI: Named Continuous Random Variables](https://reader036.fdocuments.in/reader036/viewer/2022070421/5681625b550346895dd2ad15/html5/thumbnails/20.jpg)
20
PDF of Normal Distribution (cont)
http://commons.wikimedia.org/wiki/File:Normal_distribution_pdf.svg
X 00.2
X ( 2)0.5
X 05
X 01
![Page 21: Part VI: Named Continuous Random Variables](https://reader036.fdocuments.in/reader036/viewer/2022070421/5681625b550346895dd2ad15/html5/thumbnails/21.jpg)
21
Procedure for doing Normal Calculations
1) Sketch the problem.2) Write down the probability of interest in
terms of the original problem.3) Convert to standard normal.4) Convert to CDFs.5) Use the z-table to write down the values of
the CDFs.6) Calculate the answer.
![Page 22: Part VI: Named Continuous Random Variables](https://reader036.fdocuments.in/reader036/viewer/2022070421/5681625b550346895dd2ad15/html5/thumbnails/22.jpg)
22
Example: Normal r.v. (Class)
The gestation periods of women are normally distributed with = 266 days and = 16 days. Determine the probability that a gestation period is
a) less than 225 days.b) between 265 and 295 days.c) more than 276 days.d) less than 300 days.e) Among women with a longer than average
gestation, what is the probability that they give birth longer than 300 days?
![Page 23: Part VI: Named Continuous Random Variables](https://reader036.fdocuments.in/reader036/viewer/2022070421/5681625b550346895dd2ad15/html5/thumbnails/23.jpg)
23
Example: “Backwards” Normal r.v. (Class)
The gestation periods of women are normally distributed with = 266 days and = 16 days. Find the gestation length for the following situations:
a) longest 6%.b) shortest 13%.c) middle 50%.
![Page 24: Part VI: Named Continuous Random Variables](https://reader036.fdocuments.in/reader036/viewer/2022070421/5681625b550346895dd2ad15/html5/thumbnails/24.jpg)
26
Chapter 36: Central Limit Theorem(Normal Approximations to Discrete
Distributions – 36.4, 36.5)
http://nestor.coventry.ac.uk/~nhunt/binomial/normal.html
http://nestor.coventry.ac.uk/~nhunt/poisson/normal.html
![Page 25: Part VI: Named Continuous Random Variables](https://reader036.fdocuments.in/reader036/viewer/2022070421/5681625b550346895dd2ad15/html5/thumbnails/25.jpg)
27
Continuity Correction - 1
http://www.marin.edu/~npsomas/Normal_Binomial.htm
![Page 26: Part VI: Named Continuous Random Variables](https://reader036.fdocuments.in/reader036/viewer/2022070421/5681625b550346895dd2ad15/html5/thumbnails/26.jpg)
28
Continuity Correction - 2
X ~ Binomial(20, 0.5)
W~N(10, 5)
![Page 27: Part VI: Named Continuous Random Variables](https://reader036.fdocuments.in/reader036/viewer/2022070421/5681625b550346895dd2ad15/html5/thumbnails/27.jpg)
29
Continuity Correction - 3Discrete Continuousa < X a + 0.5 < Xa ≤ X a – 0.5 < X
X < b X < b – 0.5 X ≤ b X < b + 0.5
![Page 28: Part VI: Named Continuous Random Variables](https://reader036.fdocuments.in/reader036/viewer/2022070421/5681625b550346895dd2ad15/html5/thumbnails/28.jpg)
30
Normal Approximation to Binomial
![Page 29: Part VI: Named Continuous Random Variables](https://reader036.fdocuments.in/reader036/viewer/2022070421/5681625b550346895dd2ad15/html5/thumbnails/29.jpg)
31
Example: Normal Approximation to Binomial (Class)
The ideal size of a first-year class at a particular college is 150 students. The college, knowing from past experience that on the average only 30 percent of these accepted for admission will actually attend, uses a policy of approving the applications of 450 students.
a) Compute the probability that more than 150 students attend this college.
b) Compute the probability that fewer than 130 students attend this college.
![Page 30: Part VI: Named Continuous Random Variables](https://reader036.fdocuments.in/reader036/viewer/2022070421/5681625b550346895dd2ad15/html5/thumbnails/30.jpg)
32
Chapter 32: Gamma R.V.
http://resources.esri.com/help/9.3/arcgisdesktop/com/gp_toolref/process_simulations_sensitivity_analysis_and_error_analysis_modeling/distributions_for_assigning_random_values.htm
![Page 31: Part VI: Named Continuous Random Variables](https://reader036.fdocuments.in/reader036/viewer/2022070421/5681625b550346895dd2ad15/html5/thumbnails/31.jpg)
33
Gamma Distribution
• Generalization of the exponential function• Uses–probability theory– theoretical statistics– actuarial science–operations research–engineering
![Page 32: Part VI: Named Continuous Random Variables](https://reader036.fdocuments.in/reader036/viewer/2022070421/5681625b550346895dd2ad15/html5/thumbnails/32.jpg)
34
Gamma Function
(t + 1) = t (t), t > 0, t real(n + 1) = n!, n > 0, n integer
t 1 x
0(t) x e dx,t 0
2n
1 (2n)!n
2 n!2
![Page 33: Part VI: Named Continuous Random Variables](https://reader036.fdocuments.in/reader036/viewer/2022070421/5681625b550346895dd2ad15/html5/thumbnails/33.jpg)
35
Gamma Distribution: SummaryThings to look for: waiting time until rth event occursVariable: X = time until the rth event occurs, X ≥ 0Parameters:
r: total number of arrivals/events that you are waiting for: the average rate
Density:
![Page 34: Part VI: Named Continuous Random Variables](https://reader036.fdocuments.in/reader036/viewer/2022070421/5681625b550346895dd2ad15/html5/thumbnails/34.jpg)
36
Gamma Random Variable
http://en.wikipedia.org/wiki/File:Gamma_distribution_pdf.svg
k = r
![Page 35: Part VI: Named Continuous Random Variables](https://reader036.fdocuments.in/reader036/viewer/2022070421/5681625b550346895dd2ad15/html5/thumbnails/35.jpg)
37
Chapter 33: Beta R.V.
http://mathworld.wolfram.com/BetaDistribution.html
![Page 36: Part VI: Named Continuous Random Variables](https://reader036.fdocuments.in/reader036/viewer/2022070421/5681625b550346895dd2ad15/html5/thumbnails/36.jpg)
38
Beta Distribution
• This distribution is only defined on an interval– standard beta is on the interval [0,1]– The formula in the book is for the standard
beta• uses–modeling proportions–percentages–probabilities
![Page 37: Part VI: Named Continuous Random Variables](https://reader036.fdocuments.in/reader036/viewer/2022070421/5681625b550346895dd2ad15/html5/thumbnails/37.jpg)
39
Beta Distribution: SummaryThings to look for: percentage, proportion, probabilityVariable: X = percentage, proportion, probability of interest
(standard Beta)Parameters:
, Density:
Density: no simple formWhen A = 0, B = 1 (Standard Beta)
![Page 38: Part VI: Named Continuous Random Variables](https://reader036.fdocuments.in/reader036/viewer/2022070421/5681625b550346895dd2ad15/html5/thumbnails/38.jpg)
40
Shapes of Beta Distribution
http://upload.wikimedia.org/wikipedia/commons/9/9a/Beta_distribution_pdf.png X
![Page 39: Part VI: Named Continuous Random Variables](https://reader036.fdocuments.in/reader036/viewer/2022070421/5681625b550346895dd2ad15/html5/thumbnails/39.jpg)
41
Other Continuous Random Variables
• Weibull–exponential is a member of family–uses: lifetimes
• lognormal– log of the normal distribution–uses: products of distributions
• Cauchy– symmetrical, flatter than normal
![Page 40: Part VI: Named Continuous Random Variables](https://reader036.fdocuments.in/reader036/viewer/2022070421/5681625b550346895dd2ad15/html5/thumbnails/40.jpg)
42
Chapter 37: Summary and Review of Named Continuous R.V.
http://www.wolfram.com/mathematica/new-in-8/parametric-probability-distributions/univariate-continuous-distributions.html
![Page 41: Part VI: Named Continuous Random Variables](https://reader036.fdocuments.in/reader036/viewer/2022070421/5681625b550346895dd2ad15/html5/thumbnails/41.jpg)
43
Summary of Continuous DistributionsName
Density, fX(x)
DomainCDF, FX(x)
(X)Var(X)Parameters
What X is
When used
![Page 42: Part VI: Named Continuous Random Variables](https://reader036.fdocuments.in/reader036/viewer/2022070421/5681625b550346895dd2ad15/html5/thumbnails/42.jpg)
44
Expected values and Variances for selected families of continuous random variables.
Family Parameter(s) Expectation Variance
Uniform a,b
Exponential
Normal ,2 2
1 2
1
a b2 2(b a)
12