SlideShare une entreprise Scribd logo
1  sur  49
Télécharger pour lire hors ligne
Quiz
• Pick up quiz and handout on your way in.
• Start at 1pm
• Finish at 1:10pm

• The quiz is not for a grade, but I will be
  collecting it.
Stat 310
Bivariate Change of Variables



    Garrett Grolemund
1. Review of distribution function
   techniques
2. Change of variables technique
3. Determining independence
4. Simulating transformations
Lakers' final scores
Laker's
  Mean
  87.2




Opponent's
  Mean
  81.2
Let
X = The Lakers' Score
Y = The opponent's score
U = X -Y

Then the Lakers will win if U is positive,
and they will lose if U is negative.

How can we model U? (i.e, How can we
find the CDF and PDF of U?)
Recall from Tuesday
U = X - Y is a bivariate transformation

The Distribution function technique gives
us two ways to model X - Y:
1. Begin with FX,Y(a):
   Compute FU(a) in terms of FX,Y(a) by
   equating probabilities
1. Begin with FX,Y(a):
   Compute FU(a) in terms of FX,Y(a) by
   equating probabilities

FU(a) = P(U < a)
      = P(X - Y < a)
      = P(X < Y + a)
      =?
2. Begin with fX,Y(a) :
   Compute FU(a) by integrating fX,Y(a)
   over the region where U < a


                                               f(x,y)


                                            P(Set A)



                                              X

                                    Set A
                   Y
2. Begin with fX,Y(a) :
     Compute FU(a) by integrating fX,Y(a)
     over the region where U < a


                                                          f(x,y)


            ∞        Y+a                               P(Set A)
FU(a) = ∫        ∫              fX,Y(a) dxdy
            -∞             -∞
                                                         X

                                               Set A
                                       Y
Change of variables
Univariate change of variables
               X               U
If
            U = g(X)        X = h(U)

Where h is the inverse of g, then

           fU(u) = fx(h(u)) |h'(u)|
Method works for bivariate case, once we make
 the appropriate modifications.
Bivariate change of variables
                (X,Y)            (U,V)
if
            U = g1(X, Y)    X = h1(U, V)
            V = g2(X, Y)    Y = h2(U, V)

Where h is the inverse of g, then

     fU,V(u, v) = fx,y(h1(U, V) , h2(U, V) ) | J |
fU(u) = fx(h(u)) |h'(u)|

Since U depends on both X and Y, we replace
  fx(h(u)) with the joint density fx,y(h(u), * )
fU(u) = fx,y(h(u), * ) |h'(u)|

A joint density must be a function of two
  random variables
Let X = h1(u) and Y = h2(u)
fU(u) = fx,y(h1(u), h2(u)) |h'(u)|

But for equality to hold, we must have a
  function of two variables on the left side as
  well
Define V = g2(X, Y) however you like.
fU,V(u, v) = fx,y(h1(u, v), h2(u, v)) |h'(u)|

Now we have two equations to take derivatives of (h1, h2)
  and two variables to take the derivative with respect
  to, (U,V)

The multivariate equivalent of h'(u) is the Jacobian, J
fU,V(u, v) = fx,y(h1(u, v), h2(u, v)) | J |

             And we're finished
Jacobian

     δx         δx
     δu         δv
J=
     δy         δy
     δu         δv
a    b
               = ad - bc
     c    d


     δx   δx
     δu   δv
J=             = δx δy - δx δy
     δy   δy     δu δv δv δu
     δu   δv
fU,V(u, v) = fx,y(h1(u, v), h2(u, v)) | J |


U=X-Y
What should V be?
fU,V(u, v) = fx,y(h1(u, v), h2(u, v)) | J |


U=X-Y
What should V be?


• Sometimes we want V to be something specific
• Otherwise keep V simple or helpful
   e.g., V = Y
fU,V(u, v) = fx,y(h1(u, v), h2(u, v)) | J |


What should fx,y(*, *) be?
fU,V(u, v) = fx,y(h1(u, v), h2(u, v)) | J |


What should fx,y(*, *) be?

First consider: what should fx(*) and fy(*) be?
How would we model the Lakers score
distribution?
How would we model the Lakers score
distribution?

•   Discrete Data
How would we model the Lakers score
distribution?

•       Discrete Data
    •    Sum of many
         bernoulli trials
How would we model the Lakers score
distribution?

•       Discrete Data
    •    Sum of many
         bernoulli trials

Poisson?
Lakers' scores vs. simulated Poisson (87.2) distributions
Opponent's scores vs. simulated Poisson (81.2)
fU,V(u, v) = fx,y(h1(u, v), h2(u, v)) | J |

X ~ Poisson (87.2)     fx(h1(u, v)) = e-87.2 (87.2)h1(u,v)
                                         h1(u, v)!
Y ~ Poisson (81.2)     fy(h2(u, v)) = e-81.2 (81.2)h2(u,v)
                                         h2(u, v)!


                        ?
fx,y(h1(u, v), h2(u, v)) = fx(h1(u, v))     fy(h2(u, v))
ρ = 0.412
fU,V(u, v) = fx,y(h1(u, v), h2(u, v)) | J |
Your Turn
Calculate the Jacobian of our transformation. Let
U = X - Y and V = Y.


         δx      δx
         δu      δv
J=                           = δx δy - δx δy
         δy      δy            δu δv δv δu
         δu      δv
Your Turn
Calculate fU,V(u, v) and express fU(u) as an
integral (you do not need to solve that
integral).
Let U = X - Y and V = Y. Let X ~ Poisson(87.2) and
Y ~ Poisson(81.2)
Skellam Distribution

fU,V(u, v) = e-(87.2 + 81.2) (87.2)h1(u,v)(81.2)h2(u,v)
                        h1(u, v)! h2(u, v)!



    http://en.wikipedia.org/wiki/Skellam_distribution
U values
U values vs. Skellam Distribution
Testing Independence
Recall:
1. U and V are independent if
     fU,V(u, v) = fU(u) fV(v)


2. By change of variables:
     fU,V(u, v) = fx,y(h1(u, v), h2(u, v)) | J |
Complete the proof
Complete the handout to show that U = X + Y and
V = X - Y are independent when X, Y ~ N(0, 1).
Simulation
We can also learn a lot about the distribution of
 a random variable by simulating it.

Let Xi ~ Uniform (0,1)
Let U = (X1 + X2 ) / 2

If we generate a 100 pairs of X1 and X2 and plot
   (X1 + X2 ) / 2 for each pair, we will have a
   simulation of the distribution of U
For comparison, V1 = X1 ~ uniform(0,1)
          10,000 samples
V1 = (X1 + X2) / 2
10,000 samples
V1 = (X1 + X2 + X3) / 3
   10,000 samples
V1 = (X1 + X2 + … + X10) / 10
      10,000 samples
V1 = Σ11000 Xi / 1000
 10,000 samples

Contenu connexe

Tendances

Semianr 2. (2)
Semianr 2. (2)Semianr 2. (2)
Semianr 2. (2)
jobishvd
 
Actuarial Science Reference Sheet
Actuarial Science Reference SheetActuarial Science Reference Sheet
Actuarial Science Reference Sheet
Daniel Nolan
 
Introduction to inverse problems
Introduction to inverse problemsIntroduction to inverse problems
Introduction to inverse problems
Delta Pi Systems
 
18 directional derivatives and gradient
18 directional  derivatives and gradient18 directional  derivatives and gradient
18 directional derivatives and gradient
math267
 

Tendances (20)

Semianr 2. (2)
Semianr 2. (2)Semianr 2. (2)
Semianr 2. (2)
 
slides tails copulas
slides tails copulasslides tails copulas
slides tails copulas
 
Minimum mean square error estimation and approximation of the Bayesian update
Minimum mean square error estimation and approximation of the Bayesian updateMinimum mean square error estimation and approximation of the Bayesian update
Minimum mean square error estimation and approximation of the Bayesian update
 
Lecture 2: linear SVM in the dual
Lecture 2: linear SVM in the dualLecture 2: linear SVM in the dual
Lecture 2: linear SVM in the dual
 
Fougeres Besancon Archimax
Fougeres Besancon ArchimaxFougeres Besancon Archimax
Fougeres Besancon Archimax
 
12 derivatives and integrals of inverse trigonometric functions x
12 derivatives and integrals of inverse trigonometric functions x12 derivatives and integrals of inverse trigonometric functions x
12 derivatives and integrals of inverse trigonometric functions x
 
presentazione
presentazionepresentazione
presentazione
 
Interpolation with Finite differences
Interpolation with Finite differencesInterpolation with Finite differences
Interpolation with Finite differences
 
Actuarial Science Reference Sheet
Actuarial Science Reference SheetActuarial Science Reference Sheet
Actuarial Science Reference Sheet
 
ON OPTIMALITY OF THE INDEX OF SUM, PRODUCT, MAXIMUM, AND MINIMUM OF FINITE BA...
ON OPTIMALITY OF THE INDEX OF SUM, PRODUCT, MAXIMUM, AND MINIMUM OF FINITE BA...ON OPTIMALITY OF THE INDEX OF SUM, PRODUCT, MAXIMUM, AND MINIMUM OF FINITE BA...
ON OPTIMALITY OF THE INDEX OF SUM, PRODUCT, MAXIMUM, AND MINIMUM OF FINITE BA...
 
Introduction to inverse problems
Introduction to inverse problemsIntroduction to inverse problems
Introduction to inverse problems
 
Comparing estimation algorithms for block clustering models
Comparing estimation algorithms for block clustering modelsComparing estimation algorithms for block clustering models
Comparing estimation algorithms for block clustering models
 
Image denoising
Image denoisingImage denoising
Image denoising
 
Lesson 24: Implicit Differentiation
Lesson 24: Implicit DifferentiationLesson 24: Implicit Differentiation
Lesson 24: Implicit Differentiation
 
Tales on two commuting transformations or flows
Tales on two commuting transformations or flowsTales on two commuting transformations or flows
Tales on two commuting transformations or flows
 
Finite difference method
Finite difference methodFinite difference method
Finite difference method
 
L. Jonke - A Twisted Look on Kappa-Minkowski: U(1) Gauge Theory
L. Jonke - A Twisted Look on Kappa-Minkowski: U(1) Gauge TheoryL. Jonke - A Twisted Look on Kappa-Minkowski: U(1) Gauge Theory
L. Jonke - A Twisted Look on Kappa-Minkowski: U(1) Gauge Theory
 
A new axisymmetric finite element
A new axisymmetric finite elementA new axisymmetric finite element
A new axisymmetric finite element
 
Complex varible
Complex varibleComplex varible
Complex varible
 
18 directional derivatives and gradient
18 directional  derivatives and gradient18 directional  derivatives and gradient
18 directional derivatives and gradient
 

En vedette (6)

Tata Motors General Quiz
Tata Motors General QuizTata Motors General Quiz
Tata Motors General Quiz
 
Amrita School of Business Coimbatore Pragati 2016 Business Quiz Finals
Amrita School of Business Coimbatore Pragati 2016 Business Quiz Finals Amrita School of Business Coimbatore Pragati 2016 Business Quiz Finals
Amrita School of Business Coimbatore Pragati 2016 Business Quiz Finals
 
Business Quiz - AV College, Hyderabad
Business Quiz - AV College, HyderabadBusiness Quiz - AV College, Hyderabad
Business Quiz - AV College, Hyderabad
 
Business quiz Final@ Marian College 2017
Business quiz Final@ Marian College 2017Business quiz Final@ Marian College 2017
Business quiz Final@ Marian College 2017
 
Purvodaya 2017 Quizzard (Business Quiz) Finals, VGSOM, IIT Kharagpur
Purvodaya 2017 Quizzard (Business Quiz) Finals, VGSOM, IIT KharagpurPurvodaya 2017 Quizzard (Business Quiz) Finals, VGSOM, IIT Kharagpur
Purvodaya 2017 Quizzard (Business Quiz) Finals, VGSOM, IIT Kharagpur
 
BUSINESS QUIZ -Round 1
 BUSINESS QUIZ -Round 1 BUSINESS QUIZ -Round 1
BUSINESS QUIZ -Round 1
 

Similaire à 15 Bivariate Change Of Variables

Lesson20 Tangent Planes Slides+Notes
Lesson20   Tangent Planes Slides+NotesLesson20   Tangent Planes Slides+Notes
Lesson20 Tangent Planes Slides+Notes
Matthew Leingang
 
Lecture13p.pdf.pdfThedeepness of freedom are threevalues.docx
Lecture13p.pdf.pdfThedeepness of freedom are threevalues.docxLecture13p.pdf.pdfThedeepness of freedom are threevalues.docx
Lecture13p.pdf.pdfThedeepness of freedom are threevalues.docx
croysierkathey
 
Lecture13p.pdf.pdfThedeepness of freedom are threevalues.docx
Lecture13p.pdf.pdfThedeepness of freedom are threevalues.docxLecture13p.pdf.pdfThedeepness of freedom are threevalues.docx
Lecture13p.pdf.pdfThedeepness of freedom are threevalues.docx
jeremylockett77
 
On Coincidence Points in Pseudocompact Tichonov Spaces and Common Fixed Point...
On Coincidence Points in Pseudocompact Tichonov Spaces and Common Fixed Point...On Coincidence Points in Pseudocompact Tichonov Spaces and Common Fixed Point...
On Coincidence Points in Pseudocompact Tichonov Spaces and Common Fixed Point...
inventionjournals
 
Welcome to International Journal of Engineering Research and Development (IJERD)
Welcome to International Journal of Engineering Research and Development (IJERD)Welcome to International Journal of Engineering Research and Development (IJERD)
Welcome to International Journal of Engineering Research and Development (IJERD)
IJERD Editor
 
28 work and line integrals
28 work and line integrals28 work and line integrals
28 work and line integrals
math267
 
MA500-2 Topological Structures 2016Aisling McCluskey, Dar.docx
MA500-2 Topological Structures 2016Aisling McCluskey, Dar.docxMA500-2 Topological Structures 2016Aisling McCluskey, Dar.docx
MA500-2 Topological Structures 2016Aisling McCluskey, Dar.docx
smile790243
 
Change of variables in double integrals
Change of variables in double integralsChange of variables in double integrals
Change of variables in double integrals
Tarun Gehlot
 
Change of variables in double integrals
Change of variables in double integralsChange of variables in double integrals
Change of variables in double integrals
Tarun Gehlot
 
4.1 inverse functions
4.1 inverse functions4.1 inverse functions
4.1 inverse functions
math260
 

Similaire à 15 Bivariate Change Of Variables (20)

Transformation of random variables
Transformation of random variablesTransformation of random variables
Transformation of random variables
 
Conditional Expectations Liner algebra
Conditional Expectations Liner algebra Conditional Expectations Liner algebra
Conditional Expectations Liner algebra
 
Lesson20 Tangent Planes Slides+Notes
Lesson20   Tangent Planes Slides+NotesLesson20   Tangent Planes Slides+Notes
Lesson20 Tangent Planes Slides+Notes
 
Lecture13p.pdf.pdfThedeepness of freedom are threevalues.docx
Lecture13p.pdf.pdfThedeepness of freedom are threevalues.docxLecture13p.pdf.pdfThedeepness of freedom are threevalues.docx
Lecture13p.pdf.pdfThedeepness of freedom are threevalues.docx
 
Lecture13p.pdf.pdfThedeepness of freedom are threevalues.docx
Lecture13p.pdf.pdfThedeepness of freedom are threevalues.docxLecture13p.pdf.pdfThedeepness of freedom are threevalues.docx
Lecture13p.pdf.pdfThedeepness of freedom are threevalues.docx
 
On Coincidence Points in Pseudocompact Tichonov Spaces and Common Fixed Point...
On Coincidence Points in Pseudocompact Tichonov Spaces and Common Fixed Point...On Coincidence Points in Pseudocompact Tichonov Spaces and Common Fixed Point...
On Coincidence Points in Pseudocompact Tichonov Spaces and Common Fixed Point...
 
Slides econometrics-2018-graduate-4
Slides econometrics-2018-graduate-4Slides econometrics-2018-graduate-4
Slides econometrics-2018-graduate-4
 
18MMA21C-U2.pdf
18MMA21C-U2.pdf18MMA21C-U2.pdf
18MMA21C-U2.pdf
 
Graduate Econometrics Course, part 4, 2017
Graduate Econometrics Course, part 4, 2017Graduate Econometrics Course, part 4, 2017
Graduate Econometrics Course, part 4, 2017
 
Welcome to International Journal of Engineering Research and Development (IJERD)
Welcome to International Journal of Engineering Research and Development (IJERD)Welcome to International Journal of Engineering Research and Development (IJERD)
Welcome to International Journal of Engineering Research and Development (IJERD)
 
28 work and line integrals
28 work and line integrals28 work and line integrals
28 work and line integrals
 
MA500-2 Topological Structures 2016Aisling McCluskey, Dar.docx
MA500-2 Topological Structures 2016Aisling McCluskey, Dar.docxMA500-2 Topological Structures 2016Aisling McCluskey, Dar.docx
MA500-2 Topological Structures 2016Aisling McCluskey, Dar.docx
 
Change of variables in double integrals
Change of variables in double integralsChange of variables in double integrals
Change of variables in double integrals
 
Change of variables in double integrals
Change of variables in double integralsChange of variables in double integrals
Change of variables in double integrals
 
partialderivatives
partialderivativespartialderivatives
partialderivatives
 
4.1 inverse functions
4.1 inverse functions4.1 inverse functions
4.1 inverse functions
 
Lecture_Slides_Mathematics_06_Optimization.pdf
Lecture_Slides_Mathematics_06_Optimization.pdfLecture_Slides_Mathematics_06_Optimization.pdf
Lecture_Slides_Mathematics_06_Optimization.pdf
 
E42012426
E42012426E42012426
E42012426
 
IRJET - Fuzzy Soft Hyperideals in Meet Hyperlattices
IRJET - Fuzzy Soft Hyperideals in Meet HyperlatticesIRJET - Fuzzy Soft Hyperideals in Meet Hyperlattices
IRJET - Fuzzy Soft Hyperideals in Meet Hyperlattices
 
Bellman functions and Lp estimates for paraproducts
Bellman functions and Lp estimates for paraproductsBellman functions and Lp estimates for paraproducts
Bellman functions and Lp estimates for paraproducts
 

Plus de 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
 

Dernier

Call Girls From Pari Chowk Greater Noida ❤️8448577510 ⊹Best Escorts Service I...
Call Girls From Pari Chowk Greater Noida ❤️8448577510 ⊹Best Escorts Service I...Call Girls From Pari Chowk Greater Noida ❤️8448577510 ⊹Best Escorts Service I...
Call Girls From Pari Chowk Greater Noida ❤️8448577510 ⊹Best Escorts Service I...
lizamodels9
 
Russian Call Girls In Rajiv Chowk Gurgaon ❤️8448577510 ⊹Best Escorts Service ...
Russian Call Girls In Rajiv Chowk Gurgaon ❤️8448577510 ⊹Best Escorts Service ...Russian Call Girls In Rajiv Chowk Gurgaon ❤️8448577510 ⊹Best Escorts Service ...
Russian Call Girls In Rajiv Chowk Gurgaon ❤️8448577510 ⊹Best Escorts Service ...
lizamodels9
 
Call Girls Hebbal Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Hebbal Just Call 👗 7737669865 👗 Top Class Call Girl Service BangaloreCall Girls Hebbal Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Hebbal Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
amitlee9823
 
Call Girls In Majnu Ka Tilla 959961~3876 Shot 2000 Night 8000
Call Girls In Majnu Ka Tilla 959961~3876 Shot 2000 Night 8000Call Girls In Majnu Ka Tilla 959961~3876 Shot 2000 Night 8000
Call Girls In Majnu Ka Tilla 959961~3876 Shot 2000 Night 8000
dlhescort
 
Chandigarh Escorts Service 📞8868886958📞 Just📲 Call Nihal Chandigarh Call Girl...
Chandigarh Escorts Service 📞8868886958📞 Just📲 Call Nihal Chandigarh Call Girl...Chandigarh Escorts Service 📞8868886958📞 Just📲 Call Nihal Chandigarh Call Girl...
Chandigarh Escorts Service 📞8868886958📞 Just📲 Call Nihal Chandigarh Call Girl...
Sheetaleventcompany
 
Call Now ☎️🔝 9332606886🔝 Call Girls ❤ Service In Bhilwara Female Escorts Serv...
Call Now ☎️🔝 9332606886🔝 Call Girls ❤ Service In Bhilwara Female Escorts Serv...Call Now ☎️🔝 9332606886🔝 Call Girls ❤ Service In Bhilwara Female Escorts Serv...
Call Now ☎️🔝 9332606886🔝 Call Girls ❤ Service In Bhilwara Female Escorts Serv...
Anamikakaur10
 
Call Girls Kengeri Satellite Town Just Call 👗 7737669865 👗 Top Class Call Gir...
Call Girls Kengeri Satellite Town Just Call 👗 7737669865 👗 Top Class Call Gir...Call Girls Kengeri Satellite Town Just Call 👗 7737669865 👗 Top Class Call Gir...
Call Girls Kengeri Satellite Town Just Call 👗 7737669865 👗 Top Class Call Gir...
amitlee9823
 
Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...
Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...
Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...
daisycvs
 
unwanted pregnancy Kit [+918133066128] Abortion Pills IN Dubai UAE Abudhabi
unwanted pregnancy Kit [+918133066128] Abortion Pills IN Dubai UAE Abudhabiunwanted pregnancy Kit [+918133066128] Abortion Pills IN Dubai UAE Abudhabi
unwanted pregnancy Kit [+918133066128] Abortion Pills IN Dubai UAE Abudhabi
Abortion pills in Kuwait Cytotec pills in Kuwait
 

Dernier (20)

Call Girls From Pari Chowk Greater Noida ❤️8448577510 ⊹Best Escorts Service I...
Call Girls From Pari Chowk Greater Noida ❤️8448577510 ⊹Best Escorts Service I...Call Girls From Pari Chowk Greater Noida ❤️8448577510 ⊹Best Escorts Service I...
Call Girls From Pari Chowk Greater Noida ❤️8448577510 ⊹Best Escorts Service I...
 
JAYNAGAR CALL GIRL IN 98274*61493 ❤CALL GIRLS IN ESCORT SERVICE❤CALL GIRL
JAYNAGAR CALL GIRL IN 98274*61493 ❤CALL GIRLS IN ESCORT SERVICE❤CALL GIRLJAYNAGAR CALL GIRL IN 98274*61493 ❤CALL GIRLS IN ESCORT SERVICE❤CALL GIRL
JAYNAGAR CALL GIRL IN 98274*61493 ❤CALL GIRLS IN ESCORT SERVICE❤CALL GIRL
 
Russian Call Girls In Rajiv Chowk Gurgaon ❤️8448577510 ⊹Best Escorts Service ...
Russian Call Girls In Rajiv Chowk Gurgaon ❤️8448577510 ⊹Best Escorts Service ...Russian Call Girls In Rajiv Chowk Gurgaon ❤️8448577510 ⊹Best Escorts Service ...
Russian Call Girls In Rajiv Chowk Gurgaon ❤️8448577510 ⊹Best Escorts Service ...
 
Call Girls Hebbal Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Hebbal Just Call 👗 7737669865 👗 Top Class Call Girl Service BangaloreCall Girls Hebbal Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Hebbal Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
 
Call Girls In Majnu Ka Tilla 959961~3876 Shot 2000 Night 8000
Call Girls In Majnu Ka Tilla 959961~3876 Shot 2000 Night 8000Call Girls In Majnu Ka Tilla 959961~3876 Shot 2000 Night 8000
Call Girls In Majnu Ka Tilla 959961~3876 Shot 2000 Night 8000
 
Cracking the Cultural Competence Code.pptx
Cracking the Cultural Competence Code.pptxCracking the Cultural Competence Code.pptx
Cracking the Cultural Competence Code.pptx
 
Malegaon Call Girls Service ☎ ️82500–77686 ☎️ Enjoy 24/7 Escort Service
Malegaon Call Girls Service ☎ ️82500–77686 ☎️ Enjoy 24/7 Escort ServiceMalegaon Call Girls Service ☎ ️82500–77686 ☎️ Enjoy 24/7 Escort Service
Malegaon Call Girls Service ☎ ️82500–77686 ☎️ Enjoy 24/7 Escort Service
 
Call Girls Service In Old Town Dubai ((0551707352)) Old Town Dubai Call Girl ...
Call Girls Service In Old Town Dubai ((0551707352)) Old Town Dubai Call Girl ...Call Girls Service In Old Town Dubai ((0551707352)) Old Town Dubai Call Girl ...
Call Girls Service In Old Town Dubai ((0551707352)) Old Town Dubai Call Girl ...
 
BAGALUR CALL GIRL IN 98274*61493 ❤CALL GIRLS IN ESCORT SERVICE❤CALL GIRL
BAGALUR CALL GIRL IN 98274*61493 ❤CALL GIRLS IN ESCORT SERVICE❤CALL GIRLBAGALUR CALL GIRL IN 98274*61493 ❤CALL GIRLS IN ESCORT SERVICE❤CALL GIRL
BAGALUR CALL GIRL IN 98274*61493 ❤CALL GIRLS IN ESCORT SERVICE❤CALL GIRL
 
Uneak White's Personal Brand Exploration Presentation
Uneak White's Personal Brand Exploration PresentationUneak White's Personal Brand Exploration Presentation
Uneak White's Personal Brand Exploration Presentation
 
Call Girls Zirakpur👧 Book Now📱7837612180 📞👉Call Girl Service In Zirakpur No A...
Call Girls Zirakpur👧 Book Now📱7837612180 📞👉Call Girl Service In Zirakpur No A...Call Girls Zirakpur👧 Book Now📱7837612180 📞👉Call Girl Service In Zirakpur No A...
Call Girls Zirakpur👧 Book Now📱7837612180 📞👉Call Girl Service In Zirakpur No A...
 
Chandigarh Escorts Service 📞8868886958📞 Just📲 Call Nihal Chandigarh Call Girl...
Chandigarh Escorts Service 📞8868886958📞 Just📲 Call Nihal Chandigarh Call Girl...Chandigarh Escorts Service 📞8868886958📞 Just📲 Call Nihal Chandigarh Call Girl...
Chandigarh Escorts Service 📞8868886958📞 Just📲 Call Nihal Chandigarh Call Girl...
 
Call Now ☎️🔝 9332606886🔝 Call Girls ❤ Service In Bhilwara Female Escorts Serv...
Call Now ☎️🔝 9332606886🔝 Call Girls ❤ Service In Bhilwara Female Escorts Serv...Call Now ☎️🔝 9332606886🔝 Call Girls ❤ Service In Bhilwara Female Escorts Serv...
Call Now ☎️🔝 9332606886🔝 Call Girls ❤ Service In Bhilwara Female Escorts Serv...
 
👉Chandigarh Call Girls 👉9878799926👉Just Call👉Chandigarh Call Girl In Chandiga...
👉Chandigarh Call Girls 👉9878799926👉Just Call👉Chandigarh Call Girl In Chandiga...👉Chandigarh Call Girls 👉9878799926👉Just Call👉Chandigarh Call Girl In Chandiga...
👉Chandigarh Call Girls 👉9878799926👉Just Call👉Chandigarh Call Girl In Chandiga...
 
The Path to Product Excellence: Avoiding Common Pitfalls and Enhancing Commun...
The Path to Product Excellence: Avoiding Common Pitfalls and Enhancing Commun...The Path to Product Excellence: Avoiding Common Pitfalls and Enhancing Commun...
The Path to Product Excellence: Avoiding Common Pitfalls and Enhancing Commun...
 
Call Girls Kengeri Satellite Town Just Call 👗 7737669865 👗 Top Class Call Gir...
Call Girls Kengeri Satellite Town Just Call 👗 7737669865 👗 Top Class Call Gir...Call Girls Kengeri Satellite Town Just Call 👗 7737669865 👗 Top Class Call Gir...
Call Girls Kengeri Satellite Town Just Call 👗 7737669865 👗 Top Class Call Gir...
 
How to Get Started in Social Media for Art League City
How to Get Started in Social Media for Art League CityHow to Get Started in Social Media for Art League City
How to Get Started in Social Media for Art League City
 
Phases of Negotiation .pptx
 Phases of Negotiation .pptx Phases of Negotiation .pptx
Phases of Negotiation .pptx
 
Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...
Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...
Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...
 
unwanted pregnancy Kit [+918133066128] Abortion Pills IN Dubai UAE Abudhabi
unwanted pregnancy Kit [+918133066128] Abortion Pills IN Dubai UAE Abudhabiunwanted pregnancy Kit [+918133066128] Abortion Pills IN Dubai UAE Abudhabi
unwanted pregnancy Kit [+918133066128] Abortion Pills IN Dubai UAE Abudhabi
 

15 Bivariate Change Of Variables

  • 1. Quiz • Pick up quiz and handout on your way in. • Start at 1pm • Finish at 1:10pm • The quiz is not for a grade, but I will be collecting it.
  • 2. Stat 310 Bivariate Change of Variables Garrett Grolemund
  • 3. 1. Review of distribution function techniques 2. Change of variables technique 3. Determining independence 4. Simulating transformations
  • 5. Laker's Mean 87.2 Opponent's Mean 81.2
  • 6. Let X = The Lakers' Score Y = The opponent's score U = X -Y Then the Lakers will win if U is positive, and they will lose if U is negative. How can we model U? (i.e, How can we find the CDF and PDF of U?)
  • 7. Recall from Tuesday U = X - Y is a bivariate transformation The Distribution function technique gives us two ways to model X - Y:
  • 8. 1. Begin with FX,Y(a): Compute FU(a) in terms of FX,Y(a) by equating probabilities
  • 9. 1. Begin with FX,Y(a): Compute FU(a) in terms of FX,Y(a) by equating probabilities FU(a) = P(U < a) = P(X - Y < a) = P(X < Y + a) =?
  • 10. 2. Begin with fX,Y(a) : Compute FU(a) by integrating fX,Y(a) over the region where U < a f(x,y) P(Set A) X Set A Y
  • 11. 2. Begin with fX,Y(a) : Compute FU(a) by integrating fX,Y(a) over the region where U < a f(x,y) ∞ Y+a P(Set A) FU(a) = ∫ ∫ fX,Y(a) dxdy -∞ -∞ X Set A Y
  • 13. Univariate change of variables X U If U = g(X) X = h(U) Where h is the inverse of g, then fU(u) = fx(h(u)) |h'(u)| Method works for bivariate case, once we make the appropriate modifications.
  • 14. Bivariate change of variables (X,Y) (U,V) if U = g1(X, Y) X = h1(U, V) V = g2(X, Y) Y = h2(U, V) Where h is the inverse of g, then fU,V(u, v) = fx,y(h1(U, V) , h2(U, V) ) | J |
  • 15. fU(u) = fx(h(u)) |h'(u)| Since U depends on both X and Y, we replace fx(h(u)) with the joint density fx,y(h(u), * )
  • 16. fU(u) = fx,y(h(u), * ) |h'(u)| A joint density must be a function of two random variables Let X = h1(u) and Y = h2(u)
  • 17. fU(u) = fx,y(h1(u), h2(u)) |h'(u)| But for equality to hold, we must have a function of two variables on the left side as well Define V = g2(X, Y) however you like.
  • 18. fU,V(u, v) = fx,y(h1(u, v), h2(u, v)) |h'(u)| Now we have two equations to take derivatives of (h1, h2) and two variables to take the derivative with respect to, (U,V) The multivariate equivalent of h'(u) is the Jacobian, J
  • 19. fU,V(u, v) = fx,y(h1(u, v), h2(u, v)) | J | And we're finished
  • 20. Jacobian δx δx δu δv J= δy δy δu δv
  • 21. a b = ad - bc c d δx δx δu δv J= = δx δy - δx δy δy δy δu δv δv δu δu δv
  • 22. fU,V(u, v) = fx,y(h1(u, v), h2(u, v)) | J | U=X-Y What should V be?
  • 23. fU,V(u, v) = fx,y(h1(u, v), h2(u, v)) | J | U=X-Y What should V be? • Sometimes we want V to be something specific • Otherwise keep V simple or helpful e.g., V = Y
  • 24. fU,V(u, v) = fx,y(h1(u, v), h2(u, v)) | J | What should fx,y(*, *) be?
  • 25. fU,V(u, v) = fx,y(h1(u, v), h2(u, v)) | J | What should fx,y(*, *) be? First consider: what should fx(*) and fy(*) be?
  • 26. How would we model the Lakers score distribution?
  • 27. How would we model the Lakers score distribution? • Discrete Data
  • 28. How would we model the Lakers score distribution? • Discrete Data • Sum of many bernoulli trials
  • 29. How would we model the Lakers score distribution? • Discrete Data • Sum of many bernoulli trials Poisson?
  • 30. Lakers' scores vs. simulated Poisson (87.2) distributions
  • 31. Opponent's scores vs. simulated Poisson (81.2)
  • 32. fU,V(u, v) = fx,y(h1(u, v), h2(u, v)) | J | X ~ Poisson (87.2) fx(h1(u, v)) = e-87.2 (87.2)h1(u,v) h1(u, v)! Y ~ Poisson (81.2) fy(h2(u, v)) = e-81.2 (81.2)h2(u,v) h2(u, v)! ? fx,y(h1(u, v), h2(u, v)) = fx(h1(u, v)) fy(h2(u, v))
  • 34. fU,V(u, v) = fx,y(h1(u, v), h2(u, v)) | J |
  • 35. Your Turn Calculate the Jacobian of our transformation. Let U = X - Y and V = Y. δx δx δu δv J= = δx δy - δx δy δy δy δu δv δv δu δu δv
  • 36. Your Turn Calculate fU,V(u, v) and express fU(u) as an integral (you do not need to solve that integral). Let U = X - Y and V = Y. Let X ~ Poisson(87.2) and Y ~ Poisson(81.2)
  • 37. Skellam Distribution fU,V(u, v) = e-(87.2 + 81.2) (87.2)h1(u,v)(81.2)h2(u,v) h1(u, v)! h2(u, v)! http://en.wikipedia.org/wiki/Skellam_distribution
  • 39. U values vs. Skellam Distribution
  • 41. Recall: 1. U and V are independent if fU,V(u, v) = fU(u) fV(v) 2. By change of variables: fU,V(u, v) = fx,y(h1(u, v), h2(u, v)) | J |
  • 42. Complete the proof Complete the handout to show that U = X + Y and V = X - Y are independent when X, Y ~ N(0, 1).
  • 44. We can also learn a lot about the distribution of a random variable by simulating it. Let Xi ~ Uniform (0,1) Let U = (X1 + X2 ) / 2 If we generate a 100 pairs of X1 and X2 and plot (X1 + X2 ) / 2 for each pair, we will have a simulation of the distribution of U
  • 45. For comparison, V1 = X1 ~ uniform(0,1) 10,000 samples
  • 46. V1 = (X1 + X2) / 2 10,000 samples
  • 47. V1 = (X1 + X2 + X3) / 3 10,000 samples
  • 48. V1 = (X1 + X2 + … + X10) / 10 10,000 samples
  • 49. V1 = Σ11000 Xi / 1000 10,000 samples