SlideShare a Scribd company logo
Stat 310
Bivariate Transformations


     Garrett Grolemund
Pick up handout
1.   Example

2.   Bivariate transformations

3.   Calculating probabilities

4.   Distribution function technique
Question

Suppose the basket is at (25, 0). Devise a
way to calculate each shot’s distance from
the basket using X and Y.
Polar Coordinates

r = √((x -
        25)2     2
               + )
               y
   Ө = tan-1 (y/x)
Polar Coordinates

r = √((x -25)2    2
                + )
                 y
Ө = tan-1 (y/(x – 25))
Bivariate Transformations
 (Transformations that involve two
   random variables at a time)
Transformed Data
Your Turn
Suppose you own a portfolio of stocks. Let X1 be
  the amount of money your portfolio earns
  today, X2 be the amount of money it earns
  tomorrow, and so on…
How would you calculate U and V, where U is
  the amount of money you’ll make on your
  best day during the next week, and V is the
  amount you’ll make on your worst day?
Calculating Probabilities
What is the probability that
 max(X1, X2 , X3 , X4 , X5 , X6 , X7) ≤ $100 ?
 min(X1, X2 , X3 , X4 , X5 , X6 , X7) ≤ $ -100 ?
Recall from the univariate case, we have
two methods of calculating probabilities of
transformed variables


    Distribution           Change of
     function               variable
    technique              technique
Distribution function technique
Suppose the Xi are iid. Is this a reasonable
assumption?

Then, we can calculate Fv(a) by

P(V ≤ a)   = P(min(Xi) ≤ a)
Suppose the Xi are iid. Is this a reasonable
assumption?

Then, we can calculate Fv(a) by

P(V ≤ a)   = P(min(Xi) ≤ a)
           = 1 – P(min(Xi) > a)
Suppose the Xi are iid. Is this a reasonable
assumption?

Then, we can calculate Fv(a) by

P(V ≤ a)   = P(min(Xi) ≤ a)
           = 1 – P(min(Xi) > a)
           = 1 – P(all Xi > a)
= 1 – [P(X1 > a, X2 > a, … X7 > a)]
= 1 – [P(X1 > a, X2 > a, … X7 > a)]
= 1 – [P(X1 > a) P(X2 > a) … P(X7 > a) ]
= 1 – [P(X1 > a, X2 > a, … X7 > a)]
     = 1 – [P(X1 > a) P(X2 > a) … P(X7 > a) ]
(Because the Xi are independent)
= 1 – [P(X1 > a, X2 > a, … X7 > a)]
     = 1 – [P(X1 > a) P(X2 > a) … P(X7 > a) ]
(Because the Xi are independent)

     = 1 – [P(X1 > a)   P(X1 > a)   …   P(X1 > a) ]
= 1 – [P(X1 > a, X2 > a, … X7 > a)]
     = 1 – [P(X1 > a) P(X2 > a) … P(X7 > a) ]
(Because the Xi are independent)

     = 1 – [P(X1 > a)   P(X1 > a)   …   P(X1 > a) ]

(because the Xi are identically distributed)
= 1 – [P(X1 > a, X2 > a, … X7 > a)]
     = 1 – [P(X1 > a) P(X2 > a) … P(X7 > a) ]
(Because the Xi are independent)

     = 1 – [P(X1 > a)       P(X1 > a)   …   P(X1 > a) ]

(because the Xi are identically distributed)

     = 1 – [P(X1 > a) 7 ]
= 1 – [P(X1 > a, X2 > a, … X7 > a)]
     = 1 – [P(X1 > a) P(X2 > a) … P(X7 > a) ]
(Because the Xi are independent)

     = 1 – [P(X1 > a)       P(X1 > a)   …   P(X1 > a) ]

(because the Xi are identically distributed)

     = 1 – [P(X1 > a) 7 ]
     = 1 – [ (1 – P(X1 ≤ a) )7 ]
= 1 – [P(X1 > a, X2 > a, … X7 > a)]
     = 1 – [P(X1 > a) P(X2 > a) … P(X7 > a) ]
(Because the Xi are independent)

     = 1 – [P(X1 > a)       P(X1 > a)   …   P(X1 > a) ]

(because the Xi are identically distributed)

     = 1 – [P(X1 > a) 7 ]
     = 1 – [ (1 – P(X1 ≤ a) )7 ]
     = 1 – [ (1 – Fx(a) ) 7 ]
So P(V ≤ -100) = Fv(-100) = 1 – [ (1 – Fx(-100) ) 7 ]


We can find the density of V by differentiating:

     fv(a) =    Fv(a)
So P(V ≤ -100) = Fv(-100) = 1 – [ (1 – Fx(-100) ) 7 ]


We can find the density of V by differentiating:

     fv(a) =    Fv(a)
           =    {1 – [ (1 – Fx(a) ) 7 ]}
So P(V ≤ -100) = Fv(-100) = 1 – [ (1 – Fx(-100) ) 7 ]


We can find the density of V by differentiating:

     fv(a) =    Fv(a)
           =    {1 – [ (1 – Fx(a) ) 7 ]}

           = -7(1 – Fx(a) ) 6     (1 - Fx(a))
So P(V ≤ -100) = Fv(-100) = 1 – [ (1 – Fx(-100) ) 7 ]


We can find the density of V by differentiating:

     fv(a) =    Fv(a)
           =    {1 – [ (1 – Fx(a) ) 7 ]}

           = -7(1 – Fx(a) ) 6        (1 - Fx(a))

           = 7(1 – Fx(a) ) 6 fx(a)
Your Turn
Work through the handout to find FU(a) and
fU(a).
What if we wish to find the joint distribution
FU,V(a,b)?

U = max(X, Y)
V = min(X, Y)

P(U < 2, V < 5) = ?
Probability as volume under a surface
      f(x,y)




                               P(Set A)




                                   X


                       Set A
Y
P(U < 2, V < 5) = P( max(X, Y) < 5                       min(X, Y) > 2)

                   f(x,y)




                                                               P(Set A)



                                                                  X


                                                       Set A
             Y

                        5           5
  P(U < 2, V < 5) = ∫           ∫           fx,y (x,y) dx dy
                            2           2
But…
•Computing double integrals can
be hard

•Finding correct bounds can be
hard

      r = √((x - 25)2 + y2 )
      Ө = tan-1 (y/(x – 25))
Next time: Change of Variables
Read Section 3.4

More Related Content

What's hot

20 the chain rule
20 the chain rule20 the chain rule
20 the chain rulemath267
 
Interpolation with Finite differences
Interpolation with Finite differencesInterpolation with Finite differences
Interpolation with Finite differences
Dr. Nirav Vyas
 
Lesson 10: The Chain Rule (slides)
Lesson 10: The Chain Rule (slides)Lesson 10: The Chain Rule (slides)
Lesson 10: The Chain Rule (slides)
Matthew Leingang
 
2.1 limits i
2.1 limits i2.1 limits i
2.1 limits imath265
 
Actuarial Science Reference Sheet
Actuarial Science Reference SheetActuarial Science Reference Sheet
Actuarial Science Reference SheetDaniel Nolan
 
Some properties of two-fuzzy Nor med spaces
Some properties of two-fuzzy Nor med spacesSome properties of two-fuzzy Nor med spaces
Some properties of two-fuzzy Nor med spaces
IOSR Journals
 
29 conservative fields potential functions
29 conservative fields potential functions29 conservative fields potential functions
29 conservative fields potential functionsmath267
 
CHAIN RULE AND IMPLICIT FUNCTION
CHAIN RULE AND IMPLICIT FUNCTIONCHAIN RULE AND IMPLICIT FUNCTION
CHAIN RULE AND IMPLICIT FUNCTION
Nikhil Pandit
 
23 general double integrals
23 general double integrals23 general double integrals
23 general double integralsmath267
 
Newton's forward difference
Newton's forward differenceNewton's forward difference
Newton's forward difference
Raj Parekh
 
Partial derivative1
Partial derivative1Partial derivative1
Partial derivative1Nidhu Sharma
 
22 double integrals
22 double integrals22 double integrals
22 double integralsmath267
 
Homomorphism and Anti-homomorphism of Multi-Fuzzy Ideal and Multi-Anti Fuzzy ...
Homomorphism and Anti-homomorphism of Multi-Fuzzy Ideal and Multi-Anti Fuzzy ...Homomorphism and Anti-homomorphism of Multi-Fuzzy Ideal and Multi-Anti Fuzzy ...
Homomorphism and Anti-homomorphism of Multi-Fuzzy Ideal and Multi-Anti Fuzzy ...
iosrjce
 
Image denoising
Image denoisingImage denoising
Image denoising
Yap Wooi Hen
 
4.2 more derivatives as rates
4.2 more derivatives as rates4.2 more derivatives as rates
4.2 more derivatives as ratesmath265
 
2.6 more computations of derivatives
2.6 more computations of derivatives2.6 more computations of derivatives
2.6 more computations of derivativesmath265
 
Lesson 8: Curves, Arc Length, Acceleration
Lesson 8: Curves, Arc Length, AccelerationLesson 8: Curves, Arc Length, Acceleration
Lesson 8: Curves, Arc Length, Acceleration
Matthew Leingang
 
1.7 derivative
1.7 derivative1.7 derivative
1.7 derivativemath265
 
2.7 chain rule short cuts
2.7 chain rule short cuts2.7 chain rule short cuts
2.7 chain rule short cutsmath265
 

What's hot (20)

20 the chain rule
20 the chain rule20 the chain rule
20 the chain rule
 
Interpolation with Finite differences
Interpolation with Finite differencesInterpolation with Finite differences
Interpolation with Finite differences
 
Lesson 10: The Chain Rule (slides)
Lesson 10: The Chain Rule (slides)Lesson 10: The Chain Rule (slides)
Lesson 10: The Chain Rule (slides)
 
2.1 limits i
2.1 limits i2.1 limits i
2.1 limits i
 
Actuarial Science Reference Sheet
Actuarial Science Reference SheetActuarial Science Reference Sheet
Actuarial Science Reference Sheet
 
Some properties of two-fuzzy Nor med spaces
Some properties of two-fuzzy Nor med spacesSome properties of two-fuzzy Nor med spaces
Some properties of two-fuzzy Nor med spaces
 
29 conservative fields potential functions
29 conservative fields potential functions29 conservative fields potential functions
29 conservative fields potential functions
 
CHAIN RULE AND IMPLICIT FUNCTION
CHAIN RULE AND IMPLICIT FUNCTIONCHAIN RULE AND IMPLICIT FUNCTION
CHAIN RULE AND IMPLICIT FUNCTION
 
23 general double integrals
23 general double integrals23 general double integrals
23 general double integrals
 
Newton's forward difference
Newton's forward differenceNewton's forward difference
Newton's forward difference
 
Limits and derivatives
Limits and derivativesLimits and derivatives
Limits and derivatives
 
Partial derivative1
Partial derivative1Partial derivative1
Partial derivative1
 
22 double integrals
22 double integrals22 double integrals
22 double integrals
 
Homomorphism and Anti-homomorphism of Multi-Fuzzy Ideal and Multi-Anti Fuzzy ...
Homomorphism and Anti-homomorphism of Multi-Fuzzy Ideal and Multi-Anti Fuzzy ...Homomorphism and Anti-homomorphism of Multi-Fuzzy Ideal and Multi-Anti Fuzzy ...
Homomorphism and Anti-homomorphism of Multi-Fuzzy Ideal and Multi-Anti Fuzzy ...
 
Image denoising
Image denoisingImage denoising
Image denoising
 
4.2 more derivatives as rates
4.2 more derivatives as rates4.2 more derivatives as rates
4.2 more derivatives as rates
 
2.6 more computations of derivatives
2.6 more computations of derivatives2.6 more computations of derivatives
2.6 more computations of derivatives
 
Lesson 8: Curves, Arc Length, Acceleration
Lesson 8: Curves, Arc Length, AccelerationLesson 8: Curves, Arc Length, Acceleration
Lesson 8: Curves, Arc Length, Acceleration
 
1.7 derivative
1.7 derivative1.7 derivative
1.7 derivative
 
2.7 chain rule short cuts
2.7 chain rule short cuts2.7 chain rule short cuts
2.7 chain rule short cuts
 

Viewers also liked (9)

09 Simulation
09 Simulation09 Simulation
09 Simulation
 
08 Continuous
08 Continuous08 Continuous
08 Continuous
 
01 Introduction
01 Introduction01 Introduction
01 Introduction
 
04 Reports
04 Reports04 Reports
04 Reports
 
21 Ml
21 Ml21 Ml
21 Ml
 
24 Spam
24 Spam24 Spam
24 Spam
 
18 Normal Cont
18 Normal Cont18 Normal Cont
18 Normal Cont
 
15 Bivariate Change Of Variables
15 Bivariate Change Of Variables15 Bivariate Change Of Variables
15 Bivariate Change Of Variables
 
07 Discrete
07 Discrete07 Discrete
07 Discrete
 

Similar to 14 Bivariate Transformations

Quantitative Techniques random variables
Quantitative Techniques random variablesQuantitative Techniques random variables
Quantitative Techniques random variables
Rohan Bhatkar
 
International Journal of Engineering Research and Development
International Journal of Engineering Research and DevelopmentInternational Journal of Engineering Research and Development
International Journal of Engineering Research and Development
IJERD Editor
 
Random Variable
Random Variable Random Variable
Random Variable
Abhishek652999
 
Interpolation functions
Interpolation functionsInterpolation functions
Interpolation functions
Tarun Gehlot
 
Interval valued intuitionistic fuzzy homomorphism of bf algebras
Interval valued intuitionistic fuzzy homomorphism of bf algebrasInterval valued intuitionistic fuzzy homomorphism of bf algebras
Interval valued intuitionistic fuzzy homomorphism of bf algebras
Alexander Decker
 
15 Probability Distribution Practical (HSC).pdf
15 Probability Distribution Practical (HSC).pdf15 Probability Distribution Practical (HSC).pdf
15 Probability Distribution Practical (HSC).pdf
vedantsk1
 
Continuity of functions by graph (exercises with detailed solutions)
Continuity of functions by graph   (exercises with detailed solutions)Continuity of functions by graph   (exercises with detailed solutions)
Continuity of functions by graph (exercises with detailed solutions)
Tarun Gehlot
 
Refresher probabilities-statistics
Refresher probabilities-statisticsRefresher probabilities-statistics
Refresher probabilities-statistics
Steve Nouri
 
Finance Enginering from Columbia.pdf
Finance Enginering from Columbia.pdfFinance Enginering from Columbia.pdf
Finance Enginering from Columbia.pdf
CarlosLazo45
 
Cheatsheet probability
Cheatsheet probabilityCheatsheet probability
Cheatsheet probability
Ashish Patel
 
Newtons Divided Difference Formulation
Newtons Divided Difference FormulationNewtons Divided Difference Formulation
Newtons Divided Difference Formulation
Sohaib H. Khan
 
APPLICATION OF PARTIAL DIFFERENTIATION
APPLICATION OF PARTIAL DIFFERENTIATIONAPPLICATION OF PARTIAL DIFFERENTIATION
APPLICATION OF PARTIAL DIFFERENTIATION
Dhrupal Patel
 
Open GL 04 linealgos
Open GL 04 linealgosOpen GL 04 linealgos
Open GL 04 linealgosRoziq Bahtiar
 
chap 2 Ex#1.1
chap 2 Ex#1.1chap 2 Ex#1.1
chap 2 Ex#1.1
Ans Ali
 
Lesson20 Tangent Planes Slides+Notes
Lesson20   Tangent Planes Slides+NotesLesson20   Tangent Planes Slides+Notes
Lesson20 Tangent Planes Slides+NotesMatthew Leingang
 
Factor theorem
Factor theoremFactor theorem
Factor theorem
Department of Education
 
Numarical values
Numarical valuesNumarical values
Numarical values
AmanSaeed11
 
Numarical values highlighted
Numarical values highlightedNumarical values highlighted
Numarical values highlighted
AmanSaeed11
 
PROBABILITY DISTRIBUTION
PROBABILITY DISTRIBUTIONPROBABILITY DISTRIBUTION
PROBABILITY DISTRIBUTION
shahzadebaujiti
 

Similar to 14 Bivariate Transformations (20)

Quantitative Techniques random variables
Quantitative Techniques random variablesQuantitative Techniques random variables
Quantitative Techniques random variables
 
International Journal of Engineering Research and Development
International Journal of Engineering Research and DevelopmentInternational Journal of Engineering Research and Development
International Journal of Engineering Research and Development
 
Random Variable
Random Variable Random Variable
Random Variable
 
Bc0039
Bc0039Bc0039
Bc0039
 
Interpolation functions
Interpolation functionsInterpolation functions
Interpolation functions
 
Interval valued intuitionistic fuzzy homomorphism of bf algebras
Interval valued intuitionistic fuzzy homomorphism of bf algebrasInterval valued intuitionistic fuzzy homomorphism of bf algebras
Interval valued intuitionistic fuzzy homomorphism of bf algebras
 
15 Probability Distribution Practical (HSC).pdf
15 Probability Distribution Practical (HSC).pdf15 Probability Distribution Practical (HSC).pdf
15 Probability Distribution Practical (HSC).pdf
 
Continuity of functions by graph (exercises with detailed solutions)
Continuity of functions by graph   (exercises with detailed solutions)Continuity of functions by graph   (exercises with detailed solutions)
Continuity of functions by graph (exercises with detailed solutions)
 
Refresher probabilities-statistics
Refresher probabilities-statisticsRefresher probabilities-statistics
Refresher probabilities-statistics
 
Finance Enginering from Columbia.pdf
Finance Enginering from Columbia.pdfFinance Enginering from Columbia.pdf
Finance Enginering from Columbia.pdf
 
Cheatsheet probability
Cheatsheet probabilityCheatsheet probability
Cheatsheet probability
 
Newtons Divided Difference Formulation
Newtons Divided Difference FormulationNewtons Divided Difference Formulation
Newtons Divided Difference Formulation
 
APPLICATION OF PARTIAL DIFFERENTIATION
APPLICATION OF PARTIAL DIFFERENTIATIONAPPLICATION OF PARTIAL DIFFERENTIATION
APPLICATION OF PARTIAL DIFFERENTIATION
 
Open GL 04 linealgos
Open GL 04 linealgosOpen GL 04 linealgos
Open GL 04 linealgos
 
chap 2 Ex#1.1
chap 2 Ex#1.1chap 2 Ex#1.1
chap 2 Ex#1.1
 
Lesson20 Tangent Planes Slides+Notes
Lesson20   Tangent Planes Slides+NotesLesson20   Tangent Planes Slides+Notes
Lesson20 Tangent Planes Slides+Notes
 
Factor theorem
Factor theoremFactor theorem
Factor theorem
 
Numarical values
Numarical valuesNumarical values
Numarical values
 
Numarical values highlighted
Numarical values highlightedNumarical values highlighted
Numarical values highlighted
 
PROBABILITY DISTRIBUTION
PROBABILITY DISTRIBUTIONPROBABILITY DISTRIBUTION
PROBABILITY DISTRIBUTION
 

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

GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
James Anderson
 
Introduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - CybersecurityIntroduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - Cybersecurity
mikeeftimakis1
 
20240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 202420240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 2024
Matthew Sinclair
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
Guy Korland
 
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
名前 です男
 
GridMate - End to end testing is a critical piece to ensure quality and avoid...
GridMate - End to end testing is a critical piece to ensure quality and avoid...GridMate - End to end testing is a critical piece to ensure quality and avoid...
GridMate - End to end testing is a critical piece to ensure quality and avoid...
ThomasParaiso2
 
Free Complete Python - A step towards Data Science
Free Complete Python - A step towards Data ScienceFree Complete Python - A step towards Data Science
Free Complete Python - A step towards Data Science
RinaMondal9
 
How to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptxHow to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptx
danishmna97
 
Mind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AIMind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AI
Kumud Singh
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
KatiaHIMEUR1
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
Kari Kakkonen
 
20240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 202420240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 2024
Matthew Sinclair
 
By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024
Pierluigi Pugliese
 
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
Neo4j
 
Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1
DianaGray10
 
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
Neo4j
 
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
SOFTTECHHUB
 
Climate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing DaysClimate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing Days
Kari Kakkonen
 
Enchancing adoption of Open Source Libraries. A case study on Albumentations.AI
Enchancing adoption of Open Source Libraries. A case study on Albumentations.AIEnchancing adoption of Open Source Libraries. A case study on Albumentations.AI
Enchancing adoption of Open Source Libraries. A case study on Albumentations.AI
Vladimir Iglovikov, Ph.D.
 
Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?
Nexer Digital
 

Recently uploaded (20)

GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
 
Introduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - CybersecurityIntroduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - Cybersecurity
 
20240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 202420240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 2024
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
 
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
 
GridMate - End to end testing is a critical piece to ensure quality and avoid...
GridMate - End to end testing is a critical piece to ensure quality and avoid...GridMate - End to end testing is a critical piece to ensure quality and avoid...
GridMate - End to end testing is a critical piece to ensure quality and avoid...
 
Free Complete Python - A step towards Data Science
Free Complete Python - A step towards Data ScienceFree Complete Python - A step towards Data Science
Free Complete Python - A step towards Data Science
 
How to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptxHow to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptx
 
Mind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AIMind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AI
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
 
20240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 202420240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 2024
 
By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024
 
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
 
Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1
 
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
 
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
 
Climate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing DaysClimate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing Days
 
Enchancing adoption of Open Source Libraries. A case study on Albumentations.AI
Enchancing adoption of Open Source Libraries. A case study on Albumentations.AIEnchancing adoption of Open Source Libraries. A case study on Albumentations.AI
Enchancing adoption of Open Source Libraries. A case study on Albumentations.AI
 
Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?
 

14 Bivariate Transformations

  • 3. 1. Example 2. Bivariate transformations 3. Calculating probabilities 4. Distribution function technique
  • 4.
  • 5.
  • 6.
  • 7.
  • 8.
  • 9.
  • 10.
  • 11. Question Suppose the basket is at (25, 0). Devise a way to calculate each shot’s distance from the basket using X and Y.
  • 12. Polar Coordinates r = √((x - 25)2 2 + ) y Ө = tan-1 (y/x)
  • 13. Polar Coordinates r = √((x -25)2 2 + ) y Ө = tan-1 (y/(x – 25))
  • 14. Bivariate Transformations (Transformations that involve two random variables at a time)
  • 16.
  • 17.
  • 18.
  • 19. Your Turn Suppose you own a portfolio of stocks. Let X1 be the amount of money your portfolio earns today, X2 be the amount of money it earns tomorrow, and so on… How would you calculate U and V, where U is the amount of money you’ll make on your best day during the next week, and V is the amount you’ll make on your worst day?
  • 21. What is the probability that max(X1, X2 , X3 , X4 , X5 , X6 , X7) ≤ $100 ? min(X1, X2 , X3 , X4 , X5 , X6 , X7) ≤ $ -100 ?
  • 22. Recall from the univariate case, we have two methods of calculating probabilities of transformed variables Distribution Change of function variable technique technique
  • 24. Suppose the Xi are iid. Is this a reasonable assumption? Then, we can calculate Fv(a) by P(V ≤ a) = P(min(Xi) ≤ a)
  • 25. Suppose the Xi are iid. Is this a reasonable assumption? Then, we can calculate Fv(a) by P(V ≤ a) = P(min(Xi) ≤ a) = 1 – P(min(Xi) > a)
  • 26. Suppose the Xi are iid. Is this a reasonable assumption? Then, we can calculate Fv(a) by P(V ≤ a) = P(min(Xi) ≤ a) = 1 – P(min(Xi) > a) = 1 – P(all Xi > a)
  • 27. = 1 – [P(X1 > a, X2 > a, … X7 > a)]
  • 28. = 1 – [P(X1 > a, X2 > a, … X7 > a)] = 1 – [P(X1 > a) P(X2 > a) … P(X7 > a) ]
  • 29. = 1 – [P(X1 > a, X2 > a, … X7 > a)] = 1 – [P(X1 > a) P(X2 > a) … P(X7 > a) ] (Because the Xi are independent)
  • 30. = 1 – [P(X1 > a, X2 > a, … X7 > a)] = 1 – [P(X1 > a) P(X2 > a) … P(X7 > a) ] (Because the Xi are independent) = 1 – [P(X1 > a) P(X1 > a) … P(X1 > a) ]
  • 31. = 1 – [P(X1 > a, X2 > a, … X7 > a)] = 1 – [P(X1 > a) P(X2 > a) … P(X7 > a) ] (Because the Xi are independent) = 1 – [P(X1 > a) P(X1 > a) … P(X1 > a) ] (because the Xi are identically distributed)
  • 32. = 1 – [P(X1 > a, X2 > a, … X7 > a)] = 1 – [P(X1 > a) P(X2 > a) … P(X7 > a) ] (Because the Xi are independent) = 1 – [P(X1 > a) P(X1 > a) … P(X1 > a) ] (because the Xi are identically distributed) = 1 – [P(X1 > a) 7 ]
  • 33. = 1 – [P(X1 > a, X2 > a, … X7 > a)] = 1 – [P(X1 > a) P(X2 > a) … P(X7 > a) ] (Because the Xi are independent) = 1 – [P(X1 > a) P(X1 > a) … P(X1 > a) ] (because the Xi are identically distributed) = 1 – [P(X1 > a) 7 ] = 1 – [ (1 – P(X1 ≤ a) )7 ]
  • 34. = 1 – [P(X1 > a, X2 > a, … X7 > a)] = 1 – [P(X1 > a) P(X2 > a) … P(X7 > a) ] (Because the Xi are independent) = 1 – [P(X1 > a) P(X1 > a) … P(X1 > a) ] (because the Xi are identically distributed) = 1 – [P(X1 > a) 7 ] = 1 – [ (1 – P(X1 ≤ a) )7 ] = 1 – [ (1 – Fx(a) ) 7 ]
  • 35. So P(V ≤ -100) = Fv(-100) = 1 – [ (1 – Fx(-100) ) 7 ] We can find the density of V by differentiating: fv(a) = Fv(a)
  • 36. So P(V ≤ -100) = Fv(-100) = 1 – [ (1 – Fx(-100) ) 7 ] We can find the density of V by differentiating: fv(a) = Fv(a) = {1 – [ (1 – Fx(a) ) 7 ]}
  • 37. So P(V ≤ -100) = Fv(-100) = 1 – [ (1 – Fx(-100) ) 7 ] We can find the density of V by differentiating: fv(a) = Fv(a) = {1 – [ (1 – Fx(a) ) 7 ]} = -7(1 – Fx(a) ) 6 (1 - Fx(a))
  • 38. So P(V ≤ -100) = Fv(-100) = 1 – [ (1 – Fx(-100) ) 7 ] We can find the density of V by differentiating: fv(a) = Fv(a) = {1 – [ (1 – Fx(a) ) 7 ]} = -7(1 – Fx(a) ) 6 (1 - Fx(a)) = 7(1 – Fx(a) ) 6 fx(a)
  • 39. Your Turn Work through the handout to find FU(a) and fU(a).
  • 40. What if we wish to find the joint distribution FU,V(a,b)? U = max(X, Y) V = min(X, Y) P(U < 2, V < 5) = ?
  • 41. Probability as volume under a surface f(x,y) P(Set A) X Set A Y
  • 42. P(U < 2, V < 5) = P( max(X, Y) < 5 min(X, Y) > 2) f(x,y) P(Set A) X Set A Y 5 5 P(U < 2, V < 5) = ∫ ∫ fx,y (x,y) dx dy 2 2
  • 43. But… •Computing double integrals can be hard •Finding correct bounds can be hard r = √((x - 25)2 + y2 ) Ө = tan-1 (y/(x – 25))
  • 44. Next time: Change of Variables