6 The continuous random variable \(Y\) has probability density function given by
$$f ( y ) = \begin{cases} - \frac { 1 } { 4 } y & - 2 \leqslant y < 0
\frac { 1 } { 4 } y & 0 \leqslant y \leqslant 2
0 & \text { otherwise. } \end{cases}$$
Find
- the interquartile range of \(Y\),
- \(\operatorname { Var } ( Y )\),
- \(\mathrm { E } ( | Y | )\).