Programming on statistics