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

Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clashcharlottematthew16
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionDilum Bandara
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .Alan Dix
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteDianaGray10
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxhariprasad279825
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxNavinnSomaal
 

Recently uploaded (20)

Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
 

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