About this tutorial

This tutorial is written for students on MAS109 and MAS5052.

  • Part I covers the basics of working with R, and will be needed throughout both modules.

  • Part II gives an illustration of using R to do simulation (the “Monte Carlo” method). You will not be required to implement simulation yourself on either module, but some simulation ideas are used in later lectures on hypothesis testing; this illustration will help with those.

  • Part III gives a short introduction to R Markdown - this will be needed for practical assignments.

  • Part IV has some extra topics: you will need to study Section 14 on Probability Distributions. Sections 15 and 16 are optional for both modules, but you may find these helpful.