{"categories":["Probability Theory"],"contentHtml":"<h3>Week 3</h3><h4>Reading - Random Variables Generalities (FT 3)</h4><h5>Definition</h5><p>We can consider a mapping between all of the sets in the <math><mi>𝜎</mi></math>-algebra of one measurable space <math><mo stretchy=\"false\">(</mo><mi mathvariant=\"normal\">Ω</mi><mo>,</mo><mi>ℱ︀</mi><mo stretchy=\"false\">)</mo></math> to another sample space <math><msub><mi mathvariant=\"normal\">Ω</mi><mn>1</mn></msub></math>, where the mapping is measurable each set has a mapping. A <strong>random variable</strong> is a measurable function <math><mi>𝑋</mi><mo lspace=\"0.2777777777777778em\" rspace=\"0.2777777777777778em\">:</mo><mi mathvariant=\"normal\">Ω</mi><mo stretchy=\"false\">→</mo><mi>ℝ</mi></math> where the target sample space is the Borel set. Random variables are capital letters and their values are lowercase letters.</p><p>The sum, product, or composition of measurable functions are measurable functions, so those are still random variables.</p><p>We consider the <em>preimage</em> of <math><mi>𝑋</mi></math> to be <math><msup><mi>𝑋</mi><mrow><mo>−</mo><mn>1</mn></mrow></msup><mo form=\"prefix\" stretchy=\"false\">(</mo><mi>𝐴</mi><mo stretchy=\"false\">)</mo></math>, which is not precisely the inverse function. It’s the set in the <math><mi>𝜎</mi></math>-algebra in the input sample space which generated the set <math><mi>𝐴</mi></math>.</p><h5>Distribution</h5><p>The distribution of a random variable is itself a random variable, denoted by <math><msub><mi>ℙ</mi><mi>𝑋</mi></msub><mo>=</mo><mi>ℙ</mi><mo lspace=\"0.2222222222222222em\" rspace=\"0.2222222222222222em\">∘</mo><msup><mi>𝑋</mi><mrow><mo>−</mo><mn>1</mn></mrow></msup><mo form=\"prefix\" stretchy=\"false\">(</mo><mi>ℝ</mi><mo stretchy=\"false\">)</mo></math>. This variable is defined on the Borel set as a probability on the measurable space. We can consider the probability space of the distribution to be <math><mo stretchy=\"false\">(</mo><mi>ℝ</mi><mo>,</mo><mi>𝔹</mi><mo form=\"prefix\" stretchy=\"false\">(</mo><mi>ℝ</mi><mo form=\"postfix\" stretchy=\"false\">)</mo><mo>,</mo><mi>ℙ</mi><mi>𝑋</mi><mo stretchy=\"false\">)</mo></math> i.e.&nbsp;the sample space is all real numbers, the function mapping is the Borel subset (every interval and combination of such), and the distribution is the probability measure.</p><p>If we have a sequence of disjoint sets in the Borel subset of <math><mi>ℝ</mi></math>, then the distribution of <math><mi>𝑋</mi></math> (<math><mi>ℙ</mi><mo form=\"prefix\" stretchy=\"false\">(</mo><mi>𝑋</mi><mo stretchy=\"false\">)</mo></math>) on the unions of those sequences is the same as the sum of the probability measure on each individual set.</p><p>We will consider the notation <math><mrow><mo>{</mo><mrow><mi>𝑋</mi><mo>∈</mo><mi>𝐴</mi></mrow><mo>}</mo></mrow></math> to mean that there’s an outcome <math><mi>𝜔</mi></math> in sample space <math><mi mathvariant=\"normal\">Ω</mi></math> <math><mi>𝑋</mi></math> which maps to the set <math><mi>𝐴</mi></math> in <math><mi>ℬ︀</mi><mo form=\"prefix\" stretchy=\"false\">(</mo><mi>ℝ</mi><mo stretchy=\"false\">)</mo></math></p><h5>Cumulative Distribution Function</h5><p>Formally, the cdf of a random variable is <math><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><mrow><mo>{</mo><mrow><mi>𝜔</mi><mo lspace=\"0.2777777777777778em\" rspace=\"0.2777777777777778em\">:</mo><mi>𝑋</mi><mo form=\"prefix\" stretchy=\"false\">(</mo><mi>𝜔</mi><mo form=\"postfix\" stretchy=\"false\">)</mo><mo>≤</mo><mi>𝑥</mi></mrow><mo>}</mo></mrow><mo stretchy=\"false\">)</mo></math> or the probability measure of the outcomes where the mapping to the real numbers is less than a specified number x.</p><p>This function has the properties that it is increasing, right continuous, and it approaches 0 and 1 from left and right, respectively.</p><p>The <strong>infinimum <math><mo form=\"prefix\" lspace=\"0em\" rspace=\"0em\">inf</mo></math></strong> is the largest element smaller than every element of a set (aka it’s the element just to the left of the set in the order) and the <strong>supremum <math><mo form=\"prefix\" lspace=\"0em\" rspace=\"0em\">sup</mo></math></strong> is the element to the right.</p><p>If we consider the variable.</p><p>For every cdf that exists, there exists a random variable that has that cdf.</p><p>A <strong>Borel function</strong> is a measurable function that maps from <math><mi>ℝ</mi></math> into <math><mi>ℝ</mi></math>.</p><h4>Lecture Notes</h4><h5>CDF</h5><p><math><mi>𝐹</mi><mo lspace=\"0.2777777777777778em\" rspace=\"0.2777777777777778em\">:</mo><mi>ℝ</mi><mo stretchy=\"false\">→</mo><mo form=\"prefix\" stretchy=\"false\">[</mo><mn>0</mn><mo>,</mo><mn>1</mn><mo stretchy=\"false\">]</mo></math> with <math><mi>𝐹</mi><mo form=\"prefix\" stretchy=\"false\">(</mo><mi>𝑥</mi><mo form=\"postfix\" stretchy=\"false\">)</mo><mo>≔</mo><msub><mi>𝑃</mi><mi>𝑋</mi></msub><mo form=\"prefix\" stretchy=\"false\">(</mo><mo form=\"prefix\" stretchy=\"false\">(</mo><mo form=\"prefix\">−</mo><mi>∞</mi><mo>,</mo><mi>𝑥</mi><mo form=\"postfix\" stretchy=\"false\">]</mo><mo form=\"postfix\" stretchy=\"false\">)</mo><mo>=</mo><msub><mi>𝑃</mi><mi>𝑋</mi></msub><mo form=\"prefix\" stretchy=\"false\">(</mo><mi>𝐵</mi><mo stretchy=\"false\">)</mo></math>, where <math><mi>𝐵</mi><mo>=</mo><mo form=\"prefix\" stretchy=\"false\">(</mo><mo form=\"prefix\">−</mo><mi>∞</mi><mo>,</mo><mi>𝑥</mi><mo stretchy=\"false\">]</mo></math></p><p>These are equivalent ways of writing a cdf. This counts the accumulated probability less than or equal to x.</p><p>More interestingly, the cdf has these properties: increasing</p><p>The increasing property is fairly intuitive. Rigorously, you can show that for <math><mi>𝑦</mi><mo>≥</mo><mi>𝑥</mi></math>, <math><mo stretchy=\"false\">(</mo><mo form=\"prefix\">−</mo><mi>∞</mi><mo>,</mo><mi>𝑥</mi><mo form=\"postfix\" stretchy=\"false\">]</mo><mo>⊆</mo><mo form=\"prefix\" stretchy=\"false\">(</mo><mo form=\"prefix\">−</mo><mi>∞</mi><mo>,</mo><mi>𝑦</mi><mo stretchy=\"false\">]</mo></math>. The interval from x to y must be 0 or greater, so then the cdf to y must be greater than the cdf to x.</p><p>You can also show that it’s right continuous, proof is beyond the scope, involves monotone class</p><p><math><msub><mo lspace=\"0em\" rspace=\"0.16666666666666666em\">lim</mo><mrow><mi>ℎ</mi><mo lspace=\"0em\" rspace=\"0em\">↘︎</mo><mn>0</mn></mrow></msub><mi>𝐹</mi><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 stretchy=\"false\">)</mo></math> for any x in the domain.</p><p>Let’s examine the first quadrant of an equation. We have <math><mi>𝑥</mi></math> . If we imagine the difference between that and <math><mi>𝑥</mi><mo>+</mo><mi>ℎ</mi></math>, in a continuous function this is well-defined. But we might have a discontinuous function. This cannot be a cumulative distribution function. This is a complicated statement.</p><p><math><msub><mo lspace=\"0em\" rspace=\"0.16666666666666666em\">lim</mo><mrow><mi>𝑥</mi><mo lspace=\"0em\" rspace=\"0em\" stretchy=\"false\">→</mo><mo form=\"prefix\">−</mo><mi>∞</mi></mrow></msub><mi>𝐹</mi><mo form=\"prefix\" stretchy=\"false\">(</mo><mi>𝑥</mi><mo form=\"postfix\" stretchy=\"false\">)</mo><mo>=</mo><mn>0</mn><mo rspace=\"0em\">,</mo><mspace width=\"2em\"></mspace><msub><mo form=\"prefix\" lspace=\"0em\" rspace=\"0.16666666666666666em\">lim</mo><mrow><mi>𝑥</mi><mo lspace=\"0em\" rspace=\"0em\" stretchy=\"false\">→</mo><mi>∞</mi></mrow></msub><mi>𝐹</mi><mo form=\"prefix\" stretchy=\"false\">(</mo><mi>𝑥</mi><mo form=\"postfix\" stretchy=\"false\">)</mo><mo>=</mo><mn>1</mn></math></p><p>We can prove this by showing that</p><p><math><msub><mo lspace=\"0em\" rspace=\"0.16666666666666666em\">lim</mo><mrow><mi>𝑥</mi><mo lspace=\"0em\" rspace=\"0em\" stretchy=\"false\">→</mo><mo form=\"prefix\">−</mo><mi>∞</mi></mrow></msub><mi>𝐹</mi><mo form=\"prefix\" stretchy=\"false\">(</mo><mi>𝑥</mi><mo form=\"postfix\" stretchy=\"false\">)</mo><mo>=</mo><mn>0</mn><mo>=</mo><msub><mo form=\"prefix\" lspace=\"0em\" rspace=\"0.16666666666666666em\">lim</mo><mrow><mi>𝑥</mi><mo lspace=\"0em\" rspace=\"0em\" stretchy=\"false\">→</mo><mo form=\"prefix\">−</mo><mi>∞</mi></mrow></msub><msub><mi>𝑃</mi><mi>𝑋</mi></msub><mo form=\"prefix\" stretchy=\"false\">(</mo><mo form=\"prefix\" stretchy=\"false\">(</mo><mo form=\"prefix\">−</mo><mi>∞</mi><mo>,</mo><mi>𝑥</mi><mo form=\"postfix\" stretchy=\"false\">]</mo><mo form=\"postfix\" stretchy=\"false\">)</mo><mo>=</mo><msub><mi>𝑃</mi><mi>𝑋</mi></msub><mo form=\"prefix\" stretchy=\"false\">(</mo><mi>∅</mi><mo form=\"postfix\" stretchy=\"false\">)</mo><mo>=</mo><mn>0</mn></math></p><p>Why is this empty set? Because if you have the interval <math><mo stretchy=\"false\">(</mo><mo form=\"prefix\">−</mo><mi>∞</mi><mo>,</mo><mi>∞</mi><mo stretchy=\"false\">]</mo></math>, left open interval says I don’t have it, right says I do, because they conflict then there must be an empty set.</p><p><math><msub><mo lspace=\"0em\" rspace=\"0.16666666666666666em\">lim</mo><mrow><mi>𝑥</mi><mo lspace=\"0em\" rspace=\"0em\" stretchy=\"false\">→</mo><mi>∞</mi></mrow></msub><mi>𝐹</mi><mo form=\"prefix\" stretchy=\"false\">(</mo><mi>𝑥</mi><mo form=\"postfix\" stretchy=\"false\">)</mo><mo>=</mo><mn>1</mn><mo>=</mo><msub><mi>𝑃</mi><mi>𝑋</mi></msub><mo form=\"prefix\" stretchy=\"false\">(</mo><mo form=\"prefix\" stretchy=\"false\">(</mo><mo form=\"prefix\">−</mo><mi>∞</mi><mo>,</mo><mi>∞</mi><mo form=\"postfix\" stretchy=\"false\">]</mo><mo form=\"postfix\" stretchy=\"false\">)</mo><mo>=</mo><msub><mi>𝑃</mi><mi>𝑋</mi></msub><mo form=\"prefix\" stretchy=\"false\">(</mo><mi>ℝ</mi><mo form=\"postfix\" stretchy=\"false\">)</mo><mo>=</mo><mn>1</mn></math></p><p>This just becomes the probability measure of the sample space which is definitionally 1.</p><p>Most of the focus in this course will be calculation and not proof. But if you understand the proof, it will guide you in calculations.</p><p>Lemma 3.11: If we have <math><mi>𝐹</mi><mo form=\"prefix\" stretchy=\"false\">(</mo><mi>𝑋</mi><mo stretchy=\"false\">)</mo></math> as the cdf, then</p><p><math><mi>ℙ</mi><mo form=\"prefix\" stretchy=\"false\">(</mo><mi>𝑋</mi><mo>≥</mo><mi>𝑥</mi><mo form=\"postfix\" stretchy=\"false\">)</mo><mo>=</mo><mn>1</mn><mo>−</mo><mi>ℙ</mi><mo form=\"prefix\" stretchy=\"false\">(</mo><mi>𝑋</mi><mo>≤</mo><mi>𝑥</mi><mo stretchy=\"false\">)</mo></math></p><p>This is known as the survival function. If you survive over sixty years, then you get your retirement money. This assumes that <math><mi>ℙ</mi><mo form=\"prefix\" stretchy=\"false\">(</mo><mi>𝑋</mi><mo>=</mo><mi>𝑥</mi><mo form=\"postfix\" stretchy=\"false\">)</mo><mo>=</mo><mn>0</mn></math> which is true if <math><mi>𝑋</mi></math> is a continuous random variable.</p><p>Proof is <math><mrow><mo>{</mo><mrow><mi>𝑋</mi><mo>&gt;</mo><mi>𝑥</mi></mrow><mo>}</mo></mrow><mo>∪</mo><mrow><mo>{</mo><mrow><mi>𝑋</mi><mo>≤</mo><mi>𝑥</mi></mrow><mo>}</mo></mrow><mo>=</mo><mi>ℝ</mi><mo>=</mo><mi mathvariant=\"normal\">Ω</mi></math></p><p><strong>Important identity:</strong></p><p><math><mi>ℙ</mi><mo form=\"prefix\" stretchy=\"false\">(</mo><mi>𝑥</mi><mo>&lt;</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 form=\"postfix\" stretchy=\"false\">)</mo><mo>−</mo><mi>𝐹</mi><mo form=\"prefix\" stretchy=\"false\">(</mo><mi>𝑥</mi><mo stretchy=\"false\">)</mo></math></p><p>This proof comes from the set inequality: <math><mrow><mo>{</mo><mrow><mi>𝑋</mi><mo>≤</mo><mi>𝑥</mi></mrow><mo>}</mo></mrow><mo>∪</mo><mrow><mo>{</mo><mrow><mi>𝑥</mi><mo>&lt;</mo><mi>𝑋</mi><mo>≤</mo><mi>𝑦</mi></mrow><mo>}</mo></mrow><mo>=</mo><mrow><mo>{</mo><mrow><mi>𝑋</mi><mo>≤</mo><mi>𝑦</mi></mrow><mo>}</mo></mrow></math></p><p>And then if we take the probability measure of all of these then we see that the right side is the cdf of y, left side is cdf of x disjoint with the other part so you can add them by earlier definition</p><p>Also known</p><p><math><mi>ℙ</mi><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 form=\"postfix\" stretchy=\"false\">)</mo><mo>−</mo><mi>𝐹</mi><mo form=\"prefix\" stretchy=\"false\">(</mo><mi>𝑥</mi><mo rspace=\"0em\">−</mo><mo stretchy=\"false\">)</mo></math> this is us taking the left limit where</p><p><math><mi>𝐹</mi><mo form=\"prefix\" stretchy=\"false\">(</mo><mi>𝑥</mi><mo rspace=\"0em\">−</mo><mo form=\"postfix\" stretchy=\"false\">)</mo><mo>≔</mo><msub><mo form=\"prefix\" lspace=\"0em\" rspace=\"0.16666666666666666em\">lim</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 form=\"postfix\" stretchy=\"false\">)</mo><mo>=</mo><msub><mo form=\"prefix\" lspace=\"0em\" rspace=\"0.16666666666666666em\">lim</mo><mrow><mi>ℎ</mi><mo lspace=\"0em\" rspace=\"0em\">↘︎</mo><mn>0</mn></mrow></msub><mi>𝐹</mi><mo form=\"prefix\" stretchy=\"false\">(</mo><mi>𝑥</mi><mo>−</mo><mi>ℎ</mi><mo stretchy=\"false\">)</mo></math></p><p>consequences of this? If this <math><mi>𝐹</mi><mo form=\"prefix\" stretchy=\"false\">(</mo><mi>𝑥</mi><mo stretchy=\"false\">)</mo></math> is left-continuous, it means that the limit is equal, which means this whole thing is equal to 0. However, it’s not left-continuous, then <math><mi>ℙ</mi><mo form=\"prefix\" stretchy=\"false\">(</mo><mi>𝑋</mi><mo>=</mo><mi>𝑥</mi><mo form=\"postfix\" stretchy=\"false\">)</mo><mo>&gt;</mo><mn>0</mn></math> strictly larger than 0. This looks like when the dot is on the right and the open circle is on the left. This is allowed, and it happens when <math><mi>𝑋</mi></math> is a discrete random variable. Binomial, Poisson, Geometric random variables are all discrete.</p><h5>Numerical</h5><p>Roll a die, probability that number is smaller than five. (strictly less than on an exam)</p><p><math><mi>ℙ</mi><mo form=\"prefix\" stretchy=\"false\">(</mo><mi>𝑋</mi><mo>&lt;</mo><mn>5</mn><mo form=\"postfix\" stretchy=\"false\">)</mo><mo>=</mo><mi>ℙ</mi><mo form=\"prefix\" stretchy=\"false\">(</mo><mi>𝑋</mi><mo>≤</mo><mn>4</mn><mo form=\"postfix\" stretchy=\"false\">)</mo><mo>=</mo><mi>𝐹</mi><mo form=\"prefix\" stretchy=\"false\">(</mo><mn>4</mn><mo form=\"postfix\" stretchy=\"false\">)</mo><mo>=</mo><mi>ℙ</mi><mo form=\"prefix\" stretchy=\"false\">(</mo><mrow><mo>{</mo><mrow><mi>𝑋</mi><mo>=</mo><mn>1</mn></mrow><mo>}</mo></mrow><mo>∪</mo><mrow><mo>{</mo><mrow><mi>𝑋</mi><mo>=</mo><mn>2</mn></mrow><mo>}</mo></mrow><mo>∪</mo><mrow><mo>{</mo><mrow><mi>𝑋</mi><mo>=</mo><mn>3</mn></mrow><mo>}</mo></mrow><mo>∪</mo><mrow><mo>{</mo><mrow><mi>𝑋</mi><mo>=</mo><mn>4</mn></mrow><mo>}</mo></mrow><mo stretchy=\"false\">)</mo></math></p><p><math><mo form=\"infix\" lspace=\"0em\">=</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><mi>𝑋</mi><mo>=</mo><mn>2</mn><mo form=\"postfix\" stretchy=\"false\">)</mo><mo>+</mo><mi>ℙ</mi><mo form=\"prefix\" stretchy=\"false\">(</mo><mi>𝑋</mi><mo>=</mo><mn>3</mn><mo form=\"postfix\" stretchy=\"false\">)</mo><mo>+</mo><mi>ℙ</mi><mo form=\"prefix\" stretchy=\"false\">(</mo><mi>𝑋</mi><mo>=</mo><mn>4</mn><mo stretchy=\"false\">)</mo></math></p><p><math><mo form=\"infix\" lspace=\"0em\">=</mo><mfrac><mn>1</mn><mn>6</mn></mfrac><mo>+</mo><mfrac><mn>1</mn><mn>6</mn></mfrac><mo>+</mo><mfrac><mn>1</mn><mn>6</mn></mfrac><mo>+</mo><mfrac><mn>1</mn><mn>6</mn></mfrac></math></p><p><math><mo form=\"infix\" lspace=\"0em\">=</mo><mfrac><mn>2</mn><mn>3</mn></mfrac></math></p><p>alternatively, I could do the same with 5 and 6 and use the 1 - property. Two random variables are independent if</p><p><math><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><mi>ℙ</mi><mo form=\"prefix\" stretchy=\"false\">(</mo><mi>𝑋</mi><mo>∈</mo><mi>𝐴</mi><mo form=\"postfix\" stretchy=\"false\">)</mo><mo lspace=\"0.2222222222222222em\" rspace=\"0.2222222222222222em\">×</mo><mi>ℙ</mi><mo form=\"prefix\" stretchy=\"false\">(</mo><mi>𝑌</mi><mo>∈</mo><mi>𝐵</mi><mo stretchy=\"false\">)</mo></math></p><p>or put another way</p><p><math><mo form=\"infix\" lspace=\"0em\">=</mo><mi>ℙ</mi><mo form=\"prefix\" stretchy=\"false\">(</mo><mrow><mo>{</mo><mrow><mi>𝑋</mi><mo>∈</mo><mi>𝐴</mi></mrow><mo>}</mo></mrow><mo>∩</mo><mrow><mo>{</mo><mrow><mi>𝑌</mi><mo>∈</mo><mi>𝐵</mi></mrow><mo>}</mo></mrow><mo stretchy=\"false\">)</mo></math></p><p>Intuitively, this means that the outcome of <math><mi>𝑋</mi></math> does not affect the outcome of <math><mi>𝑌</mi></math>.</p><p>For any <math><mi>𝑥</mi><mo>,</mo><mi>𝑦</mi><mo>∈</mo><mi>ℝ</mi></math>, where <math><mi>𝑥</mi><mo>,</mo><mi>𝑦</mi></math> are independent</p><p><math><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><mi>ℙ</mi><mo form=\"prefix\" stretchy=\"false\">(</mo><mi>𝑋</mi><mo>≤</mo><mi>𝑥</mi><mo form=\"postfix\" stretchy=\"false\">)</mo><mo lspace=\"0.2222222222222222em\" rspace=\"0.2222222222222222em\">×</mo><mi>ℙ</mi><mo form=\"prefix\" stretchy=\"false\">(</mo><mi>𝑌</mi><mo>≤</mo><mi>𝑦</mi><mo stretchy=\"false\">)</mo></math></p><p>are mutually independent if</p><p><math><mi>ℙ</mi><mrow><mo>(</mo><mrow><msubsup><mo lspace=\"0em\" rspace=\"0em\">⋂</mo><mrow><mi>𝑖</mi><mo lspace=\"0em\" rspace=\"0em\">=</mo><mn>1</mn></mrow><mi>𝑛</mi></msubsup><mrow><mo>{</mo><mrow><msub><mi>𝑥</mi><mi>𝑖</mi></msub><mo>∈</mo><msub><mi>𝐵</mi><mi>𝑖</mi></msub></mrow><mo>}</mo></mrow></mrow><mo>)</mo></mrow><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><mo form=\"prefix\" stretchy=\"false\">(</mo><msub><mi>𝑋</mi><mi>𝑖</mi></msub><mo>∈</mo><msub><mi>𝐵</mi><mi>𝑖</mi></msub><mo stretchy=\"false\">)</mo></math></p><p>They are also pairwise independent in this case.</p><p>For an arbitrary family of random variables where we have some index set <math><mi>𝐼</mi></math> for <math><msub><mi>𝑋</mi><mi>𝑖</mi></msub></math>, they are mutually independent if every finite subfamily is independent. That means any finite subset of the indices will cause this to be the case. This is not very useful as a way to prove independence because there are so many cases to prove, this is just a definition.</p><p>Let’s say we roll a fair die twice and we have <math><mi>𝑋</mi></math> represent the maximum of both rolls. The first question we’re interested in calculating the image of <math><mi mathvariant=\"normal\">Ω</mi></math> through <math><mi>𝑋</mi></math> and the distribution of <math><mi>𝑋</mi></math>.</p><p><math><mi mathvariant=\"normal\">Ω</mi><mo>=</mo><mrow><mo>{</mo><mrow><mi>𝜔</mi><mo>=</mo><mo form=\"prefix\" stretchy=\"false\">(</mo><msub><mi>𝑗</mi><mn>1</mn></msub><mo>,</mo><msub><mi>𝑗</mi><mn>2</mn></msub><mo form=\"postfix\" stretchy=\"false\">)</mo><mo>,</mo><msub><mi>𝑗</mi><mn>1</mn></msub><mo>,</mo><msub><mi>𝑗</mi><mn>2</mn></msub><mo>∈</mo><mrow><mo>{</mo><mrow><mn>1</mn><mo>,</mo><mn>2</mn><mo>,</mo><mn>3</mn><mo>,</mo><mn>4</mn><mo>,</mo><mn>5</mn><mo>,</mo><mn>6</mn></mrow><mo>}</mo></mrow></mrow><mo>}</mo></mrow></math></p><p>total of 36 elements</p><p>the probability of observing any particular outcome is <math><mfrac><mn>1</mn><mn>36</mn></mfrac></math> because it’s fair. This <math><mi>𝑋</mi></math> is clearly a mapping from the sample space to the set of six numbers. If we calculate probabilities:</p><p><math><mi>ℙ</mi><mo form=\"prefix\" stretchy=\"false\">(</mo><mi>𝑋</mi><mo>=</mo><mn>1</mn><mo form=\"postfix\" stretchy=\"false\">)</mo><mo>=</mo><msub><mi>ℙ</mi><mi>𝑋</mi></msub><mo form=\"prefix\" stretchy=\"false\">(</mo><mi>𝜔</mi><mo>=</mo><mo form=\"prefix\" stretchy=\"false\">(</mo><mn>1</mn><mo>,</mo><mn>1</mn><mo form=\"postfix\" stretchy=\"false\">)</mo><mo form=\"postfix\" stretchy=\"false\">)</mo><mo>=</mo><mfrac><mn>1</mn><mn>36</mn></mfrac></math></p><p><math><mi>ℙ</mi><mo form=\"prefix\" stretchy=\"false\">(</mo><mi>𝑋</mi><mo>=</mo><mn>2</mn><mo form=\"postfix\" stretchy=\"false\">)</mo><mo>=</mo><msub><mi>ℙ</mi><mi>𝑋</mi></msub><mo form=\"prefix\" stretchy=\"false\">(</mo><mi>𝜔</mi><mo>=</mo><mo form=\"prefix\" stretchy=\"false\">(</mo><mn>1</mn><mo>,</mo><mn>2</mn><mo form=\"postfix\" stretchy=\"false\">)</mo><mo form=\"postfix\" stretchy=\"false\">)</mo><mo>+</mo><msub><mi>ℙ</mi><mi>𝑋</mi></msub><mo form=\"prefix\" stretchy=\"false\">(</mo><mi>𝜔</mi><mo>=</mo><mo form=\"prefix\" stretchy=\"false\">(</mo><mn>2</mn><mo>,</mo><mn>1</mn><mo form=\"postfix\" stretchy=\"false\">)</mo><mo form=\"postfix\" stretchy=\"false\">)</mo><mo>+</mo><msub><mi>ℙ</mi><mi>𝑋</mi></msub><mo form=\"prefix\" stretchy=\"false\">(</mo><mi>𝜔</mi><mo>=</mo><mo form=\"prefix\" stretchy=\"false\">(</mo><mn>2</mn><mo>,</mo><mn>2</mn><mo form=\"postfix\" stretchy=\"false\">)</mo><mo form=\"postfix\" stretchy=\"false\">)</mo><mo>=</mo><mfrac><mn>3</mn><mn>36</mn></mfrac></math></p><p><math><mi>ℙ</mi><mo form=\"prefix\" stretchy=\"false\">(</mo><mi>𝑋</mi><mo>=</mo><mn>3</mn><mo form=\"postfix\" stretchy=\"false\">)</mo><mo>=</mo><mi>ℙ</mi><mrow><mo>(</mo><mrow><msubsup><mo lspace=\"0em\" rspace=\"0em\">⋃</mo><mrow><mi>𝑘</mi><mo lspace=\"0em\" rspace=\"0em\">=</mo><mn>1</mn></mrow><mn>3</mn></msubsup><mrow><mo>{</mo><mrow><mi>𝜔</mi><mo>=</mo><mo form=\"prefix\" stretchy=\"false\">(</mo><mn>3</mn><mo>,</mo><mi>𝑘</mi></mrow><mo>}</mo></mrow><mo>∪</mo><msubsup><mo form=\"prefix\" lspace=\"0em\" rspace=\"0em\">⋃</mo><mrow><mi>𝑘</mi><mo lspace=\"0em\" rspace=\"0em\">=</mo><mn>1</mn></mrow><mn>2</mn></msubsup><mrow><mo>{</mo><mrow><mi>𝜔</mi><mo>=</mo><mo form=\"prefix\" stretchy=\"false\">(</mo><mi>𝑘</mi><mo>,</mo><mn>3</mn><mo stretchy=\"false\">)</mo></mrow><mo>}</mo></mrow></mrow><mo>)</mo></mrow><mo>=</mo><mfrac><mn>5</mn><mn>36</mn></mfrac></math></p><p>This is 3 then 2 because you don’t want to double count the same number.</p><p><math><mi>ℙ</mi><mo form=\"prefix\" stretchy=\"false\">(</mo><mi>𝑋</mi><mo>=</mo><mn>4</mn><mo form=\"postfix\" stretchy=\"false\">)</mo><mo>=</mo><mi>ℙ</mi><mrow><mo>(</mo><mrow><msubsup><mo lspace=\"0em\" rspace=\"0em\">⋃</mo><mrow><mi>𝑘</mi><mo lspace=\"0em\" rspace=\"0em\">=</mo><mn>1</mn></mrow><mn>4</mn></msubsup><mrow><mo>{</mo><mrow><mi>𝜔</mi><mo>=</mo><mo form=\"prefix\" stretchy=\"false\">(</mo><mn>4</mn><mo>,</mo><mi>𝑘</mi></mrow><mo>}</mo></mrow><mo>∪</mo><msubsup><mo form=\"prefix\" lspace=\"0em\" rspace=\"0em\">⋃</mo><mrow><mi>𝑘</mi><mo lspace=\"0em\" rspace=\"0em\">=</mo><mn>1</mn></mrow><mn>3</mn></msubsup><mrow><mo>{</mo><mrow><mi>𝜔</mi><mo>=</mo><mo form=\"prefix\" stretchy=\"false\">(</mo><mi>𝑘</mi><mo>,</mo><mn>4</mn><mo stretchy=\"false\">)</mo></mrow><mo>}</mo></mrow></mrow><mo>)</mo></mrow><mo>=</mo><mfrac><mn>7</mn><mn>36</mn></mfrac></math></p><p><math><mi>ℙ</mi><mo form=\"prefix\" stretchy=\"false\">(</mo><mi>𝑋</mi><mo>=</mo><mn>5</mn><mo form=\"postfix\" stretchy=\"false\">)</mo><mo>=</mo><mi>ℙ</mi><mrow><mo>(</mo><mrow><msubsup><mo lspace=\"0em\" rspace=\"0em\">⋃</mo><mrow><mi>𝑘</mi><mo lspace=\"0em\" rspace=\"0em\">=</mo><mn>1</mn></mrow><mn>5</mn></msubsup><mrow><mo>{</mo><mrow><mi>𝜔</mi><mo>=</mo><mo form=\"prefix\" stretchy=\"false\">(</mo><mn>5</mn><mo>,</mo><mi>𝑘</mi></mrow><mo>}</mo></mrow><mo>∪</mo><msubsup><mo form=\"prefix\" lspace=\"0em\" rspace=\"0em\">⋃</mo><mrow><mi>𝑘</mi><mo lspace=\"0em\" rspace=\"0em\">=</mo><mn>1</mn></mrow><mn>4</mn></msubsup><mrow><mo>{</mo><mrow><mi>𝜔</mi><mo>=</mo><mo form=\"prefix\" stretchy=\"false\">(</mo><mi>𝑘</mi><mo>,</mo><mn>5</mn><mo stretchy=\"false\">)</mo></mrow><mo>}</mo></mrow></mrow><mo>)</mo></mrow><mo>=</mo><mfrac><mn>9</mn><mn>36</mn></mfrac></math></p><p><math><mi>ℙ</mi><mo form=\"prefix\" stretchy=\"false\">(</mo><mi>𝑋</mi><mo>=</mo><mn>6</mn><mo form=\"postfix\" stretchy=\"false\">)</mo><mo>=</mo><mi>ℙ</mi><mrow><mo>(</mo><mrow><msubsup><mo lspace=\"0em\" rspace=\"0em\">⋃</mo><mrow><mi>𝑘</mi><mo lspace=\"0em\" rspace=\"0em\">=</mo><mn>1</mn></mrow><mn>6</mn></msubsup><mrow><mo>{</mo><mrow><mi>𝜔</mi><mo>=</mo><mo form=\"prefix\" stretchy=\"false\">(</mo><mn>6</mn><mo>,</mo><mi>𝑘</mi></mrow><mo>}</mo></mrow><mo>∪</mo><msubsup><mo form=\"prefix\" lspace=\"0em\" rspace=\"0em\">⋃</mo><mrow><mi>𝑘</mi><mo lspace=\"0em\" rspace=\"0em\">=</mo><mn>1</mn></mrow><mn>5</mn></msubsup><mrow><mo>{</mo><mrow><mi>𝜔</mi><mo>=</mo><mo form=\"prefix\" stretchy=\"false\">(</mo><mi>𝑘</mi><mo>,</mo><mn>6</mn><mo stretchy=\"false\">)</mo></mrow><mo>}</mo></mrow></mrow><mo>)</mo></mrow><mo>=</mo><mfrac><mn>11</mn><mn>36</mn></mfrac></math></p><p>Now let’s get the cdf <math><mi>𝐹</mi><mo form=\"prefix\" stretchy=\"false\">(</mo><mi>𝑋</mi><mo stretchy=\"false\">)</mo></math>. Let’s consider each instance of <math><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>Obviously, this has to be 0 for less than 1 because that’s not an outcome. For the rest of them, you add up the probabilities (because they’re disjoint).</p><p>Another example.</p><p>You are given</p><p><math><mi>ℙ</mi><mo form=\"prefix\" stretchy=\"false\">(</mo><mn>0</mn><mo>≤</mo><mi>𝑋</mi><mo>≤</mo><mn>1</mn><mo form=\"postfix\" stretchy=\"false\">)</mo><mo>=</mo><mfrac><mn>8</mn><mn>12</mn></mfrac></math></p><p><math><mi>ℙ</mi><mo form=\"prefix\" stretchy=\"false\">(</mo><mn>0</mn><mo>≤</mo><mi>𝑋</mi><mo>≤</mo><mn>2</mn><mo form=\"postfix\" stretchy=\"false\">)</mo><mo>=</mo><mfrac><mn>7</mn><mn>12</mn></mfrac></math></p><p><math><mi>ℙ</mi><mo form=\"prefix\" stretchy=\"false\">(</mo><mn>0</mn><mo>≤</mo><mi>𝑋</mi><mo>≤</mo><mn>3</mn><mo form=\"postfix\" stretchy=\"false\">)</mo><mo>=</mo><mfrac><mn>10</mn><mn>12</mn></mfrac></math></p><p><math><mi>ℙ</mi><mo form=\"prefix\" stretchy=\"false\">(</mo><mi>𝑋</mi><mo>=</mo><mn>3</mn><mo form=\"postfix\" stretchy=\"false\">)</mo><mo>=</mo><mi>ℙ</mi><mo form=\"prefix\" stretchy=\"false\">(</mo><mi>𝑋</mi><mo>≥</mo><mn>4</mn><mo stretchy=\"false\">)</mo></math></p><p>We want to know the probability for up to 3.</p><p>We can solve for <math><mi>ℙ</mi><mo form=\"prefix\" stretchy=\"false\">(</mo><mi>𝑋</mi><mo>=</mo><mn>0</mn><mo form=\"postfix\" stretchy=\"false\">)</mo><mo>=</mo><mfrac><mn>3</mn><mn>12</mn></mfrac></math></p><p>We also want to show this inequality <math><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 form=\"postfix\" stretchy=\"false\">)</mo><mo>,</mo><mo form=\"prefix\">∀</mo><mi>𝜔</mi><mo>∈</mo><mi mathvariant=\"normal\">Ω</mi></math></p><p>You want to show that <math><msub><mi>𝐹</mi><mi>𝑋</mi></msub><mo form=\"prefix\" stretchy=\"false\">(</mo><mi>𝑎</mi><mo form=\"postfix\" stretchy=\"false\">)</mo><mo>≥</mo><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>∈</mo><mi>ℝ</mi></math></p><p>Hint: <math><mi>𝐹</mi><mo form=\"prefix\" 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 form=\"postfix\" stretchy=\"false\">)</mo><mo separator=\"true\" lspace=\"0em\">?</mo><mi>ℙ</mi><mo form=\"prefix\" stretchy=\"false\">(</mo><mi>𝑦</mi><mo>≤</mo><mi>𝑎</mi><mo form=\"postfix\" stretchy=\"false\">)</mo><mo>=</mo><msub><mi>𝐹</mi><mi>𝑌</mi></msub><mo form=\"prefix\" stretchy=\"false\">(</mo><mi>𝑎</mi><mo stretchy=\"false\">)</mo></math></p><p>More interesting example 3.4</p><p>cdf</p><p>you have to find the conditions on a, b, c, d, that <math><mi>𝐹</mi></math> satisfies the properties of a cdf.</p><p>We have the property</p><p><math><msub><mo lspace=\"0em\" rspace=\"0.16666666666666666em\">lim</mo><mrow><mi>𝑥</mi><mo lspace=\"0em\" rspace=\"0em\" stretchy=\"false\">→</mo><mi>∞</mi></mrow></msub><mi>𝐹</mi><mo form=\"prefix\" stretchy=\"false\">(</mo><mi>𝑥</mi><mo form=\"postfix\" stretchy=\"false\">)</mo><mo>=</mo><mn>1</mn><mo>=</mo><mi>𝑑</mi></math></p><p>Because that’s if <math><mi>𝑡</mi><mo>≥</mo><mn>3</mn></math>.</p><p>a gives you the same solution of 0.</p>","contentSourceFormat":"typst","contentTypst":"== Week 3\n<week-3>\n=== Reading - Random Variables Generalities (FT 3)\n<reading---random-variables-generalities-ft-3>\n==== Definition\n<definition>\nWe can consider a mapping between all of the sets in the $sigma$-algebra of one measurable space $\\(Omega\\,cal(F)\\)$ to another sample space $Omega_1$, where the mapping is measurable each set has a mapping. A #strong[random variable] is a measurable function $X : Omega arrow.r bb(R)$ where the target sample space is the Borel set. Random variables are capital letters and their values are lowercase letters.\n\nThe sum, product, or composition of measurable functions are measurable functions, so those are still random variables.\n\nWe consider the #emph[preimage] of $X$ to be $X^(- 1)\\(A\\)$, which is not precisely the inverse function. It's the set in the $sigma$-algebra in the input sample space which generated the set $A$.\n\n==== Distribution\n<distribution>\nThe distribution of a random variable is itself a random variable, denoted by $bb(P)_X = bb(P) compose X^(- 1)\\(bb(R)\\)$. This variable is defined on the Borel set as a probability on the measurable space. We can consider the probability space of the distribution to be $\\(bb(R)\\,bb(B)\\(bb(R)\\)\\,bb(P) X\\)$ i.e.~the sample space is all real numbers, the function mapping is the Borel subset (every interval and combination of such), and the distribution is the probability measure.\n\nIf we have a sequence of disjoint sets in the Borel subset of $bb(R)$, then the distribution of $X$ ($bb(P)\\(X\\)$) on the unions of those sequences is the same as the sum of the probability measure on each individual set.\n\nWe will consider the notation ${ X in A }$ to mean that there's an outcome $omega$ in sample space $Omega$ $X$ which maps to the set $A$ in $cal(B)\\(bb(R)\\)$\n\n==== Cumulative Distribution Function\n<cumulative-distribution-function>\nFormally, the cdf of a random variable is $F\\(x\\)= bb(P)\\({ omega : X\\(omega\\)lt.eq x }\\)$ or the probability measure of the outcomes where the mapping to the real numbers is less than a specified number x.\n\nThis function has the properties that it is increasing, right continuous, and it approaches 0 and 1 from left and right, respectively.\n\nThe #strong[infinimum $inf$] is the largest element smaller than every element of a set (aka it's the element just to the left of the set in the order) and the #strong[supremum $sup$] is the element to the right.\n\nIf we consider the variable.\n\nFor every cdf that exists, there exists a random variable that has that cdf.\n\nA #strong[Borel function] is a measurable function that maps from $bb(R)$ into $bb(R)$.\n\n=== Lecture Notes\n<lecture-notes>\n==== CDF\n<cdf>\n$F : bb(R) arrow.r\\[0\\,1\\]$ with $F\\(x\\):= P_X\\(\\(- oo\\,x\\]\\)= P_X\\(B\\)$, where $B =\\(- oo\\,x\\]$\n\nThese are equivalent ways of writing a cdf. This counts the accumulated probability less than or equal to x.\n\nMore interestingly, the cdf has these properties: increasing\n\nThe increasing property is fairly intuitive. Rigorously, you can show that for $y gt.eq x$, $\\(- oo\\,x\\]subset.eq\\(- oo\\,y\\]$. The interval from x to y must be 0 or greater, so then the cdf to y must be greater than the cdf to x.\n\nYou can also show that it's right continuous, proof is beyond the scope, involves monotone class\n\n$lim_(h arrow.br 0) F\\(x + h\\)= F\\(x\\)$ for any x in the domain.\n\nLet's examine the first quadrant of an equation. We have $x$ . If we imagine the difference between that and $x + h$, in a continuous function this is well-defined. But we might have a discontinuous function. This cannot be a cumulative distribution function. This is a complicated statement.\n\n$lim_(x arrow.r - oo) F\\(x\\)= 0\\,#h(2em) lim_(x arrow.r oo) F\\(x\\)= 1$\n\nWe can prove this by showing that\n\n$lim_(x arrow.r - oo) F\\(x\\)= 0 = lim_(x arrow.r - oo) P_X\\(\\(- oo\\,x\\]\\)= P_X\\(nothing\\)= 0$\n\nWhy is this empty set? Because if you have the interval $\\(- oo\\,oo\\]$, left open interval says I don't have it, right says I do, because they conflict then there must be an empty set.\n\n$lim_(x arrow.r oo) F\\(x\\)= 1 = P_X\\(\\(- oo\\,oo\\]\\)= P_X\\(bb(R)\\)= 1$\n\nThis just becomes the probability measure of the sample space which is definitionally 1.\n\nMost of the focus in this course will be calculation and not proof. But if you understand the proof, it will guide you in calculations.\n\nLemma 3.11: If we have $F\\(X\\)$ as the cdf, then\n\n$bb(P)\\(X gt.eq x\\)= 1 - bb(P)\\(X lt.eq x\\)$\n\nThis is known as the survival function. If you survive over sixty years, then you get your retirement money. This assumes that $bb(P)\\(X = x\\)= 0$ which is true if $X$ is a continuous random variable.\n\nProof is ${ X > x } union { X lt.eq x } = bb(R) = Omega$\n\n#strong[Important identity:]\n\n$bb(P)\\(x < X lt.eq y\\)= F\\(y\\)- F\\(x\\)$\n\nThis proof comes from the set inequality: ${ X lt.eq x } union { x < X lt.eq y } = { X lt.eq y }$\n\nAnd then if we take the probability measure of all of these then we see that the right side is the cdf of y, left side is cdf of x disjoint with the other part so you can add them by earlier definition\n\nAlso known\n\n$bb(P)\\(X = x\\)= F\\(x\\)- F\\(x -\\)$ this is us taking the left limit where\n\n$F\\(x -\\):= lim_(y arrow.tr x) F\\(y\\)= lim_(h arrow.br 0) F\\(x - h\\)$\n\nconsequences of this? If this $F\\(x\\)$ is left-continuous, it means that the limit is equal, which means this whole thing is equal to 0. However, it's not left-continuous, then $bb(P)\\(X = x\\)> 0$ strictly larger than 0. This looks like when the dot is on the right and the open circle is on the left. This is allowed, and it happens when $X$ is a discrete random variable. Binomial, Poisson, Geometric random variables are all discrete.\n\n==== Numerical\n<numerical>\nRoll a die, probability that number is smaller than five. (strictly less than on an exam)\n\n$bb(P)\\(X < 5\\)= bb(P)\\(X lt.eq 4\\)= F\\(4\\)= bb(P)\\({ X = 1 } union { X = 2 } union { X = 3 } union { X = 4 }\\)$\n\n$= bb(P)\\(X = 1\\)+ bb(P)\\(X = 2\\)+ bb(P)\\(X = 3\\)+ bb(P)\\(X = 4\\)$\n\n$= 1 / 6 + 1 / 6 + 1 / 6 + 1 / 6$\n\n$= 2 / 3$\n\nalternatively, I could do the same with 5 and 6 and use the 1 - property. Two random variables are independent if\n\n$bb(P)\\(X in A\\,Y in B\\)= bb(P)\\(X in A\\)times bb(P)\\(Y in B\\)$\n\nor put another way\n\n$= bb(P)\\({ X in A } inter { Y in B }\\)$\n\nIntuitively, this means that the outcome of $X$ does not affect the outcome of $Y$.\n\nFor any $x\\,y in bb(R)$, where $x\\,y$ are independent\n\n$bb(P)\\(X lt.eq x\\,Y lt.eq y\\)= bb(P)\\(X lt.eq x\\)times bb(P)\\(Y lt.eq y\\)$\n\nare mutually independent if\n\n$bb(P) (inter.big_(i = 1)^n { x_i in B_i }) = product_(i = 1)^n bb(P)\\(X_i in B_i\\)$\n\nThey are also pairwise independent in this case.\n\nFor an arbitrary family of random variables where we have some index set $I$ for $X_i$, they are mutually independent if every finite subfamily is independent. That means any finite subset of the indices will cause this to be the case. This is not very useful as a way to prove independence because there are so many cases to prove, this is just a definition.\n\nLet's say we roll a fair die twice and we have $X$ represent the maximum of both rolls. The first question we're interested in calculating the image of $Omega$ through $X$ and the distribution of $X$.\n\n$Omega = {omega = \\( j_1 \\, j_2 \\) \\, j_1 \\, j_2 in { 1 \\, 2 \\, 3 \\, 4 \\, 5 \\, 6 }}$\n\ntotal of 36 elements\n\nthe probability of observing any particular outcome is $1 / 36$ because it's fair. This $X$ is clearly a mapping from the sample space to the set of six numbers. If we calculate probabilities:\n\n$bb(P)\\(X = 1\\)= bb(P)_X\\(omega =\\(1\\,1\\)\\)= 1 / 36$\n\n$bb(P)\\(X = 2\\)= bb(P)_X\\(omega =\\(1\\,2\\)\\)+ bb(P)_X\\(omega =\\(2\\,1\\)\\)+ bb(P)_X\\(omega =\\(2\\,2\\)\\)= 3 / 36$\n\n$bb(P)\\(X = 3\\)= bb(P) (union.big_(k = 1)^3 { omega = \\( 3 \\, k } union union.big_(k = 1)^2 { omega = \\( k \\, 3 \\) }) = 5 / 36$\n\nThis is 3 then 2 because you don't want to double count the same number.\n\n$bb(P)\\(X = 4\\)= bb(P) (union.big_(k = 1)^4 { omega = \\( 4 \\, k } union union.big_(k = 1)^3 { omega = \\( k \\, 4 \\) }) = 7 / 36$\n\n$bb(P)\\(X = 5\\)= bb(P) (union.big_(k = 1)^5 { omega = \\( 5 \\, k } union union.big_(k = 1)^4 { omega = \\( k \\, 5 \\) }) = 9 / 36$\n\n$bb(P)\\(X = 6\\)= bb(P) (union.big_(k = 1)^6 { omega = \\( 6 \\, k } union union.big_(k = 1)^5 { omega = \\( k \\, 6 \\) }) = 11 / 36$\n\nNow let's get the cdf $F\\(X\\)$. Let's consider each instance of $F\\(b\\)= bb(P)\\(X lt.eq b\\)$\n\nObviously, this has to be 0 for less than 1 because that's not an outcome. For the rest of them, you add up the probabilities (because they're disjoint).\n\nAnother example.\n\nYou are given\n\n$bb(P)\\(0 lt.eq X lt.eq 1\\)= 8 / 12$\n\n$bb(P)\\(0 lt.eq X lt.eq 2\\)= 7 / 12$\n\n$bb(P)\\(0 lt.eq X lt.eq 3\\)= 10 / 12$\n\n$bb(P)\\(X = 3\\)= bb(P)\\(X gt.eq 4\\)$\n\nWe want to know the probability for up to 3.\n\nWe can solve for $bb(P)\\(X = 0\\)= 3 / 12$\n\nWe also want to show this inequality $X\\(omega\\)lt.eq Y\\(omega\\)\\,forall omega in Omega$\n\nYou want to show that $F_X\\(a\\)gt.eq F_Y\\(a\\)\\,a in bb(R)$\n\nHint: $F\\(X\\(a\\)= bb(P)\\(X lt.eq a\\)? bb(P)\\(y lt.eq a\\)= F_Y\\(a\\)$\n\nMore interesting example 3.4\n\ncdf\n\nyou have to find the conditions on a, b, c, d, that $F$ satisfies the properties of a cdf.\n\nWe have the property\n\n$lim_(x arrow.r oo) F\\(x\\)= 1 = d$\n\nBecause that's if $t gt.eq 3$.\n\na gives you the same solution of 0.","dataUrl":"https://sharifhsn.dev/api/posts/random-variables-and-cdfs.json","date":"2024-09-16","datePublished":"2024-09-16","description":"We can consider a mapping between all of the sets in the 𝜎 -algebra of one measurable space ( Ω , ℱ︀ ) to another sample space Ω 1 , where the mapping is measurable each set has…","site":"https://sharifhsn.dev","slug":"random-variables-and-cdfs","source":"FE-540 | Probability Theory","sourceUrl":null,"tags":["Probability Theory","Random Variables","CDFs"],"title":"Random Variables and CDFs","url":"https://sharifhsn.dev/blog/random-variables-and-cdfs/","version":"1","wordCount":2081}