Anfonwch hwn fel neges destun: Statistical quality control: a loss minimization approach