Advertisement
Guest User

Untitled

a guest
Feb 19th, 2020
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.33 KB | None | 0 0
  1. \documentclass{article}
  2. \usepackage[utf8]{inputenc}
  3. \usepackage{amsmath}
  4. \usepackage{amsfonts}
  5. \title{18.200 Homework 2}
  6. \author{Clinton Reid, R03}
  7. \date{February 18, 2020}
  8.  
  9. \begin{document}
  10.  
  11. \maketitle
  12.  
  13. \section{Problem 2}
  14. \textbf{(a) What is the probability of event A, that any given baby is a boy born on a Monday?}
  15. \[P(\text{Baby is a boy born on a Monday})=\frac{1}{2}\cdot\frac{1}{7}=\frac{1}{14}\]
  16. \textbf{(b) Consider two siblings. Given that at least one of them is a boy, what is the probability that they are both boys?}
  17. \[P(\text{2 boys}|\geq \text{1 boy})=\frac{P(\text{2 boys} \bigwedge \text{1 boy})+P(\text{2 boys} \bigwedge \text{2 boys})}{P(\text{1 boy})+P(\text{2 boys})}\]
  18. \[=\frac{0+\frac{1}{4}}{\frac{1}{2}+\frac{1}{4}}=\frac{1}{3}\]
  19. \\\\Similarly, enumerating the possibilities, given that there is one boy,
  20. \[BG\ GB\ BB\]The probability that both are boys = $\frac{1}{3}$.
  21. \\\\\textbf{(c) Consider two siblings. Given that at least one of them is a boy born on a Monday, what is the probability that the other is also a boy (born on any day of the week)?}
  22. \[P(\text{Other child is a boy}|\text{One of them is a boy born on a Monday})\]
  23. Enumerating the possibilities, you get something like this:
  24. \[B^MG^{1-7}\]\[G^{1-7}B^M\]\[B^MB^{1-7}\]\[B^{1-7}B^M\] This represents 27 total possibilities, because the $B^MB^M$ combination is counted twice in the sample space. And, there are 13 which include two boys once the over-count is corrected for. Therefore, the probability of this is $\frac{13}{27}$.
  25. \section{Problem 3}
  26. \textbf{(a)} $|C_n|=$
  27. \\\\\textbf{(b)} $|D_n|=$
  28. \\\\\textbf{(c)}
  29. \begin{center}
  30. \begin{tabular}{||c c c||}
  31. \hline
  32. k & $C_k$ & $D_k$ \\ [0.5ex]
  33. \hline\hline
  34. 0 & & 9 \\
  35. \hline
  36. 1 & 7 & 78 \\
  37. \hline
  38. 2 & 545 & 778 \\
  39. \hline
  40. 3 & 545 & 18744 \\
  41. \hline
  42. 4 & 545 & 18744 \\
  43. \hline
  44. 5 & 545 & 18744 \\
  45. \hline
  46. 6 & 545 & 18744 \\
  47. \hline
  48. 7 & 545 & 18744 \\
  49. \hline
  50. 8 & 545 & 18744 \\
  51. \hline
  52. 9 & 88 & 788\\ [1ex]
  53. \hline
  54. \end{tabular}
  55. \end{center}
  56. \\\\\textbf{(d)}
  57. \section{Problem 4}
  58. \textbf{(a) What is $Pr(X \geq 1)$, i.e. what is the probability that there are 5 consecutive tosses resulting in THHHT.}
  59. \\\\Since we are looking for the occurrence of THHHT in that particular prder, we can treat it as a single element in the sequence. With this change, we now have 6 positions the THHHT sequence can occupy. \[Pr(X\geq1)=\frac{6*2^5}{2^{10}}=\frac{6}{32}\]
  60. The breakdown of this is:\[Pr(X\geq1)=Pr(X=1)+Pr(X=2)=\frac{6*2^5-1}{2^{10}}+\frac{1}{2^{10}}\]
  61. \\\textbf{(b) What is E[X] and Var(X)?}
  62. \[E[X]=\frac{6*2^5-1}{2^{10}}*1+\frac{1}{2^{10}}*2=0.188\]
  63. \[Var(X)=E[X^2]-E[X]^2=(\frac{6*2^5-1}{2^{10}}*1+\frac{1}{2^{10}}*4)-(0.188)^2=0.155\]
  64. \section{Problem 5}
  65. \textbf{(a) What is Var(X)?}
  66. \[Var(X)=E[X^2]-E[X]^2\]Let $X_i$ be an indicator variable: 1 if $\sigma(i)=i\text{,} \text{ and 0 otherwise}\ X=\sum_{i=1}^{n} X_i$.
  67. \[E[X^2]=E\Bigg[\Bigg(\sum_{i=1}^{n}X_i\Bigg)^2\Bigg]\]
  68. \[=\Bigg(\sum_{i=1}^{n} E[X_i^2]\Bigg)+\Bigg(\sum_{i=1}^{n} \sum_{j\neq i}E[X_iX_j]\Bigg)\]
  69. \[=1+\Bigg(\sum_{i=1}^{n} \sum_{j\neq i}Pr[X_i=1]E[X_iX_j|X_i=1]\Bigg)\]
  70. \[=1+\Bigg(\sum_{i=1}^{n} \sum_{j\neq i}\frac{1}{n}\frac{1}{n-1}\Bigg)\]
  71. \[=1+1=2\]
  72. \[Var(X)=2-1=1\]
  73. \\\textbf{(b) Use Chebyshevā€™s inequality to give an upper bound on $P[X\geq t]$ for any given integer $t\geq2$.)} Chebyshev's inequality:
  74. \[P(|X-\mu|\geq c\sigma)\leq \frac{1}{c^2}\]
  75. \[P(X\geq t)=P(|X-1|\geq t-1) \leq \frac{1}{(t-1)^2}\]
  76. \section{\textbf{Simpson's Paradox.}}
  77. \textbf{(a)}$P(\text{Admitted given male})=50\%$\\\\$P(\text{Admitted given female})=33\frac{1}{3}\%$\\\\$P(\text{Admitted to Dept A given male})=70\%$\\\\$P(\text{Admitted to Dept B given male})=10\%$\\\\$P(\text{Admitted to Dept A given female})=75\%$\\\\$P(\text{Admitted to Dept B given female})=12.5\%$
  78. \\\\\textbf{(b)} Although the rates of acceptance in each department were across the board higher for women, a larger number of women were still rejected. This is because a larger number of women applied to the more selective Department B, and consequently a larger number of them were rejected. The rate, in this instance, doesn't give a good picture of the situation, because it does not account for differences in applicant numbers. Sure, a larger proportion of women were accepted in each department, but also, a smaller total number were accepted.
  79. \end{document}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement