Section 7.1: Continuous Random Variables

Similar documents
Probability Distributions II

The Normal Distribution

Chapter 3 Common Families of Distributions. Definition 3.4.1: A family of pmfs or pdfs is called exponential family if it can be expressed as

Statistics for Business and Economics

continuous rv Note for a legitimate pdf, we have f (x) 0 and f (x)dx = 1. For a continuous rv, P(X = c) = c f (x)dx = 0, hence

Chapter 4 Continuous Random Variables and Probability Distributions

UQ, STAT2201, 2017, Lectures 3 and 4 Unit 3 Probability Distributions.

Chapter 2. Random variables. 2.3 Expectation

MAS3904/MAS8904 Stochastic Financial Modelling

STATISTICS and PROBABILITY

Random Variables Handout. Xavier Vilà

Section 8.2: Monte Carlo Estimation

Probability Theory and Simulation Methods. April 9th, Lecture 20: Special distributions

This chapter reviews basic probability concepts that are necessary for the modeling and statistical analysis of financial data.

Chapter 4 Continuous Random Variables and Probability Distributions

Populations and Samples Bios 662

Version A. Problem 1. Let X be the continuous random variable defined by the following pdf: 1 x/2 when 0 x 2, f(x) = 0 otherwise.

NORMAL APPROXIMATION. In the last chapter we discovered that, when sampling from almost any distribution, e r2 2 rdrdϕ = 2π e u du =2π.

Review. Binomial random variable

Continuous Probability Distributions & Normal Distribution

Business Statistics 41000: Probability 3

Two hours. To be supplied by the Examinations Office: Mathematical Formula Tables and Statistical Tables THE UNIVERSITY OF MANCHESTER

INDIAN INSTITUTE OF SCIENCE STOCHASTIC HYDROLOGY. Lecture -5 Course Instructor : Prof. P. P. MUJUMDAR Department of Civil Engg., IISc.

Central Limit Theorem, Joint Distributions Spring 2018

Drunken Birds, Brownian Motion, and Other Random Fun

Introduction to Computational Finance and Financial Econometrics Chapter 1 Asset Return Calculations

Lecture 23. STAT 225 Introduction to Probability Models April 4, Whitney Huang Purdue University. Normal approximation to Binomial

Continuous random variables

Chapter 2: Random Variables (Cont d)

Problems from 9th edition of Probability and Statistical Inference by Hogg, Tanis and Zimmerman:

MATH MW Elementary Probability Course Notes Part IV: Binomial/Normal distributions Mean and Variance

What was in the last lecture?

Importance Sampling for Option Pricing. Steven R. Dunbar. Put Options. Monte Carlo Method. Importance. Sampling. Examples.

6. Continous Distributions

Random variables. Discrete random variables. Continuous random variables.

Class 16. Daniel B. Rowe, Ph.D. Department of Mathematics, Statistics, and Computer Science. Marquette University MATH 1700

Dr. Maddah ENMG 625 Financial Eng g II 10/16/06

EVA Tutorial #1 BLOCK MAXIMA APPROACH IN HYDROLOGIC/CLIMATE APPLICATIONS. Rick Katz

Section 3.1: Discrete Event Simulation

Discrete Random Variables

Normal Distribution. Notes. Normal Distribution. Standard Normal. Sums of Normal Random Variables. Normal. approximation of Binomial.

Lecture Note 8 of Bus 41202, Spring 2017: Stochastic Diffusion Equation & Option Pricing

ECON Introductory Econometrics. Lecture 1: Introduction and Review of Statistics

Tutorial 11: Limit Theorems. Baoxiang Wang & Yihan Zhang bxwang, April 10, 2017

Chapter 7 1. Random Variables

Black-Scholes Option Pricing

Business Statistics 41000: Probability 4

Central limit theorems

Discrete probability distributions

Commonly Used Distributions

Practice Exercises for Midterm Exam ST Statistical Theory - II The ACTUAL exam will consists of less number of problems.

ECE 340 Probabilistic Methods in Engineering M/W 3-4:15. Lecture 10: Continuous RV Families. Prof. Vince Calhoun

Math489/889 Stochastic Processes and Advanced Mathematical Finance Homework 5

IEOR E4703: Monte-Carlo Simulation

ECSE B Assignment 5 Solutions Fall (a) Using whichever of the Markov or the Chebyshev inequalities is applicable, estimate

Homework Assignments

Exam M Fall 2005 PRELIMINARY ANSWER KEY

Frequency and Severity with Coverage Modifications

Simulation Wrap-up, Statistics COS 323

5. In fact, any function of a random variable is also a random variable

STOCHASTIC CALCULUS AND BLACK-SCHOLES MODEL

14.30 Introduction to Statistical Methods in Economics Spring 2009

ME3620. Theory of Engineering Experimentation. Spring Chapter III. Random Variables and Probability Distributions.

18.05 Problem Set 3, Spring 2014 Solutions

Ch4. Variance Reduction Techniques

Useful Probability Distributions

Review for Final Exam Spring 2014 Jeremy Orloff and Jonathan Bloom

Statistical Tables Compiled by Alan J. Terry

Normal Distribution. Definition A continuous rv X is said to have a normal distribution with. the pdf of X is

PROBABILITY DISTRIBUTIONS

Favorite Distributions

Probability and Random Variables A FINANCIAL TIMES COMPANY

Sampling Distribution

Basic notions of probability theory: continuous probability distributions. Piero Baraldi

Exam 2 Spring 2015 Statistics for Applications 4/9/2015

Lecture 2. David Aldous. 28 August David Aldous Lecture 2

Non-informative Priors Multiparameter Models

Chapter 5. Continuous Random Variables and Probability Distributions. 5.1 Continuous Random Variables

Continuous Distributions

The Normal Distribution. (Ch 4.3)

Econ 250 Fall Due at November 16. Assignment 2: Binomial Distribution, Continuous Random Variables and Sampling

Reading: You should read Hull chapter 12 and perhaps the very first part of chapter 13.

Statistics & Flood Frequency Chapter 3. Dr. Philip B. Bedient

4: Probability. What is probability? Random variables (RVs)

Week 1 Quantitative Analysis of Financial Markets Basic Statistics A

INDIAN INSTITUTE OF SCIENCE STOCHASTIC HYDROLOGY. Lecture -26 Course Instructor : Prof. P. P. MUJUMDAR Department of Civil Engg., IISc.

NEWCASTLE UNIVERSITY SCHOOL OF MATHEMATICS, STATISTICS & PHYSICS SEMESTER 1 SPECIMEN 2 MAS3904. Stochastic Financial Modelling. Time allowed: 2 hours

IEOR 165 Lecture 1 Probability Review

Discrete Random Variables

Definition 9.1 A point estimate is any function T (X 1,..., X n ) of a random sample. We often write an estimator of the parameter θ as ˆθ.

. (i) What is the probability that X is at most 8.75? =.875

Chapter 2 Uncertainty Analysis and Sampling Techniques

Applications of Good s Generalized Diversity Index. A. J. Baczkowski Department of Statistics, University of Leeds Leeds LS2 9JT, UK

Topic 6 - Continuous Distributions I. Discrete RVs. Probability Density. Continuous RVs. Background Reading. Recall the discrete distributions

Point Estimators. STATISTICS Lecture no. 10. Department of Econometrics FEM UO Brno office 69a, tel

Qualifying Exam Solutions: Theoretical Statistics

2 Control variates. λe λti λe e λt i where R(t) = t Y 1 Y N(t) is the time from the last event to t. L t = e λr(t) e e λt(t) Exercises

E509A: Principle of Biostatistics. GY Zou

The Bernoulli distribution

BROWNIAN MOTION Antonella Basso, Martina Nardon

Transcription:

Section 71: Continuous Random Variables Discrete-Event Simulation: A First Course c 2006 Pearson Ed, Inc 0-13-142917-5 Discrete-Event Simulation: A First Course Section 71: Continuous Random Variables 1/ 27

Section 71: Continuous Random Variables A random variable X is continuous if and only if its set of possible values X is a continuum A continuous random variable X is uniquely determined by Its set of possible values X Its probability density function (pdf): A real-valued function f ( ) defined for each x X By definition, b a f (x)dx = Pr(a X b) f (x)dx = 1 X Discrete-Event Simulation: A First Course Section 71: Continuous Random Variables 2/ 27

Example 711 X is Uniform(a, b) X = (a,b) and all values in this interval are equally likely f (x) = 1 b a a < x < b In the continuous case, Pr(X = x) = 0 for any x X If [a, b] X, b a f (x)dx = Pr(a X b) = Pr(a < X b) = Pr(a X < b) = Pr(a < X < b) Discrete-Event Simulation: A First Course Section 71: Continuous Random Variables 3/ 27

Cumulative Distribution Function The cumulative distribution function(cdf) of the continuous random variable X is the real-valued function F( ) for each x X as F(x) = Pr(X x) = f (t)dt t x Example 712: If X is Uniform(a,b), the cdf is F(x) = x t=a 1 (b a) dt = x a b a a < x < b In special case where U is Uniform(0,1), the cdf is F(u) = Pr(U u) = u 0 u 1 Discrete-Event Simulation: A First Course Section 71: Continuous Random Variables 4/ 27

Relationship between pdfs and cdfs a x 0 f(x) x f(x 0 ) a x 0 00 F(x 0 ) 10 F(x) F(x) = t x f(t) dt x Shaded area in pdf graph equals F(x 0 ) Discrete-Event Simulation: A First Course Section 71: Continuous Random Variables 5/ 27

More on cdfs The cdf is strictly monotone increasing: if x 1 < x 2, then F(x 1 ) < F(x 2 ) The cdf is bounded between 00 and 10 The cdf can be obtained from the pdf by integration The pdf can be obtained from the cdf by differentiation as f (x) = d dx F(x) x X A continuous random variable model can be specified by X and either the pdf or the cdf Discrete-Event Simulation: A First Course Section 71: Continuous Random Variables 6/ 27

Example 713: Exponential(µ) X = µ ln(1 U) where U is Uniform(0,1) The cdf of X is F(x) = Pr(X x) = Pr( µ ln(1 U) x) = Pr(1 U exp( x/µ)) = Pr(U 1 exp( x/µ)) = 1 exp( x/µ) The pdf of X is f (x) = d dx F(x) = d dx (1 exp( x/µ)) = 1 µ exp( x/µ) x > 0 Discrete-Event Simulation: A First Course Section 71: Continuous Random Variables 7/ 27

Mean and Standard Deviation The mean µ of the continuous random variable X is µ = xf (x)dx The corresponding standard deviation σ is ( σ = (x µ) 2 f (x)dx or σ = x The variance is σ 2 x x ) x 2 f (x)dx µ 2 Discrete-Event Simulation: A First Course Section 71: Continuous Random Variables 8/ 27

Examples If X is Uniform(a,b) µ = a + b 2 and σ = b a 12 If X is Exponential(µ), x xf (x)dx = µ exp( x/µ)dx = µ x 0 ( σ 2 = 0 x 2 ) µ exp( x/µ)dx µ 2 = = µ 2 0 t exp( t)dt = = µ Discrete-Event Simulation: A First Course Section 71: Continuous Random Variables 9/ 27

Expected Value The mean of a continuous random variable is also known as the expected value The expected value of the continuous random variable X is µ = E[X] = xf (x)dx The variance is the expected value of (X µ) 2 σ 2 = E[(X µ) 2 ] = (x µ) 2 f (x)dx In general, if Y = g(x), the expected value of Y is E[Y ] = E[g(X)] = g(x)f (x)dx x x x Discrete-Event Simulation: A First Course Section 71: Continuous Random Variables 10/ 27

Example 716 A circle of radius r and a fixed point Q on the circumference P is selected at random on the circumference Let the random variable Y be the distance of the line segment joining P and Q P Y Θ r Q Y = 2r sin(θ/2) Discrete-Event Simulation: A First Course Section 71: Continuous Random Variables 11/ 27

Example 716 ctd If Θ is Uniform(0,2π), the pdf of Θ is f (θ) = 1/2π The expected length of Y is E[Y ] = 2π 0 2r sin(θ/2)f (θ)dθ = 2π 0 2r sin(θ/2) dθ = = 4r 2π π Y is not Uniform(0, 2r); otherwise, E[Y ] would be r Example 717 If continuous random variable Y = ax + b for constants a and b, E[Y ] = E[aX + b] = ae[x] + b Discrete-Event Simulation: A First Course Section 71: Continuous Random Variables 12/ 27

Continuous Random Variable Models Standard Normal Random Variable Z is Normal(0,1) if and only if the set of all possible values is Z = (, ) and the pdf is f (z) = 1 2π exp( z 2 /2) < z < 04 f(z) 02 0 3 2 1 0 1 2 3 z Discrete-Event Simulation: A First Course Section 71: Continuous Random Variables 13/ 27

Standard Normal Random Variable If Z is Normal(0, 1), Z is standardized The mean is µ = The variance is σ 2 = zf (z)dz = 1 2π (z µ) 2 f (z)dz = 1 2π z exp( z 2 /2)dz = = 0 z 2 exp( z 2 /2)dz = = 1 The cdf is F(z) = z f (t)dt = Φ(z) < z < Discrete-Event Simulation: A First Course Section 71: Continuous Random Variables 14/ 27

Standard Normal cdf Φ( ) is defined as Φ(z) = 1 2π z exp( t 2 /2)dt < z < No closed-form expression for Φ(z) 1 + P(1/2,z 2 /2) z 0 Φ(z) = 2 1 Φ(z) z < 0 P(a,x) is an incomplete gamma function (see Appendix D) Function Φ(z) is available in rvms as cdfnormal(00, 10, z) Discrete-Event Simulation: A First Course Section 71: Continuous Random Variables 15/ 27

Scaling and Shifting Suppose X is a random variable with mean µ and standard deviation σ Define random variable X = ax + b for constants a,b The mean µ and standard deviation σ of X are µ = E[X ] = E[aX + b] = ae[x] + b = aµ + b (σ ) 2 = E[(X µ ) 2 ] = E[(aX aµ) 2 ] = a 2 E[(X µ) 2 ] = a 2 σ 2 Therefore, µ = aµ + b and σ = a σ Discrete-Event Simulation: A First Course Section 71: Continuous Random Variables 16/ 27

Example 718 Suppose Z is a random variable with mean 0 and standard deviation 1 Construct a new random variable X with specified mean µ and standard deviation σ Define X = σz + µ E[X] = σe[z] + µ = µ E[(X µ) 2 ] = E[σ 2 Z 2 ] = σ 2 E[Z 2 ] = σ 2 Discrete-Event Simulation: A First Course Section 71: Continuous Random Variables 17/ 27

Normal Random Variable The continuous random variable X is Normal(µ,σ) if and only if X = σz + µ where σ > 0 and Z is Normal(0,1) The mean of X is µ and the standard deviation is σ Normal(µ,σ) is constructed from Normal(0,1) by shifting the mean from 0 to µ via the addition of µ by scaling the standard deviation from 1 to σ via multiplication by σ Discrete-Event Simulation: A First Course Section 71: Continuous Random Variables 18/ 27

cdf of Normal Random Variable The cdf of a Normal(µ,σ) F(x) = Pr(X x) = Pr(σZ + µ x) = Pr(Z (x µ)/σ) so that ( ) x µ F(x) = Φ σ < x < where Φ( ) is the cdf of Normal(0,1) Discrete-Event Simulation: A First Course Section 71: Continuous Random Variables 19/ 27

pdf of Normal Random Variable Because d dz Φ(z) = 1 2π exp( z 2 /2) < z < the pdf of Normal(µ,σ) is f (x) = df(x) dx = d dx Φ ( x µ σ ) = = 1 σ 2π exp( (x µ)2 /2σ 2 ) f(x) 0 x µ 3σ µ 2σ µ σ µ µ + σ µ + 2σ µ + 3σ Discrete-Event Simulation: A First Course Section 71: Continuous Random Variables 20/ 27

Some Properties of Normal Random Variables Sums of iid random variables approach the normal distribution Normal(µ,σ) is sometimes called a Gaussian random variable The 68-95-9973 rule Area under pdf between µ σ and µ + σ is about 068 Area under pdf between µ 2σ and µ + 2σ is about 095 Area under pdf between µ 3σ and µ + 3σ is about 09973 The pdf has inflection points at µ ± σ Common notation for Normal(µ,σ) is N(µ,σ 2 ) Support is X = {x x } Usually not appropriate for simulation unless modified to produce only positive values Discrete-Event Simulation: A First Course Section 71: Continuous Random Variables 21/ 27

Lognormal Random Variable The continuous random variable X is Lognormal(a,b) if and only if X = exp(a + bz) where Z is Normal(0,1) and b > 0 Lognormal(a,b) is also based on transforming Normal(0,1) The transformation is non-linear Discrete-Event Simulation: A First Course Section 71: Continuous Random Variables 22/ 27

cdf of Lognormal Random Variable The cdf of a Lognormal(a,b) F(x) = Pr(X x) = Pr(exp(a + bz) x) = Pr(a + bz ln(x)) x > 0 so that ( ) ln(x) a F(x) = Pr(Z (ln(x) a)/b) = Φ b x > 0 where Φ( ) is the cdf of Normal(0,1) Discrete-Event Simulation: A First Course Section 71: Continuous Random Variables 23/ 27

pdf of Lognormal Random Variable The pdf of Lognormal(a,b) is f (x) = df(x) dx = = 1 bx 2π exp( (ln(x) a)2 /2b 2 ) x > 0 f(x) (a,b) = ( 05,10) 0 0 µ µ = exp(a + b 2 /2) Above, µ = 10 σ = exp(a + b 2 /2) exp(b 2 ) 1 Above, σ 131 x Discrete-Event Simulation: A First Course Section 71: Continuous Random Variables 24/ 27

Erlang Random Variable Uniform(a,b) is the continuous analog of Equilikely(a,b) Exponential(µ) is the continuous analog of Geometric(p) Pascal(n,p) is the sum of n iid Geometric(p) What is the continuous analog of Pascal(n,p)? The continuous random variable X is Erlang(n,b) if and only if X = X 1 + X 2 + + X n where X 1,X 2,,X n are iid Exponential(b) random variables Discrete-Event Simulation: A First Course Section 71: Continuous Random Variables 25/ 27

pdf of Erlang Random Variable The pdf of Erlang(n,b) is f (x) = 1 b(n 1)! (x/b)n 1 exp( x/b) x > 0 f(x) (n,b) = (3,10) 0 0 µ x For (n,b) = (3,10), µ = 30 and σ 1732 Discrete-Event Simulation: A First Course Section 71: Continuous Random Variables 26/ 27

cdf of Erlang Random Variable The corresponding cdf is F(x) = x 0 f (t)dt = P(n,x/b) x > 0 Incomplete gamma function (see Appendix D) µ = nb σ = nb Chisquare And Student Random Variables Chisquare(n) and Student(n) are commonly used for statistical inference Defined in section 72 Discrete-Event Simulation: A First Course Section 71: Continuous Random Variables 27/ 27