ST303      Half Unit
Stochastic Simulation

This information is for the 2019/20 session.

Teacher responsible

Daniela Escobar


This course is available on the BSc in Actuarial Science and BSc in Mathematics, Statistics, and Business. This course is not available as an outside option nor to General Course students.

Course capped at 60. 


Students must have completed:

EITHER Probability, Distribution Theory and Inference (ST202) OR Probability and Distribution Theory (ST206)

AND Stochastic Processes (ST302).

While the course ST306 is not a formal pre-requisite some examples from this course will be used. Students that have not taken ST306 might have to do a bit of extra reading to familiarise themselves with them.

Course content

An introduction to using R for stochastic simulation as well as methods of simulating random variables, complicated quantities involving several random variables and paths of stochastic processes. Applications will focus on examples from insurance and finance.


20 hours of lectures, 10 hours of computer workshops and 10 hours of help sessions in the LT.

  • Introduction to R with an emphasis on stochastic simulation.
  • Monte-Carlo integration.
  • Generating continuous random variables; inverse distribution function method.
  • Generating continuous random variables; acceptance rejection method.
  • Generating continuous random variables; sums of random variables.
  • Generating continuous random variables; other methods. Normal and Inverse Gaussian distributions.
  • Generating discrete random variables.
  • Generating the paths of stochastic processes; Insurance loss process; Brownian motion; Ornstein-Uhlenbeck process.
  • Various applications in insurance and finance.

There will be a Q&A session on practical issues in week 11. Week 6 to be used as a reading week

Formative coursework

Weekly exercises usually involving computing.

Indicative reading

  • Introducing Monte Carlo methods with R (main reference), by G. Robert and G. Casella.

Useful reading:

  • Stochastic Simulation, Algorithms and Analysis by S. Asmussen.
  • Monte Carlo Methods in Financial Engineering by P. Glasserman.


Exam (50%, duration: 2 hours) in the summer exam period.
Project (25%) in the LT.
Project (25%) in the ST.

Key facts

Department: Statistics

Total students 2018/19: 52

Average class size 2018/19: 26

Capped 2018/19: No

Value: Half Unit

Guidelines for interpreting course guide information

Personal development skills

  • Self-management
  • Team working
  • Problem solving
  • Application of information skills
  • Communication
  • Application of numeracy skills
  • Specialist skills