SMS: Statistical quality control methods