Pātuhitia tēnei: Introduction to simulation and risk analysis