Text this: Optimal statistical decisions