MTH6991/MTH791U/MTH791P Computational Statistics with R

Problems for handing in
1. (30 marks)
This question uses a dataset on QMPlus, which is not the same as the dataset for the
previous three exercise sheets. For each student, there should be a file called “exer_xfffe_cise4 XYZ.txt”, where XYZ is your ID number (you need to be logged in to QMPlus).
If you cannot see a file, please send me an email.
Hand in: along with your answers, also include the graphs, but apart from that don’t
copy any R output. Within R, right-clicking on a graph gives the options of saving it
to disk or copying it (e.g. to paste into a Word document).
The dataset contains one column, called Please don’t copy and paste the code, type it in yourself. You will learn it better that way.
Additional problems
3) Without using R, just with pen and paper, calculate the histogram estimator f
H(y) of
the probability density function (pdf) using the following data:
0.5, 4.9, 6.5, 4.4, 7.5, 6.9, 1.2, 6.7, 5.8, 4.7
Use bins (intervals) with boundaries at 0, 2, 4, 6, 8.
So you would need to fill in the in the following:
f
H(y) =