Question: why z test is used?
Answer: A z-test is a statistical test to determine whether two population means are different when the variances are known and the sample size is large. It can be used to test hypotheses in which the z-test follows a normal distribution. ... Also, t-tests assume the standard deviation is unknown, while z-tests assume it is known.