SMS: Practical statistics for astronomers