math 20 probability
play

MATH 20: PROBABILITY Midterm 2 Xingru Chen - PowerPoint PPT Presentation

MATH 20: PROBABILITY Midterm 2 Xingru Chen xingru.chen.gr@dartmouth.edu XC 2020 Ex Exam How many hours you spend preparing for the exam? Wrapper Wr How many hours you spend on the exam? Content on the last two weeks.


  1. MATH 20: PROBABILITY Midterm 2 Xingru Chen xingru.chen.gr@dartmouth.edu XC 2020

  2. Ex Exam How many hours you spend preparing for the exam? Wrapper Wr How many hours you spend on the exam? Content on the last two weeks. for midterm 2 Arrangements for the final. โ€ฆ XC 2020

  3. Problem 1: True or False XC 2020

  4. Can ๐‘Œ follow a continuous uniform ? distribution? XC 2020

  5. Density Functions of Continuous Random Variable ยง Let ๐‘Œ be a continuous real-valued random variable. A density function for ๐‘Œ is a real-valued function ๐‘” that satis fi es ๐’› " ๐‘” ๐‘ฆ ๐‘’๐‘ฆ , for ๐‘, ๐‘ โˆˆ โ„ . ๐‘„ ๐‘ โ‰ค ๐‘Œ โ‰ค ๐‘ = โˆซ ! ยง If ๐น is a subset of โ„ , then ๐‘„ ๐‘ฆ โˆˆ ๐น = # ๐‘” ๐‘ฆ ๐‘’๐‘ฆ . โˆซ ยง In particular, if ๐น is an interval [๐‘, ๐‘] , the probability that the outcome of the experiment falls in ๐น is given by ๐‘ ๐‘ ๐’š " ๐‘” ๐‘ฆ ๐‘’๐‘ฆ . ๐‘„ [๐‘, ๐‘] = โˆซ ! XC 2020

  6. Can ๐‘Œ follow a continuous uniform ? No distribution? ๐‘› ๐‘ฆ ? Can ๐‘Œ follow a discrete uniform distribution? = โ‹ฏ XC 2020

  7. ๐‘› ๐‘ฆ = 0 ? Can ๐‘Œ follow a discrete uniform distribution? ๐‘› ๐‘ฆ > 0 XC 2020

  8. $% ? Can ๐‘Œ follow a discrete uniform distribution? ๐‘› ๐‘ฆ = 0 , 0 = 0 !"# $% No ๐‘› ๐‘ฆ > 0 , ๐‘‘ = +โˆž !"# XC 2020

  9. Problem 1: True or False Discr crete variance ce ๐‘Š ๐‘Œ Co Continuous variance ๐‘Š ๐‘Œ ๐น ๐‘Œ & โˆ’ ๐œˆ & = 0 = $% ๐‘ฆ โˆ’ ๐œˆ & ๐‘” ๐‘ฆ ๐‘’๐‘ฆ ๐‘Œ โˆ’ ๐œˆ & = , 0 = 6 (๐‘ฆ โˆ’ ๐œˆ) & ๐‘›(๐‘ฆ) . = ๐น *% 'โˆˆ) ๐‘Œ = ๐œˆ XC 2020

  10. Problem 2: Computation XC 2020

  11. ๐น ๐‘Œ &#&# = ๐น &#&# (๐‘Œ) ? XC 2020

  12. The Product of Two Random Variables ยง Let ๐‘Œ and ๐‘ be independent real-valued continuous random variables with fi nite expected values. Then we have ๐น(๐‘Œ๐‘) = ๐น(๐‘Œ)๐น(๐‘) . ยง More generally, for ๐‘œ mutually independent random variables ๐‘Œ ! , we have ๐น ๐‘Œ + ๐‘Œ & โ‹ฏ ๐‘Œ , = ๐น ๐‘Œ + ๐น ๐‘Œ & โ‹ฏ ๐น(๐‘Œ , ) . ๐น ๐‘Œ &#&# = ๐น &#&# (๐‘Œ) ? XC 2020

  13. ? Are ๐‘Œ and ๐‘Œ independent? If ๐‘Œ is any random variable and ๐‘‘ is any constant, then ยง ๐‘Š ๐‘‘๐‘Œ = ๐‘‘ & ๐‘Š(๐‘Œ) , ๐‘Š ๐‘Œ + ๐‘‘ = ๐‘Š(๐‘Œ) . Let ๐‘Œ and ๐‘ be two independent random variables. Then ยง ๐‘Š(๐‘Œ + ๐‘) = ๐‘Š(๐‘Œ) + ๐‘Š(๐‘) . ๐‘Š 2๐‘Œ = 4๐‘Š ๐‘Œ ? ๐‘Š ๐‘Œ + ๐‘Œ = 2๐‘Š ๐‘Œ ? XC 2020

  14. Problem 2: Computation XC 2020

  15. Moment: ! ๐น ๐‘Œ , , where ๐‘œ = 1, 2, 3, โ‹ฏ XC 2020

  16. Problem 3: Proof ๐‘ฆ ! โˆ’ ฬ… ๐‘ฆ = (๐‘ฆ ! โˆ’ ๐œˆ) + (๐œˆ โˆ’ ฬ… ๐‘ฆ) XC 2020

  17. ๐น ๐‘ก & = ๐‘œ โˆ’ 1 ๐œ & ๐‘œ How to redefine ๐‘ก & , so ๐น ๐‘ก & = ๐œ & ? that XC 2020

  18. XC 2020

  19. Extreme: ! ๐‘” - ๐‘ฆ = 0 ๐‘” -- ๐‘ฆ > 0 ๐‘” -- ๐‘ฆ < 0 ! ! Minimum: Maximum: XC 2020

  20. Problem 4: Manipulation XC 2020

  21. XC 2020

  22. XC 2020

  23. Calvin At Ca Atkeson, , Max ax Te Telemaque v ๐‘‰ = ๐‘๐‘Œ + ๐‘ , ๐น ๐‘‰ = ๐‘๐น ๐‘Œ + ๐‘ , ๐‘Š ๐‘‰ = ๐‘ & ๐‘Š(๐‘Œ) ๐น ๐‘‰ = + ๐‘Š ๐‘‰ = + ๐‘‰ : uniform on [0, 1] , & , +& ๐‘Š ๐‘Œ = (/*.) ! ๐น ๐‘Œ = .$/ ๐‘Œ : uniform on [๐‘‘, ๐‘’] , & , +& XC 2020

  24. Problem 5: Educational Attainment XC 2020

  25. Which one to use? Bin Binomia ial d dist istrib ibutio ion ๐‘ ๐‘œ, ๐‘ž, ๐‘™ = ๐‘œ ๐‘™ ๐‘ž ! ๐‘Ÿ "#! Po Poisson Distribution tw two parameter eters ! ๐‘„ ๐‘Œ = ๐‘™ = ๐œ‡ ! ๐‘™! ๐‘“ #$ ๐’ ๐’’ on one parameter ! ๐ XC 2020

  26. Which one to use? Bin Binomia ial d dist istrib ibutio ion ๐‘ ๐‘œ, ๐‘ž, ๐‘™ = ๐‘œ ๐‘™ ๐‘ž ! ๐‘Ÿ "#! Po Poisson Distribution ๐’ < +โˆž ! ๐‘„ ๐‘Œ = ๐‘™ = ๐œ‡ ! ๐‘™! ๐‘“ #$ ๐’ โ†’ +โˆž ! XC 2020

  27. Which one to use? Bin Binomia ial d dist istrib ibutio ion ๐‘ ๐‘œ, ๐‘ž, ๐‘™ = ๐‘œ ๐‘™ ๐‘ž ! ๐‘Ÿ "#! Poisson Po Distribution ๐’ = ๐Ÿ‘, ๐Ÿ”, โ‹ฏ ! ๐‘„ ๐‘Œ = ๐‘™ = ๐œ‡ ! ๐‘™! ๐‘“ #$ ๐’ = ๐Ÿ”๐Ÿ, ๐Ÿ๐Ÿ๐Ÿ, โ‹ฏ ! ๐’๐’’ = ๐ = XC 2020

  28. MATH 20 BABY PROBABILISTS When you cannot explain something: use Po Poisson di distribu bution (Poisson process)! XC 2020

  29. XC 2020

  30. Problem 6: Cupidโ€™s Arrow XC 2020

  31. XC 2020

  32. ๐‘„(๐‘ > ๐‘Œ) $% $% 6 6 ๐‘’๐‘ง๐‘’๐‘ฆ '"# 2"' XC 2020

  33. XC 2020

  34. ๐‘„(๐‘Œ > ๐‘) $% ' 6 6 ๐‘’๐‘ง๐‘’๐‘ฆ '"# 2"# XC 2020

  35. ๐‘„(๐‘ โ‰ฅ ๐‘Œ + 300) $% $% 6 6 ๐‘’๐‘ง๐‘’๐‘ฆ '"# 2"'$3## XC 2020

  36. ๐‘„ ๐‘Œ > ๐‘ = 2 ? Daphne will break free from the enchantment first? 7 1 1 golden arrow: 200 years ๐œ‡ . = = 2 500 200 200 + 1 1 7 500 1 lead arrow: 500 years ๐œ‡ / = 500 ๐œ‡ 4 ๐‘„ ๐‘Œ > ๐‘ = ๐œ‡ 5 + ๐œ‡ 4 XC 2020

  37. Apollo will break free from the enchantment first and ? Daphne has to wait another 300 years or more before her arrow wears off? ๐‘„ ๐‘ > ๐‘Œ โˆฉ ๐‘ โ‰ฅ ๐‘Œ + 300 ๐‘„ ๐‘ โ‰ฅ ๐‘Œ + 300 = 5 7 ๐‘“ *3/7 XC 2020

  38. 1 ๐œ‡ 4 = 2 ๐œ‡ 5 = 5 ๐œ‡ . = ๐‘„ ๐‘Œ > ๐‘ = ๐‘„ ๐‘ > ๐‘Œ = 200 ๐œ‡ 5 + ๐œ‡ 4 7 ๐œ‡ 5 + ๐œ‡ 4 7 1 ๐œ‡ / = 500 ๐‘„ ๐‘ โ‰ฅ ๐‘Œ + 300 = 5 7 ๐‘“ *3/7 ๐‘„ ๐‘ > 300 = ๐‘“ *3/7 ๐‘„ ๐‘ > ๐‘ง = ๐‘“ *8 " 2 XC 2020

  39. ๐œ‡ 5 = 5 ๐‘„ ๐‘ > 300 = ๐‘“ *3/7 ๐‘„ ๐‘ > ๐‘Œ = ๐œ‡ 5 + ๐œ‡ 4 7 ๐‘„ ๐‘ โ‰ฅ ๐‘Œ + 300 = 5 7 ๐‘“ *3/7 ๐‘„ ๐‘ โ‰ฅ ๐‘Œ + 300 = ๐‘„ ๐‘ > 300 ๐‘„(๐‘ > ๐‘Œ) ๐‘„ ๐‘ > ๐‘Œ + 300|๐‘ > ๐‘Œ ๐‘„(๐‘ > ๐‘Œ) Memoryless Property ๐‘„ ๐‘Œ > ๐‘  + ๐‘ก|๐‘Œ > ๐‘  = ๐‘„ ๐‘Œ > ๐‘ก XC 2020

  40. Problem 7: Man with No Name: A fi stful of Nuts XC 2020

  41. Conditional Expectation ยง If ๐บ is any event and ๐‘Œ is a random variable with sample space ฮฉ = {๐‘ฆ + , ๐‘ฆ & , โ‹ฏ } , then the conditional expectation given ๐บ is de fi ned by ๐น ๐‘Œ ๐บ = โˆ‘ 9 ๐‘ฆ 9 ๐‘„(๐‘Œ = ๐‘ฆ 9 |๐บ) . ยง Let ๐‘Œ be a random variable with sample space ฮฉ . If ๐บ + , ๐บ & , โ‹ฏ , ๐บ : are events such that ๐บ ! โˆฉ ๐บ 9 = โˆ… for ๐‘— โ‰  ๐‘˜ and ฮฉ =โˆช 9 ๐บ 9 , then 9 ) . ๐น ๐‘Œ = โˆ‘ 9 ๐น ๐‘Œ ๐บ 9 ๐‘„(๐บ XC 2020

  42. Conditional Expectation ยง Conditional density joint density 5 $,& (7, 8) 5 & (8) . ๐‘” .|/ ๐‘ฆ ๐‘ง = marginal density ยง Conditional expected value .|/ ๐‘ฆ ๐‘ง ๐‘’๐‘ฆ . ๐น ๐‘Œ ๐‘ = ๐‘ง = โˆซ ๐‘ฆ๐‘” ยง Expected value / ๐‘ง ๐‘’๐‘ง . ๐น ๐‘Œ = โˆซ ๐น ๐‘Œ ๐‘ = ๐‘ง ๐‘” XC 2020

  43. EXAMPLE Farming Sim XC 2020

  44. Example ยง A point ๐‘ is chosen at random from [0, 1] uniformly. A second point ๐‘Œ is then uniformly and randomly chosen from the interval [0, ๐‘] . Find the expected value for ๐‘Œ . 1 ๐‘ง 0 5|4 ๐‘ฆ ๐‘ง = ๐‘” 5,4 (๐‘ฆ, ๐‘ง) ๐‘” ๐‘” 4 (๐‘ง) ๐น ๐‘Œ ๐‘ = ๐‘ง = 6 ๐‘ฆ๐‘” 5|4 ๐‘ฆ ๐‘ง ๐‘’๐‘ฆ XC 2020

  45. tw two Ge Geometric Di Distribu bution ! ๐‘„ ๐‘ˆ = ๐‘œ = ๐‘Ÿ ,*+ ๐‘ž same sa me ! tr trial 2 fi first ! tr trial 1 independent in ! XC 2020

  46. Geometric Ge Di Distribu bution ๐‘„ ๐‘ˆ = ๐‘œ = ๐‘Ÿ ,*+ ๐‘ž Ge Geometric ๐น ๐‘Œ = 1 ๐‘„ ๐‘ˆ = ๐‘œ = ๐‘Ÿ ,*+ ๐‘ž ๐‘ž ๐‘„ ๐‘‚ = ๐‘œ = ๐‘ฆ , (1 โˆ’ ๐‘ฆ) XC 2020

  47. XC 2020

  48. โ€ฆ v ๐‘„ ๐‘‚ = ๐‘œ ๐‘Œ = ๐‘ฆ = ๐‘ฆ , (1 โˆ’ ๐‘ฆ) + ๐น ๐‘‚ = ๐‘œ ๐‘Œ = ๐‘ฆ = 6 ๐‘ฆ๐‘„ ๐‘‚ = ๐‘œ ๐‘Œ = ๐‘ฆ ๐‘’๐‘ฆ # $% ๐น ๐‘‚ = ๐‘œ ๐‘Œ = ๐‘ฆ = , ๐‘œ๐‘„ ๐‘‚ = ๐‘œ ๐‘Œ = ๐‘ฆ ,"# XC 2020

  49. XC 2020

  50. Problem 8: Man with No Name: Out of San Pecan XC 2020

  51. Expectation of Functions of Random Variables ยง If ๐‘Œ is a real-valued random variable and if ๐œš: ๐‘† โ†’ ๐‘† is a continuous real-valued function with domain [๐‘, ๐‘] , then $% ๐œš(๐‘ฆ)๐‘” ๐‘ฆ ๐‘’๐‘ฆ , ๐น ๐œš(๐‘Œ) = โˆซ *% provided the integral exists. Discr crete expect cted value ๐‘ญ ๐”(๐’€) Con ontinuou ous expect cted value ๐‘ญ ๐”(๐’€) $% , ๐œš(๐‘ฆ)๐‘›(๐‘ฆ) 6 ๐œš(๐‘ฆ)๐‘” ๐‘ฆ ๐‘’๐‘ฆ *% 'โˆˆ) XC 2020

  52. XC 2020

Recommend


More recommend