There are dozens of continuous probability distributions like Gaussian (normal), Variance-gamma, Holtsmark, etc. Yet, the concept of the Null hypothesis is basically associated with Student's t-distribution. Any idea why. Tanks
-
1$\begingroup$ what do you mean by "basically associated?" Are you asking why the t distribution appears to be the most common null distribution in hypothesis testing? The answer might be opinion-based. $\endgroup$– TaylorCommented Jun 10, 2019 at 23:28
-
$\begingroup$ Yes, I am wondering why t-test is the most used to study the hypothesis test. $\endgroup$– KernelCommented Jun 10, 2019 at 23:52
-
13$\begingroup$ It isn't. Since hypothesis testing is taught immediately after the t-test in Stats 101, it is usually the first time the "null hypothesis" is taught. And for more than a few people it is also the last time they see it. $\endgroup$– Peter LeopoldCommented Jun 11, 2019 at 2:04
5 Answers
There are a dozen of continues probability distributions
There are an infinite number of continuous probability distributions. The ones that have been discussed enough to be named and included in the space of a couple of pages are nevertheless sufficient to fill numerous books (and indeed they do - see, for example, the many books by Johnson, Kotz and other co-authors).
Yet, the concept of the Null hypothesis is basically associated with Student's t-distribution.
This is not the case. If you take a look at either the writing of Neyman and Pearson or that of Fisher on hypothesis testing (the two main approaches to hypothesis testing), the t-distribution is not a necessary nor in any way a major part of either.
Neither is it "the most used to study the hypothesis test" (if you're studying the theory of hypothesis testing you might well only look at it in passing - perhaps as part of one chapter, for example), but it is one of the first examples of hypothesis tests many students learn about.
There are hundreds of hypothesis tests that are used (at least; more probably well into the thousands) and new ones are easy enough to construct. Some situations you may have heard of include: testing independence in contingency tables, testing multinomial goodness of fit, testing equality of means in one way analysis of variance, testing equality of variance, rank based tests of location, or omnibus tests of distributional goodness of fit. None of these are likely to involve t-distributions (and there are many, many more that you probably haven't heard of).
I'd have said the chi-squared distribution and the normal distribution are much more fundamental to hypothesis testing (in particular, as approximations in large samples), but even there, hypothesis tests would still exist even if they didn't come into it at all.
If you look at the Neyman-Pearson lemma, at Fisher exact tests/permutation/randomization testing, and at bootstrap tests, you might instead wonder if the t-distribution would really come up all that much.
Now a substantial subset of tests that are done in applications do involve the t-distribution, but that's in no way an essential property of null hypotheses.
It occurs for a pretty simple reason - it comes up when dealing with inference (tests and intervals) about sample means of normally distributed population quantities (and some other circumstances) under the case where the population variance is unknown.
Consequently the t-distribution (through one-sample/paired t-tests, two sample t-tests, tests of single regression coefficients, and tests of 0 correlation) may be the bulk of your exposure to hypothesis tests but that's not an overwhelming fraction of hypothesis testing more generally.
...the concept of the null hypothesis is basically associated with Student's t-distribution.
Not really. The null hypothesis is associated with a corresponding null distribution, which varies depending on the model and test statistic. In classical hypothesis tests for unknown linear coefficients or mean values, one generally uses a test statistic that is some kind of studentised mean estimator, and this leads to a null distribution which is the Student's T distribution. In other tests, one obtains a different null distribution. It seems that you are associating the two concepts more strongly than they are actually associated, and then wondering why this is.
When we want to test a hypothesis, we need a test statistic with a known probability distribution. This usually involves standardisation of the data. For example, if we collect a random sample $X_1, \dots, X_n$ with mean $\mu$ and variance $\sigma^2$, and the data is assumed to be normally distributed. Then we would standardise it as
$$Z_n = \frac{\bar{X}_n-\mu}{\sigma/\sqrt{n}}$$
$Z_n$ has a standard normal $N(0,1)$ distribution, and so it's values can be used to test whether our hypothesised mean $\mu$ is true. Even if the data is not normal, the central limit theorem says that it will be asymptotically provided the variance exists (ie. $EX^2 < \infty$).
The problem is that while we are normally interested in the mean $\mu$, the variance $\sigma^2$ is also unknown. This is called a nuisance parameter. Thus we need to approximate $Z_n$ by substituting in an estimate for $\sigma^2$, which is the sample variance
$$s^2 = \frac{1}{n-1}\sum_{i=1}^n (X_i - \bar{X}_n)^2$$
But in doing so we have a new test statistic
$$T_n = \frac{\bar{X}_n-\mu_0}{s/\sqrt{n}}$$
This turns out to have $t$ distribution with $n-1$ degrees of freedom if the null hypothesis is true (ie. if the true mean is used). Thus, even though $\sigma^2$ is unknown, we have obtained a test statistic with a well known distribution for which to make inferences.
The reason it follows a $t$ distribution is that the above can be expressed as a normal random variable divided by the square root of an independent chisquared random variable, which gives a $t$ distribution.
-
$\begingroup$ Thanks for your answer. I am trying to digest the answer, Could you give me a quick example? $\endgroup$– KernelCommented Jun 10, 2019 at 23:53
It isn't, but it would probably seem so to a non-statistician who is just learning it while trying to do some basic inference in the context of a science class or something like that. Because the sorts of things in science experiments you want to do inference/hyp testing on have the characteristics of a t-test: the variance is not known, the samples are small, and you are dealing with something that is continuous in nature. A stats student will almost certainly be introduced to a z-test first, through population proportion testing.
The trick is to realize that the transition from z to t test for population mean inference and hypothesis testing comes from the addition of another parameter that needs to be estimated -- the variance -- and in the vast majority of situations you'll encounter the population variance is not known.
I would guess most people who associate hypothesis testing with the T test do so because it's by far the most common one encountered in the sciences and humanities, at least at the lower levels.
Yet, the concept of the Null hypothesis is basically associated with Student's t-distribution
No, actually it isn't. What gives you that impressions is null hypothesis and student's t-distribution being taught together because a simple 1 sample t test is simple and easy. But the truth is that there are many other sampling distribution besides t-distribution for a given set of assumptions.Whereas the null hypothesis is associated with a corresponding null distribution based on your assumptions and test statistic.
-
$\begingroup$ OK, but hard to see that this adds anything to other answers or is better explained, $\endgroup$– Nick CoxCommented Apr 4, 2020 at 8:48