Statistics and numerical methods