Published on *Assisted Self-Help* (https://app.assistertselvhjelp.no)

Z-test is a statistical test where normal distribution is applied and is basically used for dealing with problems relating to large samples when n ≥ 30.

n = sample size

For example suppose a person wants to test if both tea & coffee are equally popular in a particular town. Then he can take a sample of size say 500 from the town out of which suppose 280 are tea drinkers. To test the hypothesis [3], he can use Z-test.

There are different types of Z-test [4] each for different purpose. Some of the popular types are outlined below:

*z test for single proportion*is used to test a hypothesis on a specific value of the population proportion.Statistically speaking, we test the null hypothesis [5] H

_{0}: p = p_{0}against the alternative hypothesis [6] H_{1}: p >< p_{0}where p is the population proportion and p_{0}is a specific value of the population proportion we would like to test for acceptance.The example on tea drinkers explained above requires this test. In that example, p

_{0}= 0.5. Notice that in this particular example, proportion refers to the proportion of tea drinkers.*z test for difference of proportions*is used to test the hypothesis that two populations have the same proportion.For example suppose one is interested to test if there is any significant difference in the habit of tea drinking between male and female citizens of a town. In such a situation, Z-test for difference of proportions can be applied.

One would have to obtain two independent samples from the town- one from males and the other from females and determine the proportion of tea drinkers in each sample in order to perform this test.

*z -test for single mean*is used to test a hypothesis on a specific value of the population mean [7].Statistically speaking, we test the null hypothesis H

_{0}: μ = μ_{0}against the alternative hypothesis H_{1}: μ >< μ_{0}where μ is the population mean and μ_{0}is a specific value of the population that we would like to test for acceptance.Unlike the t-test for single mean, this test is used if n ≥ 30 and population standard deviation [8] is known.

*z test for single variance*is used to test a hypothesis on a specific value of the population variance [9].Statistically speaking, we test the null hypothesis H

_{0}: σ = σ_{0}against H_{1}: σ >< σ_{0}where σ is the population mean and σ_{0}is a specific value of the population variance that we would like to test for acceptance.In other words, this test enables us to test if the given sample has been drawn from a population with specific variance σ

_{0}. Unlike the chi square test for single variance, this test is used if n ≥ 30.*Z-test for testing equality of variance*is used to test the hypothesis of equality of two population variances [9] when the sample size of each sample is 30 or larger.

Irrespective of the type of Z-test used it is assumed that the populations from which the samples are drawn are normal.

**Links**

[1] https://app.assistertselvhjelp.no/en/z-test
[2] https://app.assistertselvhjelp.no/en
[3] https://app.assistertselvhjelp.no/hypothesis-testing
[4] http://en.wikipedia.org/wiki/Z-test
[5] https://app.assistertselvhjelp.no/null-hypothesis
[6] https://app.assistertselvhjelp.no/research-hypothesis
[7] https://app.assistertselvhjelp.no/arithmetic-mean
[8] https://app.assistertselvhjelp.no/measurement-of-uncertainty-standard-deviation
[9] https://app.assistertselvhjelp.no/statistical-variance