Chapter 4: CONTINUOUS RANDOM VARIABLES AND PROBABILITY DISTRIBUTIONS

Similar documents
BMIR Lecture Series on Probability and Statistics Fall, 2015 Uniform Distribution

Ching-Han Hsu, BMES, National Tsing Hua University c 2015 by Ching-Han Hsu, Ph.D., BMIR Lab. = a + b 2. b a. x a b a = 12

CIVL 7012/8012. Continuous Distributions

Applied Statistics and Probability for Engineers. Sixth Edition. Chapter 4 Continuous Random Variables and Probability Distributions.

Chapter 4 Continuous Random Variables and Probability Distributions

Solutions. Some of the problems that might be encountered in collecting data on check-in times are:

Chapter Learning Objectives. Probability Distributions and Probability Density Functions. Continuous Random Variables

Chapter 4: Continuous Random Variable

Chapter 4: Continuous Probability Distributions

Chapter 4 Continuous Random Variables and Probability Distributions

STAT 509 Section 3.4: Continuous Distributions. Probability distributions are used a bit differently for continuous r.v. s than for discrete r.v. s.

STAT509: Continuous Random Variable

3 Continuous Random Variables

APPENDICES APPENDIX A. STATISTICAL TABLES AND CHARTS 651 APPENDIX B. BIBLIOGRAPHY 677 APPENDIX C. ANSWERS TO SELECTED EXERCISES 679

Probability Methods in Civil Engineering Prof. Rajib Maity Department of Civil Engineering Indian Institute of Technology, Kharagpur

System Simulation Part II: Mathematical and Statistical Models Chapter 5: Statistical Models

Chapter 6 Continuous Probability Distributions

Closed book and notes. 60 minutes. Cover page and four pages of exam. No calculators.

Statistics 427: Sample Final Exam

IE 230 Probability & Statistics in Engineering I. Closed book and notes. 60 minutes.

IE 303 Discrete-Event Simulation

Some worked exercises from Ch 4: Ex 10 p 151

IE 230 Probability & Statistics in Engineering I. Closed book and notes. 120 minutes.

Continuous Probability Spaces

Probability Distributions Columns (a) through (d)

(Ch 3.4.1, 3.4.2, 4.1, 4.2, 4.3)

PROBABILITY DISTRIBUTIONS

These notes will supplement the textbook not replace what is there. defined for α >0

(Ch 3.4.1, 3.4.2, 4.1, 4.2, 4.3)

Random Variables. Definition: A random variable (r.v.) X on the probability space (Ω, F, P) is a mapping

Probability Distributions for Continuous Variables. Probability Distributions for Continuous Variables

Continuous random variables

1 Review of Probability and Distributions

2DI90 Probability & Statistics. 2DI90 Chapter 4 of MR

Continuous Distributions

Things to remember when learning probability distributions:

3 Modeling Process Quality

15 Discrete Distributions

Chapter 2 Continuous Distributions

Exam 3, Math Fall 2016 October 19, 2016

f X (x) = λe λx, , x 0, k 0, λ > 0 Γ (k) f X (u)f X (z u)du

Continuous RVs. 1. Suppose a random variable X has the following probability density function: π, zero otherwise. f ( x ) = sin x, 0 < x < 2

Independent Events. Two events are independent if knowing that one occurs does not change the probability of the other occurring

Stat 512 Homework key 2

Chapter 3 Common Families of Distributions

Generating Random Variates 2 (Chapter 8, Law)

Common ontinuous random variables

MATH : EXAM 2 INFO/LOGISTICS/ADVICE

PAS04 - Important discrete and continuous distributions

Probability Methods in Civil Engineering Prof. Dr. Rajib Maity Department of Civil Engineering Indian Institute of Technology Kharagpur

Partial Solutions for h4/2014s: Sampling Distributions

Chapter 3 sections. SKIP: 3.10 Markov Chains. SKIP: pages Chapter 3 - continued

Continuous Distributions

Continuous Probability Distributions. Uniform Distribution

Review 1: STAT Mark Carpenter, Ph.D. Professor of Statistics Department of Mathematics and Statistics. August 25, 2015

Continuous Random Variables. and Probability Distributions. Continuous Random Variables and Probability Distributions ( ) ( ) Chapter 4 4.

Math 407: Probability Theory 5/10/ Final exam (11am - 1pm)

MATH 56A: STOCHASTIC PROCESSES CHAPTER 6

Test Problems for Probability Theory ,

Intro to Probability Instructor: Alexandre Bouchard

57:022 Principles of Design II Final Exam Solutions - Spring 1997

IEOR 3106: Introduction to Operations Research: Stochastic Models. Professor Whitt. SOLUTIONS to Homework Assignment 2

Slides 5: Random Number Extensions

Continuous Random Variables. and Probability Distributions. Continuous Random Variables and Probability Distributions ( ) ( )

MATH 407 FINAL EXAM May 6, 2011 Prof. Alexander

EE/CpE 345. Modeling and Simulation. Fall Class 5 September 30, 2002

Homework 10 (due December 2, 2009)

ISyE 3044 Fall 2015 Test #1 Solutions

Notes on Continuous Random Variables

Chapter 4. Continuous Random Variables

L Hopital s Rule. We will use our knowledge of derivatives in order to evaluate limits that produce indeterminate forms.

Question Points Score Total: 76

Chapter 3 sections. SKIP: 3.10 Markov Chains. SKIP: pages Chapter 3 - continued

Probability Midterm Exam 2:15-3:30 pm Thursday, 21 October 1999

Expected Values, Exponential and Gamma Distributions

L Hopital s Rule. We will use our knowledge of derivatives in order to evaluate limits that produce indeterminate forms.

Review for the previous lecture

ECE 313 Probability with Engineering Applications Fall 2000

STA 584 Supplementary Examples (not to be graded) Fall, 2003

Errata for the ASM Study Manual for Exam P, Fourth Edition By Dr. Krzysztof M. Ostaszewski, FSA, CFA, MAAA

HW7 Solutions. f(x) = 0 otherwise. 0 otherwise. The density function looks like this: = 20 if x [10, 90) if x [90, 100]

b. ( ) ( ) ( ) ( ) ( ) 5. Independence: Two events (A & B) are independent if one of the conditions listed below is satisfied; ( ) ( ) ( )

Brief Review of Probability

Plotting data is one method for selecting a probability distribution. The following

Chapter 5: Generating Random Numbers from Distributions

STAT 509: Statistics for Engineers Dr. Dewei Wang. Copyright 2014 John Wiley & Sons, Inc. All rights reserved.

Comparative Distributions of Hazard Modeling Analysis

Statistics Ph.D. Qualifying Exam: Part I October 18, 2003

Definition: A random variable X is a real valued function that maps a sample space S into the space of real numbers R. X : S R

Gamma and Normal Distribuions

CH5 CH6(Sections 1 through 5) Homework Problems

Continuous Random Variables

Lecture 3 Continuous Random Variable

Distributions of Functions of Random Variables. 5.1 Functions of One Random Variable

Answers to the 8th problem set. f(x θ = θ 0 ) L(θ 0 )

1 Probability and Random Variables

1. If X has density. cx 3 e x ), 0 x < 0, otherwise. Find the value of c that makes f a probability density. f(x) =

Math 5a Reading Assignments for Sections

0, otherwise. U = Y 1 Y 2 Hint: Use either the method of distribution functions or a bivariate transformation. (b) Find E(U).

Moments. Raw moment: February 25, 2014 Normalized / Standardized moment:

Transcription:

Chapter 4: CONTINUOUS RANDOM VARIABLES AND PROBABILITY DISTRIBUTIONS Part 4: Gamma Distribution Weibull Distribution Lognormal Distribution Sections 4-9 through 4-11 Another exponential distribution example first... 1

Example: Magnitude of Earthquakes The magnitude of earthquakes in a region can be modeled as having an exponential distribution where the mean of the distribution is 2.4, as measured on the Richter scale. Let X represent the magnitude of an earthquake. Then, X exponential(λ). First, determine λ: E(X) = 1 λ = 2.4 λ = 1 2.4 0.4167 In this problem, X is not a wait time and is not related to the Poisson process. Here, λ is not a rate parameter, but is simply a parameter that tells you the shape of the distribution of earthquake magnitudes. 2

f(x) 0 2 4 6 8 10 x Find the probability that an earthquake striking this region will... a) exceed 3.0 on the Richter scale. b) fall between 2.0 and 3.0 on the Richter scale. 3

a) exceed 3.0 on the Richter scale. b) fall between 2.0 and 3.0 on the Richter scale. 4

Gamma Distribution Section 4-9 Another continuous distribution on x > 0 is the gamma distribution. Gamma Distribution The random variable X with probability density function f(x) = λr x r 1 e λx Γ (r) for x > 0 is a gamma random variable with parameters λ > 0 and r > 0. Mean and Variance For a gamma random variable with parameters λ and r, µ = E(X) = r λ 5

and σ 2 = V (X) = r λ 2 The Gamma function: Γ (r) The value in the denominator of f(x) is a constant dependent on r. This value is: Γ (r) = 0 x r 1 e x dx for r > 0 and this is a finite integral. You can think of Γ (r) as a necessary constant in f(x) to make sure the area under f(x) is 1.0 6

The gamma family (expressed as choices of λ and r) is very flexible: Gamma distributions with fixed scale parameter (lambda=1) f(x) 0.0 0.2 0.4 0.6 0.8 r=0.2 r=1 r=5 0 5 10 15 X λ is called the scale parameter as it most influences the spread. r is called the shape parameter as it most influences the peaked-ness of the distribution. 7

Example: Gene expression data As technology progresses, so does the kind of data we can collect. We can now gather information on the amount of protein (or mrna) outputted by a certain gene in an organism. Below is a cdna microarray slide showing the amount of mrna (as intensity of fluorescence) for each of thousands of genes for a single organism. 8

If we consider the expression values from many individuals for a single gene: Gene 4 expression values Density 0.0 0.1 0.2 0.3 0.4 0.5 0 1 2 3 4 expression We can model these expression values all coming from a specific gene with a gamma distribution... 9

Gene 4 expression values Density 0.0 0.1 0.2 0.3 0.4 0.5 0 1 2 3 4 expression The solid curve is the best fitting gamma distribution to the observed data. 10

Modeling the observed data with a common distribution allows us to compute theoretical probabilities, and compare different groups (such as healthy patients vs. cancer patients). Gamma distribution modeling examples: Gene expression data Climatology models for monthly precipitation The sum of k independent exponential random variables The integration for gamma probabilities would come from tables (like we saw for the normal distribution)... your book does not include these. 11

Instead... book homework problems are about recognizing the gamma probability density function, setting up f(x), and recognizing the mean µ and variance σ 2 (which can be computed from λ and r), and seeing the connection of the gamma to the exponential and the Poisson process. Example: The time between failures of a laser machine is exponentially distributed with a mean of 25,000 hours. a) What is the expected time until the second failure? 12

13

b) What is the probability that the time until the third failure exceeds 50,000 hours? 14

15

Thus, we have another gamma distribution modeling example: Time until rth failure in a Poisson Process with rate parameter λ is distributed gamma(r, λ). Some comments on the gamma(r, λ) distribution: When r = 1, f(x) is an exponential distribution with parameter λ. The exponential distribution is a special case of the gamma distribution. If r is a positive integer, the distribution is called an Erlang distribution. 16

Some relationships: Γ (1) = 0! = 1 Γ (r + 1) = rγ (r) Γ (r+1) = r! {Γ (4) = 3 2 1 = 6} Γ ( 1 2 ) = π For the gamma(r, λ) distribution, when λ = 1/2 and r = p/2 where p is a positive integer, then we have a chi-squared distribution with parameter p, another special case of the gamma. 17

Weibull Distribution Section 4-10 Another continuous distribution for x > 0. It can be used to model a situation where the number of failures increases with time, decreases with time, or remains constant with time. (So, it s used for more complicated situations than a Poisson process). Weibull Distribution The random variable X with probability density function f(x) = β ( x ) [ β 1 ( x ) ] β exp for x > 0 δ δ δ is a Weibull random variable with scale parameter δ > 0 and shape parameter β > 0. 18

Mean and Variance For a Weibull random variable with parameters β and δ, ( µ = E(X) = δγ 1 + 1 ) β and σ 2 = V (X) = δ 2 Γ ( 1 + 2 [ ) δ 2 Γ β ( 1 + 1 )] 2 β 19

Also a flexible family: 20

Cumulative Distribution Function If X has a Weibull distribution with parameters δ and β, then the cumulative distribution function of X is F (x) = 1 e ( x δ )β A comment on the W eibull(δ, β) distribution: When β = 1, f(x) is an exponential distribution with parameter 1/δ. The exponential is a special case of the Weibull. 21

Example: Manufacture of semiconductor In an industrial engineering article, the authors suggest using a Weibull distribution to model the duration of a bake step in the manufacture of a semiconductor. Let T represent the duration in hours of the bake step for a randomly chosen lot. Suppose T W eibull(δ = 10, β = 0.3). a) What is the probability that the bake step takes longer than four hours? 22

b) What is the probability that the bake step takes between two and seven hours? 23

Lognormal Distribution Section 4-11 The last continuous distribution we will consider is also for x > 0. Let W be a normally distributed random variable. Suppose we create a new random variable X with the transformation X = exp(w ). Then, X is a lognormal random variable. The name follows from the fact that ln(x) = W so we have ln(x) being normally distributed. W can take on values from to. But the domain (or range) of X is the positive real numbers. 24

Lognormal Distribution Let W have a normal distribution with mean θ and variance ω 2, then X = exp(w ) is a lognormal random variable with probability density function [ ] 1 f(x) = xω 2π exp (ln x θ)2 2ω 2 for x > 0. 25

Mean and Variance For a lognormal distribution with parameters θ and ω 2, and µ = E(X) = e θ+ω2 /2 ( ) σ 2 = V (X) = e 2θ+ω2 e ω2 1 Note that for the lognormal r.v. X, the mean and variance are µ and σ 2 and these are functions of θ and ω 2, which are the mean and variance of W, a normal random variable such that X = exp(w ). So, θ and ω 2 show up in W N(θ, ω 2 ). 26

Example: Component lifetimes Lifetimes of a randomly chosen component are lognormally distributed with parameters θ = 1 and ω = 0.5 days. a) Find the mean lifetime of these components. b) Find the standard deviation of the lifetimes. 27

c) Find the probability that a component lasts longer than 4 days. 28