Pātuhitia tēnei: Statistical theory with engineering applications