Need a help with solving Statistics problem in R

Job ID: 32139647

Budget: $30 – $250 USD

I need help with solving Statistics problems in R. Please see attached file for more details.

The results of the work should be two files: one pdf file with a report containing a brief explanation of the code and the file including the R-code.

The program should begin with rm(list=ls()). Please, use comments in the R-code to identify which question each part of the R-code belongs to. Also, please, try to add some comments to explain important parts of the code. The report can be written in your choice of a text editor and converted to pdf. Please, cite the sources you use. Thanks!