Question: what is the difference between chi square and z test?
Answer: It is identical to the chi square test, except that we estimate the standard normal deviate (z). The square of the test statistic (z2) is identical to the Pearson's chi square statistic X2. It is sometimes preferred to the chi square test if the interest is in the size of the difference between the two proportions.