Read sections 3.1 to 3.3 of the S manual and use this to do the following exercises. Include answers to all questions in your lab report.
for each of the values in p. Save these
values in a vector yp. Note that you can use a single
command in S applied to the vector p which will
operate on each entry of p and create a vector of the same
length, rather than finding each pth quantile separately.
for each
of the values in yp using the S function dexp.
Save these values in a vector fy.
using
each of the values in the vector yp. Save your answers in a
vector Fy.