R exercises are sprinkled throughout the textbook. A few short ones from sections 1.5 and 1.6 are provided below.
1.5.8: This exercise asks us to plot the random variable X with CDF:
$$ F(x) = \begin{cases} 0, & x \lt -1 \\ \frac{x+2}{4}, & -1 \le x \lt 1 \\ 1, & 1 \le x \end{cases} $$
[Read More]