SMS: Optimal statistical decisions