Pātuhitia tēnei: Dynamic regression: theory and algorithms