SMS: Statistical quality control