{"categories":["Probability Theory"],"contentHtml":"<h4>Lecture Notes</h4><p>(came late…)</p><h5>Example 7.8</h5><h6>(a)</h6><p>Keep in mind that you can’t separate <math><mi>𝜖</mi></math> out from <math><mi>𝑌</mi></math> because they are not necessarily independent.</p><p>We can use the fact that <math><mi>𝜖</mi></math> is complementary to divide up what <math><mi>𝑋</mi></math> means.</p><p><math><mi>ℙ</mi><mo form=\"prefix\" stretchy=\"false\">(</mo><mi>𝑋</mi><mo>≤</mo><mi>𝑥</mi><mo form=\"postfix\" stretchy=\"false\">)</mo><mi>ℙ</mi><mo form=\"prefix\" stretchy=\"false\">(</mo><mi>𝜖</mi><mo>=</mo><mn>1</mn><mo form=\"postfix\" stretchy=\"false\">)</mo><mo>+</mo><mi>ℙ</mi><mo form=\"prefix\" stretchy=\"false\">(</mo><mo form=\"prefix\">−</mo><mi>𝑋</mi><mo>≤</mo><mi>𝑥</mi><mo form=\"postfix\" stretchy=\"false\">)</mo><mi>ℙ</mi><mo form=\"prefix\" stretchy=\"false\">(</mo><mi>𝜖</mi><mo>=</mo><mo form=\"prefix\">−</mo><mn>1</mn><mo stretchy=\"false\">)</mo></math></p><p>But notice that those two X densities are symmetric! Geometrically, they mirror each other the normal density. And so we can say that these two are equal.</p><p><math><mo form=\"infix\" lspace=\"0em\">=</mo><mi>ℙ</mi><mo form=\"prefix\" stretchy=\"false\">(</mo><mi>𝑋</mi><mo>≤</mo><mi>𝑥</mi><mo stretchy=\"false\">)</mo></math></p><p>And there we go! That’s the same as X, so we can say that</p><p><math><mi>𝑌</mi><mo>=</mo><mi>𝑁</mi><mo form=\"prefix\" stretchy=\"false\">(</mo><mn>0</mn><mo>,</mo><mn>1</mn><mo stretchy=\"false\">)</mo></math></p><p>What about the joint distribution?</p><p>We can create a similar negative contrast.</p><p><strong>Open question:</strong> work through the joint distribution exercise.</p><h6>(c)</h6><p>Since both X and Y are normal, the expectation is 0.</p><p><math><mtext>Cov</mtext><mo form=\"prefix\" stretchy=\"false\">(</mo><mi>𝑋</mi><mo>,</mo><mi>𝑌</mi><mo form=\"postfix\" stretchy=\"false\">)</mo><mo>=</mo><mi>𝔼</mi><mo form=\"prefix\" stretchy=\"false\">[</mo><mi>𝑋</mi><mi>𝑌</mi><mo form=\"postfix\" stretchy=\"false\">]</mo><mo>−</mo><mi>𝔼</mi><mo form=\"prefix\" stretchy=\"false\">[</mo><mi>𝑋</mi><mo form=\"postfix\" stretchy=\"false\">]</mo><mi>𝔼</mi><mo form=\"prefix\" stretchy=\"false\">[</mo><mi>𝑌</mi><mo form=\"postfix\" stretchy=\"false\">]</mo><mo>=</mo><mi>𝔼</mi><mo form=\"prefix\" stretchy=\"false\">[</mo><mi>𝑋</mi><mo>,</mo><mi>𝑌</mi><mo stretchy=\"false\">]</mo></math></p><p>We can make this easier by splitting this into two situations.</p><p><math><mo form=\"infix\" lspace=\"0em\">=</mo><mi>𝔼</mi><mo form=\"prefix\" stretchy=\"false\">[</mo><mi>𝑋</mi><mo lspace=\"0.2222222222222222em\" rspace=\"0.2222222222222222em\">⋅</mo><mi>𝜖</mi><mi>𝑋</mi><mo form=\"postfix\" stretchy=\"false\">]</mo><mo>=</mo><mi>𝔼</mi><mo form=\"prefix\" stretchy=\"false\">[</mo><mi>𝜖</mi><mo form=\"postfix\" stretchy=\"false\">]</mo><mi>𝔼</mi><mo form=\"prefix\" stretchy=\"false\">[</mo><msup><mi>𝑋</mi><mn>2</mn></msup><mo form=\"postfix\" stretchy=\"false\">]</mo><mo>=</mo><mn>0</mn></math></p><p>The conclusion is that “X and Y are uncorrelated” because their covariance is equal to 0.</p><h6>(d)</h6><p>But they are not independent! This is a great counterexample to the false intuition that variables that are uncorrelated are necessarily independent. That’s why it’s not enough to calculate the covariance to determine independence.</p><p><math><mi>𝔼</mi><mo form=\"prefix\" stretchy=\"false\">[</mo><msup><mi>𝑋</mi><mn>2</mn></msup><msup><mi>𝑌</mi><mn>2</mn></msup><mo form=\"postfix\" stretchy=\"false\">]</mo><mo>=</mo><mi>𝔼</mi><mo form=\"prefix\" stretchy=\"false\">[</mo><msup><mi>𝑋</mi><mn>2</mn></msup><msup><mi>𝜖</mi><mn>2</mn></msup><msup><mi>𝑋</mi><mn>2</mn></msup><mo form=\"postfix\" stretchy=\"false\">]</mo><mo>=</mo><mi>𝔼</mi><mo form=\"prefix\" stretchy=\"false\">[</mo><msup><mi>𝜖</mi><mn>2</mn></msup><msup><mi>𝑋</mi><mn>4</mn></msup><mo form=\"postfix\" stretchy=\"false\">]</mo><mo>=</mo><mi>𝔼</mi><mo form=\"prefix\" stretchy=\"false\">[</mo><msup><mi>𝜖</mi><mn>2</mn></msup><mo form=\"postfix\" stretchy=\"false\">]</mo><mi>𝔼</mi><mo form=\"prefix\" stretchy=\"false\">[</mo><msup><mi>𝑋</mi><mn>4</mn></msup><mo form=\"postfix\" stretchy=\"false\">]</mo><mo>=</mo><mn>1</mn><mo lspace=\"0.2222222222222222em\" rspace=\"0.2222222222222222em\">×</mo><mn>3</mn><mo>=</mo><mn>3</mn></math></p><p><math><mi>𝔼</mi><mo form=\"prefix\" stretchy=\"false\">[</mo><msup><mi>𝑋</mi><mn>2</mn></msup><mo form=\"postfix\" stretchy=\"false\">]</mo><mo>=</mo><mn>1</mn></math></p><p><math><mi>𝔼</mi><mo form=\"prefix\" stretchy=\"false\">[</mo><msup><mi>𝑌</mi><mn>2</mn></msup><mo form=\"postfix\" stretchy=\"false\">]</mo><mo>=</mo><mi>𝔼</mi><mo form=\"prefix\" stretchy=\"false\">[</mo><msup><mi>𝜖</mi><mn>2</mn></msup><msup><mi>𝑋</mi><mn>2</mn></msup><mo form=\"postfix\" stretchy=\"false\">]</mo><mo>=</mo><mi>𝔼</mi><mo form=\"prefix\" stretchy=\"false\">[</mo><msup><mi>𝜖</mi><mn>2</mn></msup><mo form=\"postfix\" stretchy=\"false\">]</mo><mi>𝔼</mi><mo form=\"prefix\" stretchy=\"false\">[</mo><msup><mi>𝑋</mi><mn>2</mn></msup><mo form=\"postfix\" stretchy=\"false\">]</mo><mo>=</mo><mn>1</mn></math></p><p>And that indicates</p><p><math><mi>𝔼</mi><mo form=\"prefix\" stretchy=\"false\">[</mo><msup><mi>𝑋</mi><mn>2</mn></msup><msup><mi>𝑌</mi><mn>2</mn></msup><mo form=\"postfix\" stretchy=\"false\">]</mo><mo>≠</mo><mi>𝔼</mi><mo form=\"prefix\" stretchy=\"false\">[</mo><msup><mi>𝑋</mi><mn>2</mn></msup><mo form=\"postfix\" stretchy=\"false\">]</mo><mi>𝔼</mi><mo form=\"prefix\" stretchy=\"false\">[</mo><msup><mi>𝑌</mi><mn>2</mn></msup><mo stretchy=\"false\">]</mo></math></p><p>And that is a proof by contradiction!</p><h5>Example 7.12</h5><h6>(a)</h6><p>In order to prove that this is a density, we need to prove that that the area under its function (integral) is equal to 1 over the entire domain.</p><p>We need to do a double integral here because the domain is across two variables.</p><p>The result becomes the integral over the exponential distribution which is known to be 1.</p><h6>(b)</h6><p>We are going to take some basic properties. What is the marginal distribution for each variable?</p><p><math><msub><mi>𝑓</mi><mi>𝑌</mi></msub><mo form=\"prefix\" stretchy=\"false\">(</mo><mi>𝑦</mi><mo form=\"postfix\" stretchy=\"false\">)</mo><mo>=</mo><msup><mi>𝑎</mi><mn>2</mn></msup><mi>𝑦</mi><msup><mi>𝑒</mi><mrow><mo>−</mo><mi>𝑎</mi><mi>𝑦</mi></mrow></msup></math></p><p>And we can recognize they take the form</p><p><math><msub><mi>𝑓</mi><mi>𝑌</mi></msub><mo form=\"prefix\" stretchy=\"false\">(</mo><mi>𝑦</mi><mo form=\"postfix\" stretchy=\"false\">)</mo><mo>=</mo><msup><mi>𝜆</mi><mi>𝑘</mi></msup><msup><mi>𝑒</mi><mrow><mo>−</mo><mi>𝜆</mi><mi>𝑦</mi></mrow></msup><mi>/</mi><mi>𝑘</mi><mo>!</mo></math></p><h5>Example 7.13</h5><h6>(a)</h6><p>This type of problem is a way to flip around already understood concepts. We still need the same formula for density, but now we’re actually solving for something instead it proving something we already know.</p><p>We are taking a sum here because <math><mi>ℙ</mi><mo form=\"prefix\" stretchy=\"false\">(</mo><mi>𝑋</mi><mo>=</mo><mi>𝑥</mi><mo stretchy=\"false\">)</mo></math> is the notation used for discrete random variables.</p><h5>Conditional Distribution: The Discrete Case</h5><p>We have the marginal probability of which we are already familiar. <math><msub><mi>𝑝</mi><mi>𝑋</mi></msub><mo form=\"prefix\" stretchy=\"false\">(</mo><mi>𝑥</mi><mo form=\"postfix\" stretchy=\"false\">)</mo><mo>=</mo><mi>ℙ</mi><mo form=\"prefix\" stretchy=\"false\">(</mo><mi>𝑋</mi><mo>=</mo><mi>𝑥</mi><mo form=\"postfix\" stretchy=\"false\">)</mo><mo>=</mo><msub><mo form=\"prefix\" lspace=\"0em\">∑</mo><mi>𝑦</mi></msub><mi>ℙ</mi><mo form=\"prefix\" stretchy=\"false\">(</mo><mi>𝑋</mi><mo>=</mo><mi>𝑥</mi><mo>,</mo><mi>𝑌</mi><mo>=</mo><mi>𝑦</mi><mo form=\"postfix\" stretchy=\"false\">)</mo><mo>=</mo><msub><mo form=\"prefix\" lspace=\"0em\">∑</mo><mi>𝑦</mi></msub><mi>𝑝</mi><mo form=\"prefix\" stretchy=\"false\">(</mo><mi>𝑥</mi><mo>,</mo><mi>𝑦</mi><mo stretchy=\"false\">)</mo></math></p><p>From now on we will use the following notation: <math><msub><mi>𝑝</mi><mrow><mi>𝑋</mi><mo lspace=\"0em\" rspace=\"0em\">∣</mo><mi>𝑌</mi></mrow></msub><mo form=\"prefix\" stretchy=\"false\">(</mo><mi>𝑥</mi><mo>∣</mo><mi>𝑦</mi><mo stretchy=\"false\">)</mo></math></p><p>which is the conditioning random variable.</p><p><math><msub><mi>𝑝</mi><mrow><mi>𝑋</mi><mo lspace=\"0em\" rspace=\"0em\">∣</mo><mi>𝑌</mi></mrow></msub><mo form=\"prefix\" stretchy=\"false\">(</mo><mi>𝑥</mi><mo>∣</mo><mi>𝑦</mi><mo form=\"postfix\" stretchy=\"false\">)</mo><mo>=</mo><mi>ℙ</mi><mo form=\"prefix\" stretchy=\"false\">(</mo><mi>𝑋</mi><mo>=</mo><mi>𝑥</mi><mo>∣</mo><mi>𝑌</mi><mo>=</mo><mi>𝑦</mi><mo form=\"postfix\" stretchy=\"false\">)</mo><mo>=</mo><mfrac><mrow><mi>ℙ</mi><mo form=\"prefix\" stretchy=\"false\">(</mo><mi>𝑋</mi><mo lspace=\"0em\" rspace=\"0em\">=</mo><mi>𝑥</mi><mo rspace=\"0em\">,</mo><mi>𝑌</mi><mo lspace=\"0em\" rspace=\"0em\">=</mo><mi>𝑦</mi><mo stretchy=\"false\">)</mo></mrow><mrow><mi>ℙ</mi><mo form=\"prefix\" stretchy=\"false\">(</mo><mi>𝑌</mi><mo lspace=\"0em\" rspace=\"0em\">=</mo><mi>𝑦</mi><mo stretchy=\"false\">)</mo></mrow></mfrac><mo>=</mo><mfrac><mrow><mi>𝑝</mi><mo form=\"prefix\" stretchy=\"false\">(</mo><mi>𝑥</mi><mo rspace=\"0em\">,</mo><mi>𝑦</mi><mo stretchy=\"false\">)</mo></mrow><mrow><msub><mi>𝑝</mi><mi>𝑌</mi></msub><mo form=\"prefix\" stretchy=\"false\">(</mo><mi>𝑦</mi><mo stretchy=\"false\">)</mo></mrow></mfrac></math></p><h5>Conditional CDF</h5><p><math><msub><mi>𝐹</mi><mrow><mi>𝑋</mi><mo lspace=\"0em\" rspace=\"0em\">∣</mo><mi>𝑌</mi></mrow></msub><mo form=\"prefix\" stretchy=\"false\">(</mo><mi>𝑥</mi><mo>∣</mo><mi>𝑦</mi><mo form=\"postfix\" stretchy=\"false\">)</mo><mo>=</mo><mi>ℙ</mi><mo form=\"prefix\" stretchy=\"false\">(</mo><mi>𝑋</mi><mo>≤</mo><mi>𝑥</mi><mo>∣</mo><mi>𝑌</mi><mo>=</mo><mi>𝑦</mi><mo form=\"postfix\" stretchy=\"false\">)</mo><mo>=</mo><msub><mo form=\"prefix\" lspace=\"0em\">∑</mo><mrow><mi>𝑡</mi><mo lspace=\"0em\" rspace=\"0em\">≤</mo><mi>𝑥</mi></mrow></msub><mi>ℙ</mi><mo form=\"prefix\" stretchy=\"false\">(</mo><mi>𝑋</mi><mo>=</mo><mi>𝑡</mi><mo>∣</mo><mi>𝑌</mi><mo>=</mo><mi>𝑦</mi><mo stretchy=\"false\">)</mo></math></p><p><math><mo form=\"infix\" lspace=\"0em\">=</mo><msub><mo form=\"prefix\" lspace=\"0em\">∑</mo><mrow><mi>𝑡</mi><mo lspace=\"0em\" rspace=\"0em\">≤</mo><mi>𝑥</mi></mrow></msub><msub><mi>𝑝</mi><mrow><mi>𝑋</mi><mo lspace=\"0em\" rspace=\"0em\">∣</mo><mi>𝑌</mi></mrow></msub><mo form=\"prefix\" stretchy=\"false\">(</mo><mi>𝑡</mi><mo>∣</mo><mi>𝑦</mi><mo stretchy=\"false\">)</mo></math></p><p>We can use all of these expressions, which are the same. They might be useful in different contexts, though.</p><h6>8.16</h6><h5>Conditional Expectation</h5><p><math><mi>𝔼</mi><mo form=\"prefix\" stretchy=\"false\">[</mo><mi>𝑋</mi><mo>∣</mo><mi>𝑌</mi><mo>=</mo><mi>𝑦</mi><mo form=\"postfix\" stretchy=\"false\">]</mo><mo>=</mo><msub><mo form=\"prefix\" lspace=\"0em\">∑</mo><mi>𝑥</mi></msub><mi>𝑥</mi><mspace width=\"0.1667em\"></mspace><mi>ℙ</mi><mo form=\"prefix\" stretchy=\"false\">(</mo><mi>𝑋</mi><mo>=</mo><mi>𝑥</mi><mo>∣</mo><mi>𝑌</mi><mo>=</mo><mi>𝑦</mi><mo form=\"postfix\" stretchy=\"false\">)</mo><mo>=</mo><msub><mo form=\"prefix\" lspace=\"0em\">∑</mo><mi>𝑥</mi></msub><mi>𝑥</mi><msub><mi>𝑝</mi><mrow><mi>𝑋</mi><mo lspace=\"0em\" rspace=\"0em\">∣</mo><mi>𝑌</mi></mrow></msub><mo form=\"prefix\" stretchy=\"false\">(</mo><mi>𝑥</mi><mo>∣</mo><mi>𝑦</mi><mo stretchy=\"false\">)</mo></math></p><p>And this expectation generalizes across any function of X.</p><p>This is the same result of linear expectation.</p><h6>8.19</h6><p>The joint density is not actually easy to determine here.</p><p>What is the probability that (Y = 3)? It’s a geometric random variable, based on our knowledge of the “trials until you have success” property of geometric random variables.</p><p><math><mfrac><mrow><mo stretchy=\"false\">(</mo><mi>𝑥</mi><mo lspace=\"0em\" rspace=\"0em\">−</mo><mn>1</mn><msup><mo stretchy=\"false\">)</mo><mn>2</mn></msup></mrow><msup><mi>𝑥</mi><mn>2</mn></msup></mfrac></math></p><p>Let’s see the probability for when (Y = 3). We will take the probability of every value of (x).</p><p>We actually have a restriction on our domain here.</p><p>There’s a common identity we can use for the geometric distribution:</p><p><math><mi>𝑔</mi><mo form=\"prefix\" stretchy=\"false\">(</mo><mi>𝑥</mi><mo form=\"postfix\" stretchy=\"false\">)</mo><mo>=</mo><msubsup><mo form=\"prefix\" lspace=\"0em\">∑</mo><mrow><mi>𝑛</mi><mo lspace=\"0em\" rspace=\"0em\">=</mo><mn>0</mn></mrow><mi>∞</mi></msubsup><msup><mi>𝑥</mi><mi>𝑛</mi></msup><mo>=</mo><mfrac><mn>1</mn><mrow><mn>1</mn><mo lspace=\"0em\" rspace=\"0em\">−</mo><mi>𝑥</mi></mrow></mfrac></math></p><p><math><msup><mi>𝑔</mi><mo>′</mo></msup><mo form=\"prefix\" stretchy=\"false\">(</mo><mi>𝑥</mi><mo form=\"postfix\" stretchy=\"false\">)</mo><mo>=</mo><msubsup><mo form=\"prefix\" lspace=\"0em\">∑</mo><mrow><mi>𝑛</mi><mo lspace=\"0em\" rspace=\"0em\">=</mo><mn>1</mn></mrow><mi>∞</mi></msubsup><mi>𝑛</mi><msup><mi>𝑥</mi><mrow><mi>𝑛</mi><mo lspace=\"0em\" rspace=\"0em\">−</mo><mn>1</mn></mrow></msup><mo>=</mo><mfrac><mn>1</mn><mrow><mo stretchy=\"false\">(</mo><mn>1</mn><mo lspace=\"0em\" rspace=\"0em\">−</mo><mi>𝑥</mi><msup><mo stretchy=\"false\">)</mo><mn>2</mn></msup></mrow></mfrac></math></p><p><math><mi>𝑥</mi><msup><mi>𝑔</mi><mo>′</mo></msup><mo form=\"prefix\" stretchy=\"false\">(</mo><mi>𝑥</mi><mo form=\"postfix\" stretchy=\"false\">)</mo><mo>=</mo><msubsup><mo form=\"prefix\" lspace=\"0em\">∑</mo><mrow><mi>𝑛</mi><mo lspace=\"0em\" rspace=\"0em\">=</mo><mn>0</mn></mrow><mi>∞</mi></msubsup><mi>𝑛</mi><msup><mi>𝑥</mi><mi>𝑛</mi></msup><mo>=</mo><mfrac><mi>𝑥</mi><mrow><mo stretchy=\"false\">(</mo><mn>1</mn><mo lspace=\"0em\" rspace=\"0em\">−</mo><mi>𝑥</mi><msup><mo stretchy=\"false\">)</mo><mn>2</mn></msup></mrow></mfrac></math></p>","contentSourceFormat":"typst","contentTypst":"=== Lecture Notes\n<lecture-notes>\n\\(came late…)\n\n==== Example 7.8\n<example-7.8>\n===== \\(a)\n<a>\nKeep in mind that you can't separate $epsilon.alt$ out from $Y$ because they are not necessarily independent.\n\nWe can use the fact that $epsilon.alt$ is complementary to divide up what $X$ means.\n\n$bb(P)\\(X lt.eq x\\)bb(P)\\(epsilon.alt = 1\\)+ bb(P)\\(- X lt.eq x\\)bb(P)\\(epsilon.alt = - 1\\)$\n\nBut notice that those two X densities are symmetric! Geometrically, they mirror each other the normal density. And so we can say that these two are equal.\n\n$= bb(P)\\(X lt.eq x\\)$\n\nAnd there we go! That's the same as X, so we can say that\n\n$Y = N\\(0\\,1\\)$\n\nWhat about the joint distribution?\n\nWe can create a similar negative contrast.\n\n#strong[Open question:] work through the joint distribution exercise.\n\n===== \\(c)\n<c>\nSince both X and Y are normal, the expectation is 0.\n\n$\"Cov\"\\(X\\,Y\\)= bb(E)\\[X Y\\]- bb(E)\\[X\\]bb(E)\\[Y\\]= bb(E)\\[X\\,Y\\]$\n\nWe can make this easier by splitting this into two situations.\n\n$= bb(E)\\[X dot.op epsilon.alt X\\]= bb(E)\\[epsilon.alt\\]bb(E)\\[X^2\\]= 0$\n\nThe conclusion is that \"X and Y are uncorrelated\" because their covariance is equal to 0.\n\n===== \\(d)\n<d>\nBut they are not independent! This is a great counterexample to the false intuition that variables that are uncorrelated are necessarily independent. That's why it's not enough to calculate the covariance to determine independence.\n\n$bb(E)\\[X^2 Y^2\\]= bb(E)\\[X^2 epsilon.alt^2 X^2\\]= bb(E)\\[epsilon.alt^2 X^4\\]= bb(E)\\[epsilon.alt^2\\]bb(E)\\[X^4\\]= 1 times 3 = 3$\n\n$bb(E)\\[X^2\\]= 1$\n\n$bb(E)\\[Y^2\\]= bb(E)\\[epsilon.alt^2 X^2\\]= bb(E)\\[epsilon.alt^2\\]bb(E)\\[X^2\\]= 1$\n\nAnd that indicates\n\n$bb(E)\\[X^2 Y^2\\]eq.not bb(E)\\[X^2\\]bb(E)\\[Y^2\\]$\n\nAnd that is a proof by contradiction!\n\n==== Example 7.12\n<example-7.12>\n===== \\(a)\n<a-1>\nIn order to prove that this is a density, we need to prove that that the area under its function (integral) is equal to 1 over the entire domain.\n\nWe need to do a double integral here because the domain is across two variables.\n\nThe result becomes the integral over the exponential distribution which is known to be 1.\n\n===== \\(b)\n<b>\nWe are going to take some basic properties. What is the marginal distribution for each variable?\n\n$f_Y\\(y\\)= a^2 y e^(- a y)$\n\nAnd we can recognize they take the form\n\n$f_Y\\(y\\)= lambda^k e^(- lambda y)\\/k !$\n\n==== Example 7.13\n<example-7.13>\n===== \\(a)\n<a-2>\nThis type of problem is a way to flip around already understood concepts. We still need the same formula for density, but now we're actually solving for something instead it proving something we already know.\n\nWe are taking a sum here because $bb(P)\\(X = x\\)$ is the notation used for discrete random variables.\n\n==== Conditional Distribution: The Discrete Case\n<conditional-distribution-the-discrete-case>\nWe have the marginal probability of which we are already familiar. $p_X\\(x\\)= bb(P)\\(X = x\\)= sum_y bb(P)\\(X = x\\,Y = y\\)= sum_y p\\(x\\,y\\)$\n\nFrom now on we will use the following notation: $p_(X divides Y)\\(x divides y\\)$\n\nwhich is the conditioning random variable.\n\n$p_(X divides Y)\\(x divides y\\)= bb(P)\\(X = x divides Y = y\\)= frac(bb(P)\\(X = x\\,Y = y\\), bb(P)\\(Y = y\\)) = frac(p\\(x\\,y\\), p_Y\\(y\\))$\n\n==== Conditional CDF\n<conditional-cdf>\n$F_(X divides Y)\\(x divides y\\)= bb(P)\\(X lt.eq x divides Y = y\\)= sum_(t lt.eq x) bb(P)\\(X = t divides Y = y\\)$\n\n$= sum_(t lt.eq x) p_(X divides Y)\\(t divides y\\)$\n\nWe can use all of these expressions, which are the same. They might be useful in different contexts, though.\n\n===== 8.16\n<section>\n==== Conditional Expectation\n<conditional-expectation>\n$bb(E)\\[X divides Y = y\\]= sum_x x thin bb(P)\\(X = x divides Y = y\\)= sum_x x p_(X divides Y)\\(x divides y\\)$\n\nAnd this expectation generalizes across any function of X.\n\nThis is the same result of linear expectation.\n\n===== 8.19\n<section-1>\nThe joint density is not actually easy to determine here.\n\nWhat is the probability that (Y = 3)? It's a geometric random variable, based on our knowledge of the \"trials until you have success\" property of geometric random variables.\n\n$frac(\\(x - 1\\)^2, x^2)$\n\nLet's see the probability for when (Y = 3). We will take the probability of every value of (x).\n\nWe actually have a restriction on our domain here.\n\nThere's a common identity we can use for the geometric distribution:\n\n$g\\(x\\)= sum_(n = 0)^oo x^n = frac(1, 1 - x)$\n\n$g'\\(x\\)= sum_(n = 1)^oo n x^(n - 1) = frac(1, \\(1 - x\\)^2)$\n\n$x g'\\(x\\)= sum_(n = 0)^oo n x^n = frac(x, \\(1 - x\\)^2)$","dataUrl":"https://sharifhsn.dev/api/posts/joint-and-conditional-distributions.json","date":"2024-11-11","datePublished":"2024-11-11","description":"Keep in mind that you can’t separate 𝜖 out from 𝑌 because they are not necessarily independent. We can use the fact that 𝜖 is complementary to divide up what 𝑋 means. But notice…","site":"https://sharifhsn.dev","slug":"joint-and-conditional-distributions","source":"FE-540 | Probability Theory","sourceUrl":null,"tags":["Probability Theory","Conditional Distributions","Covariance"],"title":"Joint and Conditional Distributions","url":"https://sharifhsn.dev/blog/joint-and-conditional-distributions/","version":"1","wordCount":940}