Pātuhitia tēnei: Modeling and analysis of stochastic systems