Other contributors have said "Compare and contrast z-test and t-test?" is the same question as "What is the difference between t test and z test in hypothesis testing?" If you believe that these are not asking the same thing and should be answered differently, click here

What is the difference between t test and z test in hypothesis testing?

Answer:
It depends on the population.
Use t-test for a small population, N < 30; otherwiase, apply z-test or when N>=30.
First answer by ID2036456907. Last edit by Easy0212. Contributor trust: 1 [recommend contributor recommended]. Question popularity: 1 [recommend question].