T Test Vs Z Test. The dataset can be downloaded from here. Proportion problems are never t test problems always use z.
We can calculate the t statistics by the given formula. The difference from the z test is that we do not have the information on population variance here. We use the sample standard deviation instead of population standard deviation in this case.
T x1 x2 σ n1 σ n2.
The difference from the z test is that we do not have the information on population variance here. We perform a one sample t test when we want to compare a sample mean with the population mean. The t test is based on student s t distribution. We use the sample standard deviation instead of population standard deviation in this case.