Question: what is the difference between a z test and a t test?
Answer: A z-test compares a sample to a defined population and is typically used for dealing with problems relating to large samples (n > 30). ... In other words, a t-test asks whether a difference between the means of two groups is unlikely to have occurred because of random chance.