SlideShare a Scribd company logo
1 of 20
Download to read offline
Stat310       Bivariate distributions


                           Hadley Wickham
Monday, 16 February 2009
1. Recap
               2. Transformations, the cdf and
                  the uniform distribution
               3. Introduction to bivariate distributions
               4. Properties of pdf. Marginal pdfs &
                  expectation
               5. Feedback


Monday, 16 February 2009
Recap

                   X ~ Exponential(θ). Y = log(X).
                   What is fY(y)?
                   X ~ Uniform(0, 10). Y =   X2.

                   What is fY(y)?




Monday, 16 February 2009
Theorem 3.5-1
                   IF
                   Y ~ Uniform(0, 1)
                   F a cdf
                   X = F-1(Y)
                   THEN
                   X has cdf F(x)
                   (Assume F strictly increasing for simplicity of proof, not needed in general)


Monday, 16 February 2009
Theorem 3.5-2
                   IF
                   X has cdf F
                   Y = F(X)
                   THEN
                   Y ~ Uniform(0, 1)
                   (Assume F strictly increasing for simplicity of proof, not needed in general)




Monday, 16 February 2009
http://www.johndcook.com/
          distribution_chart.html



Monday, 16 February 2009
Bivariate random
                               variables
                             Bivariate = two variables


Monday, 16 February 2009
Bivariate rv

                   Previously dealt with single random
                   variables at a time.
                   Now we’re going to look at two (probably
                   related) at a time
                   New tool: multivariate calculus



Monday, 16 February 2009
Monday, 16 February 2009
Monday, 16 February 2009
1
        f (x, y) =                          − 2 < x, y < 2
                   16
                                              What would you call
         What is:
                                               this distribution?
             •       P(X < 0) ?
             •                                Draw diagrams and
                     P(X < 0 and Y < 0) ?
                                               use your intuition
             •       P(Y > 1) ?
             •       P(X > Y) ?
             •       P(X2 + Y2 < 1)


Monday, 16 February 2009
f (x, y) = c a < x, y < b


                           Is this a pdf?
                           How could we work out c?




Monday, 16 February 2009
f (x, y) ≥ 0    ∀x, y


                                    f (x, y) = 1
                               R2




Monday, 16 February 2009
S = {(x, y) : f (x, y) > 0}
      Called the support or
      sample space




Monday, 16 February 2009
What is the
  bivariate cdf going
  to look like?




Monday, 16 February 2009
What is the
  bivariate cdf going
  to look like?
                           x    y
 F (x, y) =                          f (u, v)dvdu
                           −∞   −∞




Monday, 16 February 2009
Your turn

                   F(x, y) =   c(x 2   +   y 2)   -1 < x, y < 1
                   What is c?
                   What is f(x, y)?




Monday, 16 February 2009
Marginal distribution of X


                       fX (x) =                 f (x, y)dy
                                            R

                           Marginal distribution of Y

                           fY (y) =             f (x, y)dx
                                            R


Monday, 16 February 2009
Demo



Monday, 16 February 2009
Feedback



Monday, 16 February 2009

More Related Content

What's hot

Formula List Math 1230
Formula List Math 1230Formula List Math 1230
Formula List Math 1230samhui48
 
The Fundamental Theorem of Calculus
The Fundamental Theorem of CalculusThe Fundamental Theorem of Calculus
The Fundamental Theorem of CalculusSilvius
 
Cea0001 ppt project
Cea0001 ppt projectCea0001 ppt project
Cea0001 ppt projectcea0001
 
TABLA DE DERIVADAS
TABLA DE DERIVADASTABLA DE DERIVADAS
TABLA DE DERIVADASEducación
 
Lec5 MECH ENG STRucture
Lec5   MECH ENG  STRuctureLec5   MECH ENG  STRucture
Lec5 MECH ENG STRuctureMohamed Yaser
 
X2 T07 02 transformations (2011)
X2 T07 02 transformations (2011)X2 T07 02 transformations (2011)
X2 T07 02 transformations (2011)Nigel Simmons
 

What's hot (8)

11
1111
11
 
Formula List Math 1230
Formula List Math 1230Formula List Math 1230
Formula List Math 1230
 
Projectiles
ProjectilesProjectiles
Projectiles
 
The Fundamental Theorem of Calculus
The Fundamental Theorem of CalculusThe Fundamental Theorem of Calculus
The Fundamental Theorem of Calculus
 
Cea0001 ppt project
Cea0001 ppt projectCea0001 ppt project
Cea0001 ppt project
 
TABLA DE DERIVADAS
TABLA DE DERIVADASTABLA DE DERIVADAS
TABLA DE DERIVADAS
 
Lec5 MECH ENG STRucture
Lec5   MECH ENG  STRuctureLec5   MECH ENG  STRucture
Lec5 MECH ENG STRucture
 
X2 T07 02 transformations (2011)
X2 T07 02 transformations (2011)X2 T07 02 transformations (2011)
X2 T07 02 transformations (2011)
 

More from Hadley Wickham (20)

27 development
27 development27 development
27 development
 
27 development
27 development27 development
27 development
 
24 modelling
24 modelling24 modelling
24 modelling
 
23 data-structures
23 data-structures23 data-structures
23 data-structures
 
Graphical inference
Graphical inferenceGraphical inference
Graphical inference
 
R packages
R packagesR packages
R packages
 
22 spam
22 spam22 spam
22 spam
 
21 spam
21 spam21 spam
21 spam
 
20 date-times
20 date-times20 date-times
20 date-times
 
19 tables
19 tables19 tables
19 tables
 
18 cleaning
18 cleaning18 cleaning
18 cleaning
 
17 polishing
17 polishing17 polishing
17 polishing
 
16 critique
16 critique16 critique
16 critique
 
15 time-space
15 time-space15 time-space
15 time-space
 
14 case-study
14 case-study14 case-study
14 case-study
 
13 case-study
13 case-study13 case-study
13 case-study
 
12 adv-manip
12 adv-manip12 adv-manip
12 adv-manip
 
11 adv-manip
11 adv-manip11 adv-manip
11 adv-manip
 
11 adv-manip
11 adv-manip11 adv-manip
11 adv-manip
 
10 simulation
10 simulation10 simulation
10 simulation
 

Recently uploaded

Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyKhushali Kathiriya
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024The Digital Insurer
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...apidays
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Zilliz
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxRustici Software
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...apidays
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...Zilliz
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024The Digital Insurer
 
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu SubbuApidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbuapidays
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Jeffrey Haguewood
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 

Recently uploaded (20)

Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu SubbuApidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 

11 Bivariate

  • 1. Stat310 Bivariate distributions Hadley Wickham Monday, 16 February 2009
  • 2. 1. Recap 2. Transformations, the cdf and the uniform distribution 3. Introduction to bivariate distributions 4. Properties of pdf. Marginal pdfs & expectation 5. Feedback Monday, 16 February 2009
  • 3. Recap X ~ Exponential(θ). Y = log(X). What is fY(y)? X ~ Uniform(0, 10). Y = X2. What is fY(y)? Monday, 16 February 2009
  • 4. Theorem 3.5-1 IF Y ~ Uniform(0, 1) F a cdf X = F-1(Y) THEN X has cdf F(x) (Assume F strictly increasing for simplicity of proof, not needed in general) Monday, 16 February 2009
  • 5. Theorem 3.5-2 IF X has cdf F Y = F(X) THEN Y ~ Uniform(0, 1) (Assume F strictly increasing for simplicity of proof, not needed in general) Monday, 16 February 2009
  • 6. http://www.johndcook.com/ distribution_chart.html Monday, 16 February 2009
  • 7. Bivariate random variables Bivariate = two variables Monday, 16 February 2009
  • 8. Bivariate rv Previously dealt with single random variables at a time. Now we’re going to look at two (probably related) at a time New tool: multivariate calculus Monday, 16 February 2009
  • 11. 1 f (x, y) = − 2 < x, y < 2 16 What would you call What is: this distribution? • P(X < 0) ? • Draw diagrams and P(X < 0 and Y < 0) ? use your intuition • P(Y > 1) ? • P(X > Y) ? • P(X2 + Y2 < 1) Monday, 16 February 2009
  • 12. f (x, y) = c a < x, y < b Is this a pdf? How could we work out c? Monday, 16 February 2009
  • 13. f (x, y) ≥ 0 ∀x, y f (x, y) = 1 R2 Monday, 16 February 2009
  • 14. S = {(x, y) : f (x, y) > 0} Called the support or sample space Monday, 16 February 2009
  • 15. What is the bivariate cdf going to look like? Monday, 16 February 2009
  • 16. What is the bivariate cdf going to look like? x y F (x, y) = f (u, v)dvdu −∞ −∞ Monday, 16 February 2009
  • 17. Your turn F(x, y) = c(x 2 + y 2) -1 < x, y < 1 What is c? What is f(x, y)? Monday, 16 February 2009
  • 18. Marginal distribution of X fX (x) = f (x, y)dy R Marginal distribution of Y fY (y) = f (x, y)dx R Monday, 16 February 2009