UBC Economics Math Camps
The probability function \(\mathbb{P}[\cdot]\) satisfies:
| Distribution | Support | \({\mathbb{E}}[X]\) | \(\operatorname{Var}(X)\) |
|---|---|---|---|
| Bernoulli\((p)\) | \(\{0,1\}\) | \(p\) | \(p(1-p)\) |
| Binomial\((n,p)\) | \(\{0,1,\ldots,n\}\) | \(np\) | \(np(1-p)\) |
| Uniform\((a,b)\) | \([a,b]\) | \(\frac{a+b}{2}\) | \(\frac{(b-a)^2}{12}\) |
| \(\mathcal N(\mu,\sigma^2)\) | \(\mathbb R\) | \(\mu\) | \(\sigma^2\) |
| \(p(x_1,x_2)\) | \(X_2=1\) | \(X_2=2\) | \(X_2=3\) |
|---|---|---|---|
| \(X_1=1\) | 0.10 | 0.15 | 0.05 |
| \(X_1=2\) | 0.20 | 0.30 | 0.20 |
\[ \begin{aligned} \operatorname{Cov}(X_1,X_2) &= {\mathbb{E}}[(X_1-{\mathbb{E}}[X_1])(X_2-{\mathbb{E}}[X_2])] \\ &= \int_{-\infty}^\infty \int_{-\infty}^\infty (x_1-{\mathbb{E}}[X_1])(x_2-{\mathbb{E}}[X_2])f(x_1,x_2) dx_2 dx_1 \end{aligned} \]
| \(p(x,y)\) | \(Y=0\) | \(Y=1\) | \(Y=2\) |
|---|---|---|---|
| \(X=0\) | 0.10 | 0.20 | 0.10 |
| \(X=1\) | 0.05 | 0.25 | 0.30 |
Practice: Taking out what is known
Prove the “taking out what is known” property for discrete random variables: for any function \(g\), \[ {\mathbb{E}}[g(X)\,Y \mid X] = g(X)\,{\mathbb{E}}[Y \mid X]. \]
| \(p(x,y)\) | \(Y=0\) | \(Y=1\) | \(Y=2\) |
|---|---|---|---|
| \(X=0\) | 0.10 | 0.20 | 0.10 |
| \(X=1\) | 0.05 | 0.25 | 0.30 |
\[ \mathbb{P}[X \geq a] \leq \frac{{\mathbb{E}}[X]}{a} \]
\[ |{\mathbb{E}}[XY]| \leq \sqrt{{\mathbb{E}}[X^2] {\mathbb{E}}[Y^2]} \]
Practice: Prove the Cauchy–Schwarz inequality
Show that \(\big({\mathbb{E}}[XY]\big)^2 \leq {\mathbb{E}}[X^2]\,{\mathbb{E}}[Y^2]\) for random variables with finite second moments.
Hint: expand \({\mathbb{E}}[(X - tY)^2] \geq 0\) as a quadratic in \(t\) and use its discriminant.
Let \(X\) and \(Y\) be random variables with finite second moments. For any real number \(\lambda\), consider the non-negative expectation: \({\mathbb{E}}[(X + \lambda Y)^2] \geq 0\). Expanding, \({\mathbb{E}}[(X + \lambda Y)^2] = {\mathbb{E}}[X^2] + 2\lambda {\mathbb{E}}[XY] + \lambda^2 {\mathbb{E}}[Y^2]\). This quadratic in \(\lambda\) must be non-negative for all \(\lambda\), so its discriminant is non-positive: \((2{\mathbb{E}}[XY])^2 - 4{\mathbb{E}}[X^2]{\mathbb{E}}[Y^2] \leq 0\), so \(4({\mathbb{E}}[XY])^2 \leq 4{\mathbb{E}}[X^2]{\mathbb{E}}[Y^2]\), and thus \(|{\mathbb{E}}[XY]| \leq \sqrt{{\mathbb{E}}[X^2]{\mathbb{E}}[Y^2]}\).
\[ {\mathbb{E}}[\phi(X)] \geq \phi({\mathbb{E}}[X]) \]