This is an outline of the topics we covered in class. These notes are not a substitute for your own note-taking. I highly recommend that you take your own notes during class. If you ever miss a class for any reason, reach out to another student in class to get a copy of their notes.
Here are the expected value and variance formulas for common distributions. Some of these, weβve shown justification for. Others requires techniques beyond the scope of the class to justify.
Question: the formula \(\Var(X) = \E\left[(X - \mu_X)^2\right]\) makes it clear that variance cannot be negative, since squares are nonnegative. What about \(\Cov(X, Y)\text{?}\)
In the previous example, since \(X, Y\) were both indicator random variables, the variances for each were simply equal to the sum of the second row/column. Similarly, \(\E(XY)\) was equal to the \(X = 1, Y = 1\) entry in the table. Using two indicator random variables, significantly simplifies the covariance calculation, so we can vary the table and recalculate covariance quickly. Consider the following joint distribution:
Question: how do we interpret \(\Cov(X, Y)\text{?}\)\(X - \mu_X\) is positive when \(X \gt \mu_X\) and negative when \(X \lt \mu_X\text{.}\)\(Y - \mu_Y\) is positive when \(Y \gt \mu_Y\) and negative when \(Y \lt \mu_Y\text{.}\) So the product \((X - \mu_X)(Y - \mu_Y)\) is positive when \(X, Y\) are both larger or both smaller than their expected values, and negative when one is larger and one is smaller. That is, covariance tries to quantify the tendency of \(X, Y\) to get big/small at the same time.