Hypothesis tests are a set of techniques to allow us to test characteristics of a population using data from a sample of this population.
Every hypothesis test involves the calculation of a test statistic.
This test statistic is compared to a sampling distribution, derived under the assumption that the null hypothesis is true.
This is done by either finding a critical value or a -value.
If the test statistic is sufficiently extreme relative to the sampling distribution, we conclude that the null hypothesis cannot be true.
The one-sample -test allows us to test whether or not the population mean is equal to a pre-specified value. The test statistic
is compared to the -distribution.
Two sample -tests allow us to compare the means of two populations. We first need to determine whether the data are
Paired (matched by a secondary variable)
Unpaired.
For unpaired data, first calculate the pooled sample variance,
and then the test statistic
For paired data, first calculate the differences and then compare the mean of these differences to zero using the test statistic,