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


                             Hadley Wickham
Thursday, 19 February 2009
1. Feedback
                2. Test info
                3. Example
                       1. Constructing a joint
                       2. Expectation
                       3. Independence
                       4. Conditioning


Thursday, 19 February 2009
Feedback
                    • Still like the examples, and the recaps
                    • 10 said you found the help sessions
                      really helpful
                    • 3 commented on my improved board
                      skills :)
                    • 2 said speed was good, 1 too slow and
                      4 too fast


Thursday, 19 February 2009
Feedback
                    • Still don’t like me making mistakes.
                    • Would like more real-life and better
                      prepared examples - will do.
                    • Website needs to be updated more
                      frequently - I’ll try!
                    • Will try and put readings up ahead of
                      time


Thursday, 19 February 2009
+
                                          st




                             Casual
                                               ill




Thursday, 19 February 2009
                                              a
                                      +
                                         t-s fa
                                             hi n o
                                      - l rts f t
                                         ik
                                            e : st he
                                              yo ill sh
                                                ur aw irt
                                                   pr es s
                                                     ev om
                                                       io
                                                          us e
                                                            se
                                      +                       to
                                         pi                      fs
                                            nk
                                                                    hi
                                               po                      rts
                                                  lo                       m
                                                                               or
                                                                                 e
                                      +
                                          cl
                                            ot
                                      +              hi
                                                          ng
                                          ni
                                                               is
                                            ce
                                                                    im
                                      +               at
                                          fa         tir pr
                                               nt e             ov
                                                                   in
                                                 as
                                                                      g
                                                    tic
                                                        cl
                                                           ot
                             Formal




                                                              he
                                                                s
Test info
                    Thursday 26th February
                    Same format as last test,
                    but only one page of notes.
                    Continuous & bivariate
                    random variables.
                    Will put more info on website asap.


Thursday, 19 February 2009
Recap



Thursday, 19 February 2009
pdf


                                              f (x, y) ≥ 0
                        f (x, y) dy dx = 1
                 S




                                        pmf

                                              f (x, y) ≥ 0
                             f (x, y) = 1
                      S

Thursday, 19 February 2009
fX (x) =       f (x, y)dy
                                        R


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


Thursday, 19 February 2009
Example
                    Oscar has a bad gambling problem.
                    Every night on the way home from work
                    he takes the X hundred dollars he earned
                    at work that day and goes to the local
                    casino. Oscar never wins any money but
                    eventually stops playing to return home
                    with Y hundred dollars.



Thursday, 19 February 2009
Question

                    If X is a random variable with
                    pdf f(x) = x / 8 0 < x < 4
                    and Y|X=x ~ Unif(0, x)
                    What is the joint pdf f(x, y) ?
                    Hint:
                   P (X ∈ A ∩ Y ∈ B) = P (X ∈ A|Y ∈ B)P (Y ∈ B)


Thursday, 19 February 2009
f (x, y)       =   f (y|x) f (x)
                                 f (x|y) f (y)
         If x and y are independent,
         what does that imply about
         f(x, y) ?




Thursday, 19 February 2009
f (x, y)           =     f (y|x) f (x)
                                       f (x|y) f (y)
         If x and y are independent,
         what does that imply about
         f(x, y) ?
        f (x, y)             =   f (x) f (y)


Thursday, 19 February 2009
Question

                    What is f(y)?
                    (how much money Oscar brings home)
                    i.e. imagine we don’t know X, but still
                    want some idea of the likely amounts of
                    money Oscar will bring home




Thursday, 19 February 2009
fX (x) =              f (x, y)dy
                                               R


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

                             Be careful with limits of integration!
Thursday, 19 February 2009
S = {(x, y) : f (x, y) > 0}

                             Sx = {x : f (x) > 0}
                             Sy = {y : f (y) > 0}


Thursday, 19 February 2009
Question
                    What is Oscar’s expected loss?
                    We don’t have the tools to solve this yet,
                    but you can still convert the word
                    problem to a mathematical problem.
                    And you can use your intuition to think
                    about what would make sense



Thursday, 19 February 2009
E(u(X, Y )) =                     u(x, y) f (x, y) dy dx
                              S




       So what is E(X - Y)?
       Does that number make sense?


Thursday, 19 February 2009
Theory question

                    If X and Y are independent, what is
                    E(XY) ?


                    What does that imply about the intuition
                    we used in the previous problem?



Thursday, 19 February 2009
Theory result

                    E(XY) = E(X) E(Y)
                    So maybe that implies X and Z = (X-Y)/X
                    (percent loss) are independent.
                    We’ll look at the tools to show that next
                    time.



Thursday, 19 February 2009
Question
                    One night Oscar returns home with less
                    than $200. What is:
                             The probability he started with less than $200?
                             The probability he lost more than $100?
                             The probability he lost exactly $75?

                    If you don’t see how to do this immediately,
                    you can still write it out mathematically and
                    use your intuition.

Thursday, 19 February 2009
P(X < 2 | Y < 2)
                    P(Y - X < 1 | Y < 2)
                    P(Y - X = 0.75 | Y < 2)




Thursday, 19 February 2009
Engineering Majors Day
                    Oshman Engineering Design Kitchen


                             2:30-4:30pm


Thursday, 19 February 2009

More Related Content

More from Hadley Wickham (20)

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
 
10 simulation
10 simulation10 simulation
10 simulation
 
09 bootstrapping
09 bootstrapping09 bootstrapping
09 bootstrapping
 
08 functions
08 functions08 functions
08 functions
 
07 problem-solving
07 problem-solving07 problem-solving
07 problem-solving
 

Recently uploaded

(RIYA)🎄Airhostess Call Girl Jaipur Call Now 8445551418 Premium Collection Of ...
(RIYA)🎄Airhostess Call Girl Jaipur Call Now 8445551418 Premium Collection Of ...(RIYA)🎄Airhostess Call Girl Jaipur Call Now 8445551418 Premium Collection Of ...
(RIYA)🎄Airhostess Call Girl Jaipur Call Now 8445551418 Premium Collection Of ...TanyaAhuja34
 
tongue disease lecture Dr Assadawy legacy
tongue disease lecture Dr Assadawy legacytongue disease lecture Dr Assadawy legacy
tongue disease lecture Dr Assadawy legacyDrMohamed Assadawy
 
Chandigarh Call Girls Service ❤️🍑 9809698092 👄🫦Independent Escort Service Cha...
Chandigarh Call Girls Service ❤️🍑 9809698092 👄🫦Independent Escort Service Cha...Chandigarh Call Girls Service ❤️🍑 9809698092 👄🫦Independent Escort Service Cha...
Chandigarh Call Girls Service ❤️🍑 9809698092 👄🫦Independent Escort Service Cha...Sheetaleventcompany
 
💰Call Girl In Bangalore☎️7304373326💰 Call Girl service in Bangalore☎️Bangalor...
💰Call Girl In Bangalore☎️7304373326💰 Call Girl service in Bangalore☎️Bangalor...💰Call Girl In Bangalore☎️7304373326💰 Call Girl service in Bangalore☎️Bangalor...
💰Call Girl In Bangalore☎️7304373326💰 Call Girl service in Bangalore☎️Bangalor...Sheetaleventcompany
 
Premium Call Girls Nagpur {9xx000xx09} ❤️VVIP POOJA Call Girls in Nagpur Maha...
Premium Call Girls Nagpur {9xx000xx09} ❤️VVIP POOJA Call Girls in Nagpur Maha...Premium Call Girls Nagpur {9xx000xx09} ❤️VVIP POOJA Call Girls in Nagpur Maha...
Premium Call Girls Nagpur {9xx000xx09} ❤️VVIP POOJA Call Girls in Nagpur Maha...Sheetaleventcompany
 
👉 Chennai Sexy Aunty’s WhatsApp Number 👉📞 7427069034 👉📞 Just📲 Call Ruhi Colle...
👉 Chennai Sexy Aunty’s WhatsApp Number 👉📞 7427069034 👉📞 Just📲 Call Ruhi Colle...👉 Chennai Sexy Aunty’s WhatsApp Number 👉📞 7427069034 👉📞 Just📲 Call Ruhi Colle...
👉 Chennai Sexy Aunty’s WhatsApp Number 👉📞 7427069034 👉📞 Just📲 Call Ruhi Colle...rajnisinghkjn
 
Cheap Rate Call Girls Bangalore {9179660964} ❤️VVIP BEBO Call Girls in Bangal...
Cheap Rate Call Girls Bangalore {9179660964} ❤️VVIP BEBO Call Girls in Bangal...Cheap Rate Call Girls Bangalore {9179660964} ❤️VVIP BEBO Call Girls in Bangal...
Cheap Rate Call Girls Bangalore {9179660964} ❤️VVIP BEBO Call Girls in Bangal...Sheetaleventcompany
 
ANATOMY AND PHYSIOLOGY OF RESPIRATORY SYSTEM.pptx
ANATOMY AND PHYSIOLOGY OF RESPIRATORY SYSTEM.pptxANATOMY AND PHYSIOLOGY OF RESPIRATORY SYSTEM.pptx
ANATOMY AND PHYSIOLOGY OF RESPIRATORY SYSTEM.pptxSwetaba Besh
 
Cara Menggugurkan Kandungan Dengan Cepat Selesai Dalam 24 Jam Secara Alami Bu...
Cara Menggugurkan Kandungan Dengan Cepat Selesai Dalam 24 Jam Secara Alami Bu...Cara Menggugurkan Kandungan Dengan Cepat Selesai Dalam 24 Jam Secara Alami Bu...
Cara Menggugurkan Kandungan Dengan Cepat Selesai Dalam 24 Jam Secara Alami Bu...Cara Menggugurkan Kandungan 087776558899
 
Call Girls Mussoorie Just Call 8854095900 Top Class Call Girl Service Available
Call Girls Mussoorie Just Call 8854095900 Top Class Call Girl Service AvailableCall Girls Mussoorie Just Call 8854095900 Top Class Call Girl Service Available
Call Girls Mussoorie Just Call 8854095900 Top Class Call Girl Service AvailableJanvi Singh
 
💚Reliable Call Girls Chandigarh 💯Niamh 📲🔝8868886958🔝Call Girl In Chandigarh N...
💚Reliable Call Girls Chandigarh 💯Niamh 📲🔝8868886958🔝Call Girl In Chandigarh N...💚Reliable Call Girls Chandigarh 💯Niamh 📲🔝8868886958🔝Call Girl In Chandigarh N...
💚Reliable Call Girls Chandigarh 💯Niamh 📲🔝8868886958🔝Call Girl In Chandigarh N...Sheetaleventcompany
 
Call Girls Shahdol Just Call 8250077686 Top Class Call Girl Service Available
Call Girls Shahdol Just Call 8250077686 Top Class Call Girl Service AvailableCall Girls Shahdol Just Call 8250077686 Top Class Call Girl Service Available
Call Girls Shahdol Just Call 8250077686 Top Class Call Girl Service AvailableDipal Arora
 
Difference Between Skeletal Smooth and Cardiac Muscles
Difference Between Skeletal Smooth and Cardiac MusclesDifference Between Skeletal Smooth and Cardiac Muscles
Difference Between Skeletal Smooth and Cardiac MusclesMedicoseAcademics
 
Premium Call Girls Dehradun {8854095900} ❤️VVIP ANJU Call Girls in Dehradun U...
Premium Call Girls Dehradun {8854095900} ❤️VVIP ANJU Call Girls in Dehradun U...Premium Call Girls Dehradun {8854095900} ❤️VVIP ANJU Call Girls in Dehradun U...
Premium Call Girls Dehradun {8854095900} ❤️VVIP ANJU Call Girls in Dehradun U...Sheetaleventcompany
 
💚Call Girls In Amritsar 💯Anvi 📲🔝8725944379🔝Amritsar Call Girl No💰Advance Cash...
💚Call Girls In Amritsar 💯Anvi 📲🔝8725944379🔝Amritsar Call Girl No💰Advance Cash...💚Call Girls In Amritsar 💯Anvi 📲🔝8725944379🔝Amritsar Call Girl No💰Advance Cash...
💚Call Girls In Amritsar 💯Anvi 📲🔝8725944379🔝Amritsar Call Girl No💰Advance Cash...Sheetaleventcompany
 
Gorgeous Call Girls Dehradun {8854095900} ❤️VVIP ROCKY Call Girls in Dehradun...
Gorgeous Call Girls Dehradun {8854095900} ❤️VVIP ROCKY Call Girls in Dehradun...Gorgeous Call Girls Dehradun {8854095900} ❤️VVIP ROCKY Call Girls in Dehradun...
Gorgeous Call Girls Dehradun {8854095900} ❤️VVIP ROCKY Call Girls in Dehradun...Sheetaleventcompany
 
💚Chandigarh Call Girls Service 💯Piya 📲🔝8868886958🔝Call Girls In Chandigarh No...
💚Chandigarh Call Girls Service 💯Piya 📲🔝8868886958🔝Call Girls In Chandigarh No...💚Chandigarh Call Girls Service 💯Piya 📲🔝8868886958🔝Call Girls In Chandigarh No...
💚Chandigarh Call Girls Service 💯Piya 📲🔝8868886958🔝Call Girls In Chandigarh No...Sheetaleventcompany
 
Bhawanipatna Call Girls 📞9332606886 Call Girls in Bhawanipatna Escorts servic...
Bhawanipatna Call Girls 📞9332606886 Call Girls in Bhawanipatna Escorts servic...Bhawanipatna Call Girls 📞9332606886 Call Girls in Bhawanipatna Escorts servic...
Bhawanipatna Call Girls 📞9332606886 Call Girls in Bhawanipatna Escorts servic...Dipal Arora
 
Circulatory Shock, types and stages, compensatory mechanisms
Circulatory Shock, types and stages, compensatory mechanismsCirculatory Shock, types and stages, compensatory mechanisms
Circulatory Shock, types and stages, compensatory mechanismsMedicoseAcademics
 
Chennai ❣️ Call Girl 6378878445 Call Girls in Chennai Escort service book now
Chennai ❣️ Call Girl 6378878445 Call Girls in Chennai Escort service book nowChennai ❣️ Call Girl 6378878445 Call Girls in Chennai Escort service book now
Chennai ❣️ Call Girl 6378878445 Call Girls in Chennai Escort service book nowtanudubay92
 

Recently uploaded (20)

(RIYA)🎄Airhostess Call Girl Jaipur Call Now 8445551418 Premium Collection Of ...
(RIYA)🎄Airhostess Call Girl Jaipur Call Now 8445551418 Premium Collection Of ...(RIYA)🎄Airhostess Call Girl Jaipur Call Now 8445551418 Premium Collection Of ...
(RIYA)🎄Airhostess Call Girl Jaipur Call Now 8445551418 Premium Collection Of ...
 
tongue disease lecture Dr Assadawy legacy
tongue disease lecture Dr Assadawy legacytongue disease lecture Dr Assadawy legacy
tongue disease lecture Dr Assadawy legacy
 
Chandigarh Call Girls Service ❤️🍑 9809698092 👄🫦Independent Escort Service Cha...
Chandigarh Call Girls Service ❤️🍑 9809698092 👄🫦Independent Escort Service Cha...Chandigarh Call Girls Service ❤️🍑 9809698092 👄🫦Independent Escort Service Cha...
Chandigarh Call Girls Service ❤️🍑 9809698092 👄🫦Independent Escort Service Cha...
 
💰Call Girl In Bangalore☎️7304373326💰 Call Girl service in Bangalore☎️Bangalor...
💰Call Girl In Bangalore☎️7304373326💰 Call Girl service in Bangalore☎️Bangalor...💰Call Girl In Bangalore☎️7304373326💰 Call Girl service in Bangalore☎️Bangalor...
💰Call Girl In Bangalore☎️7304373326💰 Call Girl service in Bangalore☎️Bangalor...
 
Premium Call Girls Nagpur {9xx000xx09} ❤️VVIP POOJA Call Girls in Nagpur Maha...
Premium Call Girls Nagpur {9xx000xx09} ❤️VVIP POOJA Call Girls in Nagpur Maha...Premium Call Girls Nagpur {9xx000xx09} ❤️VVIP POOJA Call Girls in Nagpur Maha...
Premium Call Girls Nagpur {9xx000xx09} ❤️VVIP POOJA Call Girls in Nagpur Maha...
 
👉 Chennai Sexy Aunty’s WhatsApp Number 👉📞 7427069034 👉📞 Just📲 Call Ruhi Colle...
👉 Chennai Sexy Aunty’s WhatsApp Number 👉📞 7427069034 👉📞 Just📲 Call Ruhi Colle...👉 Chennai Sexy Aunty’s WhatsApp Number 👉📞 7427069034 👉📞 Just📲 Call Ruhi Colle...
👉 Chennai Sexy Aunty’s WhatsApp Number 👉📞 7427069034 👉📞 Just📲 Call Ruhi Colle...
 
Cheap Rate Call Girls Bangalore {9179660964} ❤️VVIP BEBO Call Girls in Bangal...
Cheap Rate Call Girls Bangalore {9179660964} ❤️VVIP BEBO Call Girls in Bangal...Cheap Rate Call Girls Bangalore {9179660964} ❤️VVIP BEBO Call Girls in Bangal...
Cheap Rate Call Girls Bangalore {9179660964} ❤️VVIP BEBO Call Girls in Bangal...
 
ANATOMY AND PHYSIOLOGY OF RESPIRATORY SYSTEM.pptx
ANATOMY AND PHYSIOLOGY OF RESPIRATORY SYSTEM.pptxANATOMY AND PHYSIOLOGY OF RESPIRATORY SYSTEM.pptx
ANATOMY AND PHYSIOLOGY OF RESPIRATORY SYSTEM.pptx
 
Cara Menggugurkan Kandungan Dengan Cepat Selesai Dalam 24 Jam Secara Alami Bu...
Cara Menggugurkan Kandungan Dengan Cepat Selesai Dalam 24 Jam Secara Alami Bu...Cara Menggugurkan Kandungan Dengan Cepat Selesai Dalam 24 Jam Secara Alami Bu...
Cara Menggugurkan Kandungan Dengan Cepat Selesai Dalam 24 Jam Secara Alami Bu...
 
Call Girls Mussoorie Just Call 8854095900 Top Class Call Girl Service Available
Call Girls Mussoorie Just Call 8854095900 Top Class Call Girl Service AvailableCall Girls Mussoorie Just Call 8854095900 Top Class Call Girl Service Available
Call Girls Mussoorie Just Call 8854095900 Top Class Call Girl Service Available
 
💚Reliable Call Girls Chandigarh 💯Niamh 📲🔝8868886958🔝Call Girl In Chandigarh N...
💚Reliable Call Girls Chandigarh 💯Niamh 📲🔝8868886958🔝Call Girl In Chandigarh N...💚Reliable Call Girls Chandigarh 💯Niamh 📲🔝8868886958🔝Call Girl In Chandigarh N...
💚Reliable Call Girls Chandigarh 💯Niamh 📲🔝8868886958🔝Call Girl In Chandigarh N...
 
Call Girls Shahdol Just Call 8250077686 Top Class Call Girl Service Available
Call Girls Shahdol Just Call 8250077686 Top Class Call Girl Service AvailableCall Girls Shahdol Just Call 8250077686 Top Class Call Girl Service Available
Call Girls Shahdol Just Call 8250077686 Top Class Call Girl Service Available
 
Difference Between Skeletal Smooth and Cardiac Muscles
Difference Between Skeletal Smooth and Cardiac MusclesDifference Between Skeletal Smooth and Cardiac Muscles
Difference Between Skeletal Smooth and Cardiac Muscles
 
Premium Call Girls Dehradun {8854095900} ❤️VVIP ANJU Call Girls in Dehradun U...
Premium Call Girls Dehradun {8854095900} ❤️VVIP ANJU Call Girls in Dehradun U...Premium Call Girls Dehradun {8854095900} ❤️VVIP ANJU Call Girls in Dehradun U...
Premium Call Girls Dehradun {8854095900} ❤️VVIP ANJU Call Girls in Dehradun U...
 
💚Call Girls In Amritsar 💯Anvi 📲🔝8725944379🔝Amritsar Call Girl No💰Advance Cash...
💚Call Girls In Amritsar 💯Anvi 📲🔝8725944379🔝Amritsar Call Girl No💰Advance Cash...💚Call Girls In Amritsar 💯Anvi 📲🔝8725944379🔝Amritsar Call Girl No💰Advance Cash...
💚Call Girls In Amritsar 💯Anvi 📲🔝8725944379🔝Amritsar Call Girl No💰Advance Cash...
 
Gorgeous Call Girls Dehradun {8854095900} ❤️VVIP ROCKY Call Girls in Dehradun...
Gorgeous Call Girls Dehradun {8854095900} ❤️VVIP ROCKY Call Girls in Dehradun...Gorgeous Call Girls Dehradun {8854095900} ❤️VVIP ROCKY Call Girls in Dehradun...
Gorgeous Call Girls Dehradun {8854095900} ❤️VVIP ROCKY Call Girls in Dehradun...
 
💚Chandigarh Call Girls Service 💯Piya 📲🔝8868886958🔝Call Girls In Chandigarh No...
💚Chandigarh Call Girls Service 💯Piya 📲🔝8868886958🔝Call Girls In Chandigarh No...💚Chandigarh Call Girls Service 💯Piya 📲🔝8868886958🔝Call Girls In Chandigarh No...
💚Chandigarh Call Girls Service 💯Piya 📲🔝8868886958🔝Call Girls In Chandigarh No...
 
Bhawanipatna Call Girls 📞9332606886 Call Girls in Bhawanipatna Escorts servic...
Bhawanipatna Call Girls 📞9332606886 Call Girls in Bhawanipatna Escorts servic...Bhawanipatna Call Girls 📞9332606886 Call Girls in Bhawanipatna Escorts servic...
Bhawanipatna Call Girls 📞9332606886 Call Girls in Bhawanipatna Escorts servic...
 
Circulatory Shock, types and stages, compensatory mechanisms
Circulatory Shock, types and stages, compensatory mechanismsCirculatory Shock, types and stages, compensatory mechanisms
Circulatory Shock, types and stages, compensatory mechanisms
 
Chennai ❣️ Call Girl 6378878445 Call Girls in Chennai Escort service book now
Chennai ❣️ Call Girl 6378878445 Call Girls in Chennai Escort service book nowChennai ❣️ Call Girl 6378878445 Call Girls in Chennai Escort service book now
Chennai ❣️ Call Girl 6378878445 Call Girls in Chennai Escort service book now
 

12 Bivariate

  • 1. Stat310 Bivariate distributions Hadley Wickham Thursday, 19 February 2009
  • 2. 1. Feedback 2. Test info 3. Example 1. Constructing a joint 2. Expectation 3. Independence 4. Conditioning Thursday, 19 February 2009
  • 3. Feedback • Still like the examples, and the recaps • 10 said you found the help sessions really helpful • 3 commented on my improved board skills :) • 2 said speed was good, 1 too slow and 4 too fast Thursday, 19 February 2009
  • 4. Feedback • Still don’t like me making mistakes. • Would like more real-life and better prepared examples - will do. • Website needs to be updated more frequently - I’ll try! • Will try and put readings up ahead of time Thursday, 19 February 2009
  • 5. + st Casual ill Thursday, 19 February 2009 a + t-s fa hi n o - l rts f t ik e : st he yo ill sh ur aw irt pr es s ev om io us e se + to pi fs nk hi po rts lo m or e + cl ot + hi ng ni is ce im + at fa tir pr nt e ov in as g tic cl ot Formal he s
  • 6. Test info Thursday 26th February Same format as last test, but only one page of notes. Continuous & bivariate random variables. Will put more info on website asap. Thursday, 19 February 2009
  • 8. pdf f (x, y) ≥ 0 f (x, y) dy dx = 1 S pmf f (x, y) ≥ 0 f (x, y) = 1 S Thursday, 19 February 2009
  • 9. fX (x) = f (x, y)dy R fY (y) = f (x, y)dx R Thursday, 19 February 2009
  • 10. Example Oscar has a bad gambling problem. Every night on the way home from work he takes the X hundred dollars he earned at work that day and goes to the local casino. Oscar never wins any money but eventually stops playing to return home with Y hundred dollars. Thursday, 19 February 2009
  • 11. Question If X is a random variable with pdf f(x) = x / 8 0 < x < 4 and Y|X=x ~ Unif(0, x) What is the joint pdf f(x, y) ? Hint: P (X ∈ A ∩ Y ∈ B) = P (X ∈ A|Y ∈ B)P (Y ∈ B) Thursday, 19 February 2009
  • 12. f (x, y) = f (y|x) f (x) f (x|y) f (y) If x and y are independent, what does that imply about f(x, y) ? Thursday, 19 February 2009
  • 13. f (x, y) = f (y|x) f (x) f (x|y) f (y) If x and y are independent, what does that imply about f(x, y) ? f (x, y) = f (x) f (y) Thursday, 19 February 2009
  • 14. Question What is f(y)? (how much money Oscar brings home) i.e. imagine we don’t know X, but still want some idea of the likely amounts of money Oscar will bring home Thursday, 19 February 2009
  • 15. fX (x) = f (x, y)dy R fY (y) = f (x, y)dx R Be careful with limits of integration! Thursday, 19 February 2009
  • 16. S = {(x, y) : f (x, y) > 0} Sx = {x : f (x) > 0} Sy = {y : f (y) > 0} Thursday, 19 February 2009
  • 17. Question What is Oscar’s expected loss? We don’t have the tools to solve this yet, but you can still convert the word problem to a mathematical problem. And you can use your intuition to think about what would make sense Thursday, 19 February 2009
  • 18. E(u(X, Y )) = u(x, y) f (x, y) dy dx S So what is E(X - Y)? Does that number make sense? Thursday, 19 February 2009
  • 19. Theory question If X and Y are independent, what is E(XY) ? What does that imply about the intuition we used in the previous problem? Thursday, 19 February 2009
  • 20. Theory result E(XY) = E(X) E(Y) So maybe that implies X and Z = (X-Y)/X (percent loss) are independent. We’ll look at the tools to show that next time. Thursday, 19 February 2009
  • 21. Question One night Oscar returns home with less than $200. What is: The probability he started with less than $200? The probability he lost more than $100? The probability he lost exactly $75? If you don’t see how to do this immediately, you can still write it out mathematically and use your intuition. Thursday, 19 February 2009
  • 22. P(X < 2 | Y < 2) P(Y - X < 1 | Y < 2) P(Y - X = 0.75 | Y < 2) Thursday, 19 February 2009
  • 23. Engineering Majors Day Oshman Engineering Design Kitchen 2:30-4:30pm Thursday, 19 February 2009