2024-11-11
How do we calculate expected values of discrete RVs?
For discrete RVs: weight average \[\mathbb{E}[X] = \sum_{i=1}^n x_ip_X(x_i).\]
How do we calculate expected values of continuous RVs?
For continuous RVs:
Example 1
Let \(f_X(x)= \frac{1}{b-a}\), for \(a \leq x \leq b\). Find \(\mathbb{E}[X]\).
Example 2
Let \(f_X(x)= \lambda e^{-\lambda x}\), for \(x > 0\) and \(\lambda> 0\). Find \(\mathbb{E}[X]\).
Integrating by Parts
\(\displaystyle\int_a^b u dv = uv\bigg|^b_a - \displaystyle\int_a^b vdu\)
Chapter 28 Slides