Code for the model used in the paper "Does natural rate variation matter? Evidence from New Zealand", Reserve Bank of New Zealand Discussion Paper DP2008/17. This model estimates unobservable trends using a state-space model and the Kalman filter. It uses the IRIS toolbox (included) to estimate and filter the model.