A comparison of mathematical and statistical reasoning