4

I have a set of 1000 data points. I would like to estimate their mean using a confidence interval. I read somewhere that if the sample size, $n$, is bigger than 30 you should use a t-score, and else use a z-score.

Is that true?

  • 1
    Kind of backwards. Use $z$-score when sample size $n$ is reasonably large, and the $t$-distribution with appropriate degrees of freedom when $n$ is smallish. – André Nicolas Jul 05 '15 at 21:52

2 Answers2

3

Usually you use a t-test when you do not know the population standard deviation $\sigma$, and you use the standard error instead. You usually use the z-test when you do know the population standard deviation. Although it is true that the central limit theorem kicks in at around $n=30$. I think that formally, the convergence in distribution of a sequence of $t's$ to a normal is pretty good when $n>30$.

Gary.
  • 2,432
1

If you don't know the variance of the population, then you should formally always use the $t$-distribution. If you do know the population variance, you can use the standard normal distribution.

However, as $n \to \infty$, the $t$-distribution becomes the same as the standard normal distribution. Even for relatively small samples, the distributions are virtually the same. Therefore, it is common to approximate the $t$-distribution using the normal distribution for sufficiently large samples (e.g. $n>30$ as you indicate).

molarmass
  • 2,014
  • 13
  • 16