Question: what is the difference between a two sample t-test and a two sample z-test?
Answer: Comparison of the means of two independent samples Take a sample S1 comprising n1 observations, of mean µ1 and variance s1². ... Student's t test if the true variance of the populations from which the samples are extracted is unknown; The z test if the true variance s² of the population is known.