SlideShare a Scribd company logo
1 of 45
Download to read offline
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 differencesDr. 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 spacesIOSR 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 FUNCTIONNikhil 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 differenceRaj 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
 
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, AccelerationMatthew 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 variablesRohan 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 DevelopmentIJERD Editor
 
Interpolation functions
Interpolation functionsInterpolation functions
Interpolation functionsTarun 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 algebrasAlexander Decker
 
15 Probability Distribution Practical (HSC).pdf
15 Probability Distribution Practical (HSC).pdf15 Probability Distribution Practical (HSC).pdf
15 Probability Distribution Practical (HSC).pdfvedantsk1
 
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-statisticsSteve Nouri
 
Finance Enginering from Columbia.pdf
Finance Enginering from Columbia.pdfFinance Enginering from Columbia.pdf
Finance Enginering from Columbia.pdfCarlosLazo45
 
Cheatsheet probability
Cheatsheet probabilityCheatsheet probability
Cheatsheet probabilityAshish Patel
 
Newtons Divided Difference Formulation
Newtons Divided Difference FormulationNewtons Divided Difference Formulation
Newtons Divided Difference FormulationSohaib H. Khan
 
APPLICATION OF PARTIAL DIFFERENTIATION
APPLICATION OF PARTIAL DIFFERENTIATIONAPPLICATION OF PARTIAL DIFFERENTIATION
APPLICATION OF PARTIAL DIFFERENTIATIONDhrupal 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.1Ans Ali
 
Lesson20 Tangent Planes Slides+Notes
Lesson20   Tangent Planes Slides+NotesLesson20   Tangent Planes Slides+Notes
Lesson20 Tangent Planes Slides+NotesMatthew Leingang
 
Numarical values
Numarical valuesNumarical values
Numarical valuesAmanSaeed11
 
Numarical values highlighted
Numarical values highlightedNumarical values highlighted
Numarical values highlightedAmanSaeed11
 
PROBABILITY DISTRIBUTION
PROBABILITY DISTRIBUTIONPROBABILITY DISTRIBUTION
PROBABILITY DISTRIBUTIONshahzadebaujiti
 

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

ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesrafiqahmad00786416
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdfSandro Moreira
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamUiPathCommunity
 
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
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWERMadyBayot
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...apidays
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfOverkill Security
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDropbox
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Victor Rentea
 
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
 
"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
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Orbitshub
 
Cyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdfCyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdfOverkill Security
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsNanddeep Nachan
 
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
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...apidays
 
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
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024The Digital Insurer
 

Recently uploaded (20)

ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
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...
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
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
 
"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 ...
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
Cyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdfCyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdf
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
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
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
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...
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 

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