

The t and z tests are known as parametric because the assumption is made that the samples are normally distributed. A distinction is made between independent samples or paired samples.

The calculation method differs according to the nature of the samples. These two tests are used to compare the means of two samples, in other words, they allow us to test the null hypothesis of equality of the means of two groups (samples).

The Z-test and Student's t-test are used to determine the significance level of a set of data. Hypothesis testing is an important concept in statistics. These methods are widely used when it comes to inferential statistics and enable to test a general hypothesis called the null hypothesis. Two-sample t-test and z-test are popular parametric tests in statistics.
