Pātuhitia tēnei: An introduction to state space time series analysis