# Number of significant figures to report for a confidence interval

I'm a TA in stat for med students and when discussing confidence intervals together with the one-sample t-test, I got doubts on the decimals that should be retained. Specifically, we tested a data set of the body height of 3400 people against the null hypothesis of the average being equal to 170 cm. R gave a sample mean of 172.3974 with a confidence interval from 172.0846 to 172.7102. Sample SD was 9.8, the input heights were given in whole numbers.

A participant noted that giving seven significant figures would equal faking precision. I agree, but with such a narrow CI, should it really only be three like in the input data?

Random generation of 3400 body heights up to microns with the same mean and SD indicated that the first five significant figures of the upper and lower bound remained the same after cropping the four simulated decimals.

What's more, if both bounds of the interval rounded to the same integer, as could easily have been the case, the CI would be a single number.

• Why do you have an arbitrary null hypothesis about the mean height? Is it a hypothesis made up in order to be able to use a hypothesis test? If so then consider whether you really need to test a hypothesis. Most likely the estimation provided by the confidence interval is all that you will need. – Michael Lew Jan 13 '18 at 20:40
• The hypothesis was made up to demonstrate the relationship between p values and confidence intervals, and a point was made that the latter are at times more intuitive. Pedagogically it would certainly be preferable to replace it with an H0 that corresponds to some actual prior belief in the future, but the same question could still arise. – bolzep Jan 14 '18 at 12:19