Chap 8 Bivariate Distributions Ghahramani 3rd edition

Slides:



Advertisements
Similar presentations
AP Statistics Chapter 7 – Random Variables. Random Variables Random Variable – A variable whose value is a numerical outcome of a random phenomenon. Discrete.
Advertisements

Joint and marginal distribution functions For any two random variables X and Y defined on the same sample space, the joint c.d.f. is For an example, see.
Section 7.4 (partially). Section Summary Expected Value Linearity of Expectations Independent Random Variables.
Review of Basic Probability and Statistics
Part V: Continuous Random Variables /statistics-notes-%E2%80%93-properties-of-normal-distribution-2/
Joint Distributions, Marginal Distributions, and Conditional Distributions Note 7.
Today Today: More of Chapter 2 Reading: –Assignment #2 is up on the web site – –Please read Chapter 2 –Suggested.
Probability Distributions
Class notes for ISE 201 San Jose State University
Tch-prob1 Chapter 4. Multiple Random Variables Ex Select a student’s name from an urn. S In some random experiments, a number of different quantities.
Chapter 4: Joint and Conditional Distributions
Eighth lecture Random Variables.
Random Variable and Probability Distribution
Joint Probability distribution
1 Random Variables and Discrete probability Distributions SESSION 2.
Chapter 21 Random Variables Discrete: Bernoulli, Binomial, Geometric, Poisson Continuous: Uniform, Exponential, Gamma, Normal Expectation & Variance, Joint.
Lecture 28 Dr. MUMTAZ AHMED MTH 161: Introduction To Statistics.
Joint Distribution of two or More Random Variables
Chapter6 Jointly Distributed Random Variables
CHAPTER 4 Multiple Random Variable
Chapter 3 Random vectors and their numerical characteristics.
1 Lecture 4. 2 Random Variables (Discrete) Real-valued functions defined on a sample space are random vars. determined by outcome of experiment, we can.
LECTURE IV Random Variables and Probability Distributions I.
4.1 Probability Distributions. Do you remember? Relative Frequency Histogram.
Random Variables. A random variable X is a real valued function defined on the sample space, X : S  R. The set { s  S : X ( s )  [ a, b ] is an event}.
Discrete Random Variables A random variable is a function that assigns a numerical value to each simple event in a sample space. Range – the set of real.
X = 2*Bin(300,1/2) – 300 E[X] = 0 Y = 2*Bin(30,1/2) – 30 E[Y] = 0.
STA347 - week 51 More on Distribution Function The distribution of a random variable X can be determined directly from its cumulative distribution function.
Stats Probability Theory. Instructor:W.H.Laverty Office:235 McLean Hall Phone: Lectures: M W F 2:30pm - 3:20am Arts 133 Lab: M 3:30 - 4:20.
Computer Vision Group Prof. Daniel Cremers Autonomous Navigation for Flying Robots Lecture 5.2: Recap on Probability Theory Jürgen Sturm Technische Universität.
One Random Variable Random Process.
Probability Refresher. Events Events as possible outcomes of an experiment Events define the sample space (discrete or continuous) – Single throw of a.
Probability Review-1 Probability Review. Probability Review-2 Probability Theory Mathematical description of relationships or occurrences that cannot.
Conditional Probability Mass Function. Introduction P[A|B] is the probability of an event A, giving that we know that some other event B has occurred.
1 Probability and Statistical Inference (9th Edition) Chapter 4 Bivariate Distributions November 4, 2015.
MULTIPLE RANDOM VARIABLES A vector random variable X is a function that assigns a vector of real numbers to each outcome of a random experiment. e.g. Random.
Chapter 2: Probability. Section 2.1: Basic Ideas Definition: An experiment is a process that results in an outcome that cannot be predicted in advance.
Random Variables and Stochastic Processes – Dr. Ghazi Al Sukkar Office Hours: will be.
1 Chapter 4 Mathematical Expectation  4.1 Mean of Random Variables  4.2 Variance and Covariance  4.3 Means and Variances of Linear Combinations of Random.
Random Variables Lecture Lecturer : FATEN AL-HUSSAIN.
Chapter 25: Joint Densities
Chapter 5 Joint Probability Distributions and Random Samples
Probability and Statistics for Computer Scientists Second Edition, By: Michael Baron Chapter 3: Discrete Random Variables and Their Distributions CIS.
Statistics Lecture 19.
Chapter Five Joint Probability Distributions & Random Samples
Lecture 3 B Maysaa ELmahi.
Random variables (r.v.) Random variable
Jointly distributed random variables
STATISTICS Random Variables and Distribution Functions
PRODUCT MOMENTS OF BIVARIATE RANDOM VARIABLES
3.1 Expectation Expectation Example
Conditional Probability on a joint discrete distribution
Some Rules for Expectation
Chap 6 Continuous Random Variables Ghahramani 3rd edition
Random Variable X, with pmf p(x) or pdf f(x)
ASV Chapters 1 - Sample Spaces and Probabilities
Chap 4 Distribution Functions and Discrete Random Variables Ghahramani 3rd edition 2019/1/3.
Chap 7 Special Continuous Distributions Ghahramani 3rd edition
... DISCRETE random variables X, Y Joint Probability Mass Function y1
ASV Chapters 1 - Sample Spaces and Probabilities
Chap 9 Multivariate Distributions Ghahramani 3rd edition
5. Conditioning and Independence
7. Continuous Random Variables II
ASV Chapters 1 - Sample Spaces and Probabilities
Probability overview Event space – set of possible outcomes
5 pair of RVs.
Quick Review of Probability
Random Variables and Probability Distributions
Chapter 3-2 Discrete Random Variables
Moments of Random Variables
Presentation transcript:

Chap 8 Bivariate Distributions Ghahramani 3rd edition 2019/2/24

Outline 8.1 Joint distribution of two random variables 8.2 Independent random variables 8.3 Conditional distributions 8.4 Transformations of two random variables

8.1 Joint distributions of 2 r.v.’s (Joint probability mass functions) Def Let X and Y be 2 discrete random variables defined on the same sample space. Let the sets of possible values of X and Y be A and B, respectively. The function p(x, y)=P(X=x, Y=y) is called the joint probability mass function of X and Y.

Joint distributions of 2 r.v.’s Def Let X and Y have joint probability function p(x,y). Let the sets of possible values of X and Y be A and B, respectively. Then the functions are called, respectively, the marginal probability mass functions of X and Y.

Joint distributions of 2 r.v.’s Ex 8.1 A small college has 90 male and 30 female professors. An ad hoc committee of 5 is selected at random to write the vision and mission of the college. Let X and Y be the number of men and women on this committee, respectively. (a) Find the joint probability mass function of X and Y. (b) Find pX and pY, the marginal prob. mass functions of X and Y.

Joint distributions of 2 r.v.’s Sol:

Joint distributions of 2 r.v.’s Ex 8.2 Roll a balanced die and let the outcome be X. Then toss a fair coin X times and let Y denote the number of tails. What is joint probability mass function? and what are pX and pY?

Joint distributions of 2 r.v.’s Sol: y pX(x) 1 2 3 4 5 6 x 1/12 1/6 1/24 2/24 1/48 3/48 1/96 4/96 6/96 1/192 5/192 10/192 1/384 6/384 15/384 20/384 pY(y) 63/384 120/384 99/384 64/384 29/384 8/384

Joint distributions of 2 r.v.’s Def Let A, B be the sets of possible values of X and Y, respectively.

Joint distributions of 2 r.v.’s Ex 8.3 Let the joint probability mass function of random variables X and Y be given by Find E(X) and E(Y).

Joint distributions of 2 r.v.’s

Joint distributions of 2 r.v.’s Theorem 8.1 Let p(x,y) be the joint prob. mass function of discrete random variables X and Y. If h is a function of two variables from R2 to R, then h(X,Y) is a diescrete random variable Coro E(X+Y)=E(X)+E(Y)

(Joint prob. Density functions) Def Two r. v.’s X and Y, defined on the same sample space, have a continuous joint distribution if there exists a nonnegative function of 2 variables, f(x,y) on RXR, such that for any region S in the xy-plane that can be formed from rectangles by a countable number of set operations, The function f(x,y) is called the joint probability density function of X and Y.

Joint distributions of 2 r.v.’s Def Let X and Y have joint density function f(x,y), then the functions are called, respectively, the marginal density functions of X and Y.

Joint distributions of 2 r.v.’s Def Let X and Y be two r. v.’s (discrete, continuous, or mixed). The joint distribution function of X and Y, is defined by

Joint distributions of 2 r.v.’s

Joint distributions of 2 r.v.’s Ex 8.4 The joint density function of random variables X and Y is given by (a) Determine the value of . (b) Find the marginal prob. density function of X and Y.

Joint distributions of 2 r.v.’s

Joint distributions of 2 r.v.’s Ex 8.5 Determine if F is the joint distribution function of 2 random variables X and Y.

Joint distributions of 2 r.v.’s

Joint distributions of 2 r.v.’s Ex 8.6 A circle of radius 1 is inscribed in a square with sides of length 2. A point is selected at random from the square we mean that the point is selected in a way that all the subsets of equal areas of the square are equally likely to contain the point.

Joint distributions of 2 r.v.’s

Joint distributions of 2 r.v.’s Def Let S be a subset of the plane with area A(S). A point is said to be randomly selected from S if for any subset R of S with area A(R), the probability that R contains the point is A(R)/A(S). Buffon’s needle problem(p.336) (an interesting geometric probability problem)

Joint distributions of 2 r.v.’s Ex 8.7 A man invites his fiancee to a fine hotel for a Sunday brunch. They decide to meet in the lobby of the hotel between 11:30 A.M. and 12 noon. If they arrive at random times during this period, what is the probability that they will meet within 10 minutes?

Joint distributions of 2 r.v.’s Sol:

Joint distributions of 2 r.v.’s Thm 8.2 Let f(x,y) be the density function of r. v. X and Y. If h is a function of two variables from R2 to R, then Z=h(X,Y) is a random variable with the expected value given by

Joint distributions of 2 r.v.’s Corollary For r. v.’s X and Y, E(X+Y) = EX + EY Proof:

Joint distributions of 2 r.v.’s Ex 8.9 Let X and Y have joint density function Find E(X2+Y2)

Joint distributions of 2 r.v.’s Sol:

8.2 Independent random variables Def Two random variables are called independent if, for A, B, in R, the events are independent, that is, if Using the axioms of probability, we can prove that X and Y are independent iff for any real numbers a and b,

Independent random variables Thm 8.3 Let X and Y be two random variables defined on the same sample space. If F is the joint distribution function of X and Y, then X and Y are independent iff for all real numbers t and u, F(t, u)=FX(t)FY(u).

Independent random variables Thm 8.4 Let X and Y be two discrete random variables defined on the same sample space. If p(x, y) is the joint probability mass function of X and Y, then X and Y are independent iff for all real numbers x and y, p(x, y)=pX(x)pY(y).

Independent random variables Thm 8.5 Let X and Y be independent random variables and g: RR and h: RR be real-valued functions; then g(X) and h(Y) are also independent random variables. Thm 8.6 Let X and Y be independent random variables and g: RR and h: RR be real-valued functions; then E[g(X)h(Y)]=E[g(X)]E[h(Y)]

Independent random variables By Thm 8.6, if X and Y are independent, then EXY=EXEY but the converse is not necessarily true. Ex 8.11 Let X be a r. v. with p(-1)=p(0)=p(1) =1/3. Letting Y=X2, we have EX=(-1+0+1)/3=0, EY=E(X2)=((-1)2+02+(1)2)/3=2/3, EXY=E(X3)=((-1)3+03+(1)3)/3=0. Thus EXY=EXEY while, clearly, X and Y are dependent.

Independent random variables Thm 8.7 Let X and Y be two continuous random variables defined on the same sample space. If f(x, y) is the joint density function of X and Y, then X and Y are independent iff for all real numbers x and y, f(x, y)=fX(x)fY(y).

Independent random variables Ex 8.12 Store A and B, which belong to the same owner, are located in 2 different towns. If the density function of the weekly profit of each store, in thousands of dollars, is given by and the profit of one store is independent of the other, what is the probability that next week one store makes at least $500 more than the other store?

Independent random variables Sol:

Independent random variables

Independent random variables Ex 8.15 Prove that 2 random variables X and Y with the following joint density function are not independent.

Independent random variables Sol:

8.3 Conditional distributions (Discrete case) Def Let X and Y be two discrete random variables. The conditional probability mass function of X given that Y=y is defined as follows:

Conditional distributions

Conditional distributions (Continuous case) Def Let X and Y be two continuous random variables with joint density f(x, y). The conditional density function of X given that Y=y is defined as follows:

Conditional distributions

Conditional distributions Ex 8.21 Let X and Y be continuous random variables with joint density function

Conditional distributions

Conditional distributions Ex 8.22 First, a point Y is selected at random from the interval (0, 1). Then another point X is chosen at random from (0, Y). Find the probability density function of X.

Conditional distributions

Conditional distributions Def The conditional expectation of the random variable X given that Y=y is (discrete) (continuous)

Conditional distributions Ex 8.24 Let X and Y be continuous random variables with joint density function

Conditional distributions

Skip 8.4 Transformations of 2 random vars