STOR Lecture 15. Jointly distributed Random Variables - III

Similar documents
Business Statistics 41000: Probability 3

MAS3904/MAS8904 Stochastic Financial Modelling

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

Business Statistics 41000: Probability 4

Statistics for Business and Economics

IEOR 165 Lecture 1 Probability Review

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

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.

ECO220Y Continuous Probability Distributions: Normal Readings: Chapter 9, section 9.10

Lecture Notes 6. Assume F belongs to a family of distributions, (e.g. F is Normal), indexed by some parameter θ.

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

Point Estimation. Stat 4570/5570 Material from Devore s book (Ed 8), and Cengage

The University of Chicago, Booth School of Business Business 41202, Spring Quarter 2011, Mr. Ruey S. Tsay. Solutions to Final Exam.

The Normal Distribution

6. Continous Distributions

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

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

MAS187/AEF258. University of Newcastle upon Tyne

Strategies for Improving the Efficiency of Monte-Carlo Methods

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

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

MLEMVD: A R Package for Maximum Likelihood Estimation of Multivariate Diffusion Models

Stochastic Volatility (SV) Models

Random Variables and Applications OPRE 6301

Back to estimators...

Statistics 431 Spring 2007 P. Shaman. Preliminaries

The Bernoulli distribution

Exam in TFY4275/FY8907 CLASSICAL TRANSPORT THEORY Feb 14, 2014

Simulation Wrap-up, Statistics COS 323

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

Central Limit Theorem, Joint Distributions Spring 2018

Bivariate Birnbaum-Saunders Distribution

John Hull, Risk Management and Financial Institutions, 4th Edition

Continuous random variables

Lecture 37 Sections 11.1, 11.2, Mon, Mar 31, Hampden-Sydney College. Independent Samples: Comparing Means. Robb T. Koether.

STOR Lecture 7. Random Variables - I

Using Monte Carlo Integration and Control Variates to Estimate π

MAS1403. Quantitative Methods for Business Management. Semester 1, Module leader: Dr. David Walshaw

Covariance and Correlation. Def: If X and Y are JDRVs with finite means and variances, then. Example Sampling

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

MTH6154 Financial Mathematics I Stochastic Interest Rates

Lecture 3. Sergei Fedotov Introduction to Financial Mathematics. Sergei Fedotov (University of Manchester) / 6

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

Week 1 Quantitative Analysis of Financial Markets Basic Statistics A

VI. Continuous Probability Distributions

Chapter 3 - Lecture 3 Expected Values of Discrete Random Va

Populations and Samples Bios 662

Lecture 3: Return vs Risk: Mean-Variance Analysis

Stochastic Simulation

Lecture 3: Probability Distributions (cont d)

Review for Final Exam Spring 2014 Jeremy Orloff and Jonathan Bloom

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

Financial Risk Management

Statistics & Statistical Tests: Assumptions & Conclusions

Data Analysis and Statistical Methods Statistics 651

Introduction to Business Statistics QM 120 Chapter 6

The Uniform Distribution

Market Volatility and Risk Proxies

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

Discrete Random Variables

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

Two Hours. Mathematical formula books and statistical tables are to be provided THE UNIVERSITY OF MANCHESTER. 22 January :00 16:00

Module 2: Monte Carlo Methods

PROBABILITY. Wiley. With Applications and R ROBERT P. DOBROW. Department of Mathematics. Carleton College Northfield, MN

Computer labs. May 10, A list of matlab tutorials can be found under

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

Using the Central Limit Theorem It is important for you to understand when to use the CLT. If you are being asked to find the probability of the

7. For the table that follows, answer the following questions: x y 1-1/4 2-1/2 3-3/4 4

Numerical Simulation of Stochastic Differential Equations: Lecture 1, Part 1. Overview of Lecture 1, Part 1: Background Mater.

Chapter 8. Markowitz Portfolio Theory. 8.1 Expected Returns and Covariance

Hedging and Regression. Hedging and Regression

Expectations. Definition Let X be a discrete rv with set of possible values D and pmf p(x). The expected value or mean value of X, denoted by E(X ) or

Statistics for Business and Economics: Random Variables:Continuous

P VaR0.01 (X) > 2 VaR 0.01 (X). (10 p) Problem 4

CPSC 540: Machine Learning

3.4 Copula approach for modeling default dependency. Two aspects of modeling the default times of several obligors

Theoretical Statistics. Lecture 4. Peter Bartlett

Discrete Random Variables

Course information FN3142 Quantitative finance

18.05 Problem Set 3, Spring 2014 Solutions

Converting to the Standard Normal rv: Exponential PDF and CDF for x 0 Chapter 7: expected value of x

Lecture Stat 302 Introduction to Probability - Slides 15

The Normal Distribution

Results for option pricing

Report 2 Instructions - SF2980 Risk Management

CPSC 540: Machine Learning

4 Random Variables and Distributions

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

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

Lecture 4: Return vs Risk: Mean-Variance Analysis

The Vasicek Distribution

Learning Objec0ves. Statistics for Business and Economics. Discrete Probability Distribu0ons

Chapter 3 Discrete Random Variables and Probability Distributions

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

CE 513: STATISTICAL METHODS

Lecture 10: Point Estimation

Standard Normal, Inverse Normal and Sampling Distributions

CSC 411: Lecture 08: Generative Models for Classification

A new approach for scenario generation in risk management

Point Estimation. Some General Concepts of Point Estimation. Example. Estimator quality

Transcription:

STOR 435.001 Lecture 15 Jointly distributed Random Variables - III Jan Hannig UNC Chapel Hill 1 / 17

Before we dive in Contents of this lecture 1. Conditional pmf/pdf: definition and simple properties. 2. Functions of two random variables. Finding joint distributions. Brief aside 1. How many of you have heard of the statistical technique regression 2. https://idc9.github.io/stor390/notes/linear_ regression/linear_regression.html 3. Also see https://www.coursera.org/learn/machine-learning/ lecture/cf8df/multivariate-gaussian-distribution 4. Then see: https://www.coursera.org/learn/ machine-learning/lecture/dnnr9/ anomaly-detection-using-the-multivariate-gaussian-distribution 5. We will see connections between the above and the next topic Conditional pmf and pdfs. 2 / 17

Jointly distributed random variables Conditional distributions: discrete case: X and Y are discrete with joint p.m.f. p(x, y): Conditional p.m.f. of X given Y = y (y fixed): p X Y (x y) = P (X = x Y = y) = for all y with p Y (y) > 0. P (X = x, Y = y) P (Y = y) Note: If X and Y are independent, then p X Y (x y) = p X (x). Conditional d.f. of X given Y = y (y fixed): for all y with p Y (y) > 0. Important note F X Y (a y) = P (X a Y = y) = x a = p X Y (x y) p(x, y) p Y (y) In many cases it is easy to calculate marginal pmf of one random variable (say Y ) and conditional pmf of the other (say p X Y ). Then we can get joint pmf by p XY (x, y) = p Y (y)p X Y (x y) 3 / 17

Jointly distributed random variables Example: Let X be the number of claims submitted to a life-insurance company in April and let Y be the corresponding number but for May. Suppose the joint pmf of the two random variables is given by p X,Y (x, y) = 1 ( ) 1 x 1 e x (1 e x ) y 1, x = 0, 1,..., y = 1, 2,.... 2 2 Find the conditional pmf of Y given that there were 2 claims in April. Citation: Motivated by a problem from http://faculty.atu.edu/mfinan/actuarieshall/pbook.pdf 4 / 17

Solution contd 5 / 17

Jointly distributed random variables Conditional distributions: continuous case: X and Y are jointly continuous with density f(x, y): Conditional density of X given Y = y (y fixed): f X Y (x y) = f(x, y) f Y (y) for all y with f Y (y) > 0. Note: If X and Y are independent, then f X Y (x y) = f X (x). Conditional probabilities given Y = y (y fixed): P (X A Y = y) = f X Y (x y)dx. Conditional d.f. of X given Y = y (y fixed): F X Y (a y) = P (X a Y = y). A 6 / 17

Jointly distributed random variables Example: Suppose that the joint density of X and Y is given by f(x, y) = { Find f X Y (x y) and P (X > 1 Y = y). e x/y e y y, 0 < x <, 0 < y <, 0, otherwise. 7 / 17

Jointly distributed random variables Bivariate Normal distribution: Jointly continuous random variables X and Y are bivariate normal if their density is ( ) 1 1 2(1 ρ f(x, y) = e 2 ( x µ X ) 2 +( y µ Y ) 2 2ρ (x µ X )(y µ Y ) ) σ X σ Y σ X σ Y, 2πσ X σ Y 1 ρ 2 for < x, y <, where σ X > 0, σ Y > 0, ρ ( 1, 1), < µ X, µ Y <. Find f X Y (x y). Notation: ( X Y ) (( ) ( µx = N, µy σ 2 X ρσ X σ Y ρσ X σ Y Here, µ X = EX, µ Y = EY, σx 2 = V ar(x), σ2 Y = V ar(y ). The parameter ρ accounts for dependence and will be clarified in the next chapter. This and generalizations: multivariate normal are one of the foundation pieces of modern statistics. Linear Regression based on this fundamental object! σ 2 Y )). 8 / 17

Example Suppose we wanted to plot the pdf of the above function. Let us say µ X = 0, µ Y = 0, σ 2 X = 1, σ 2 Y = 1 and ρ =.5. Using Mathematical one can plot the above pdf on the region {(x, y) : 2 x 2, 2 y 2} Figure: Using Mathematica 9 / 17

Figure: Using Mathematica. Same parameters as above with only change ρ =.8. Higher correlation between X and Y. In both cases, the univariate distributions of X and Y turn our to be standard normal. In the second case: X and Y tend to be closer whatever that means. Will see more in the next chapter. 10 / 17

Jointly distributed random variables (Bivariate Normal distribution) contd: Look at the exponent in the formula of the Bivariate normal 1 2(1 ρ 2 ) ( ( x µ X ) 2 + ( y µ Y ) 2 2ρ (x µ ) X)(y µ Y ) σ X σ Y σ X σ Y Messy algebra implies that one can write this as Thus = (x µ X) 2 2σ 2 X + 1 2σ 2 Y (1 ρ2 ) ( y µ Y ρ σ Y σ X (x µ X ) ) 2 f XY (x, y) = 1 e 1 2 σ X 2π (x µ X ) 2 σ 2 X } {{ } =pdf of 1 1 σ Y 1 ρ 2 2π e 2 ( ) y µ Y ρ σ 2 Y (x µ σ X ) X σ 2 Y (1 ρ2 ) } {{ } =pdf of 11 / 17

Jointly distributed random variables (Bivariate Normal distribution) contd: Thus marginal of X f X (x) = Conditional pdf of Y X f Y X (y x) = f XY (x, y) f X (x) = Thus the distribution of Y given that X = x is 12 / 17

Why is this important? 1. As I said huge parts of statistics are based on extensions of the above to higher dimensions. 2. For our class: Suppose someone came and asked you to simulate ( ) (( ) ( X µx σ = N, X 2 ρσ X σ Y Y µy ρσ X σ Y 3. Step 1: Simulate Z 1, Z 2 standard Normal random variables. 4. Step 2: X = µ X + σ X Z 1. 5. Step 3: σ 2 Y Y = µ Y + ρ σ Y σ X (X µ X ) + Z 2 σ Y (1 ρ 2 ) )). A related question How do you simulate standard normal random variables? Assume there are algorithms to simulate U(0, 1) random variables. This is one motivation for the next topic. 13 / 17

Joint probability distribution of functions of random variables Suppose X 1, X 2 are jointly continuous with density f(x, y). Consider Y 1 = g 1 (X 1, X 2 ), Y 2 = g 2 (X 1, X 2 ), for example, g 1 (x 1, x 2 ) = x 1 + x 2 and g 2 (x 1, x 2 ) = x 1 x 2. Suppose the map ( ) ( ) y1 g1 (x = 1, x 2 ) y 2 g 2 (x 1, x 2 ) is continuous, differentiable and invertible. What is the joint density of Y 1, Y 2? Figure: Jacobian demonstration. Picture from wikipedia. 14 / 17

Joint probability distribution of functions of random variables contd 15 / 17

Jointly distributed random variables (Box Muller transformation) Let (U, T ) be two independent random variables with U Unif(0, 2π) and T exp(1). Consider the transformation X = 2T cos(u), What is the joint distribution of (X, Y )? Y = 2T sin(u) 16 / 17

Functions of jointly distributed random variables Example: Let X, Y be independent uniform (0, 1) random variables. Find the distribution (pdf) of U = XY, V = Y. 17 / 17