What is Z-Test? | Definition, Statistics, Calculation vs Examples

Z-test is a statistical tool used to determine whether the means of two distributions vary even with known variances and large sample sizes.

It is a form of hypothesis test used to decide whether to accept a null hypothesis. As a statistical test, it is univariate, and the test statistic result is expected to follow a standard normal distribution.

It is employed only when there are a known standard deviation and a large sample size (n>30).

Key Takeaways

  1. A Z-test is a statistical test used to determine whether two sample means are significantly different from each other.
  2. Z-test assumes that the population standard deviation is known and the sample size is large.
  3. Z-test is commonly used in hypothesis testing, quality control, and market research.

What are Z-scores?

Z-scores or Z-statistics represent how much the test statistic results have deviated above or below the mean distribution.

For example, a Z-score of +1.45 signifies that the test statistic result is 1.45 standard deviations above the mean. In contrast, a Z-score of -1.45 implies that the observation has deviated 1.45 below the mean population.

When should a Z-test be conducted?

The following conditions should prevail to perform a Z-test.

  1. The sample size must be more than 30.
  2. The sample data should always be random. Otherwise, the test statistic results may turn out to be inaccurate.
  3. The data points must not be similar. Besides that, they must not overlap with each other.
  4. The data must reflect a standard normal distribution.
  5. The standard deviation of the population has to be known.
  6. If the population standard deviation is unknown, it should be assumed that the sample variance equals the population variance.
Also Read:  Antique vs Vintage: Difference and Comparison

However, if the distribution variation is unknown and the sample data is below 30, a T-test will prove to be more suitable than a Z-test.

How to conduct a Z-test?

The following steps should be followed to conduct a Z-test:

  1. First, the null (H0) and the alternative hypothesis must be stated.
  2. Now, select the alpha level.
  3. The Z table has to be employed to define the criticality of Z.
  4. Now, the Z state statistic has to be calculated.
  5. Once the test statistic result is obtained, compare it with the critical value z. 
  6. The comparison will determine whether the null hypotheses (H0) can be accepted.

Z-test Calculation

The following formula can be employed to compute a Z-test:

Z- test = (x̄ – μ) / (σ / √n)

where, 

  •  = Sample Mean
  • μ = Population Mean
  • σ = Standard Deviation of Population
  • n = Number of Observation

Example

Suppose the IQ score of a particular class is 113. The mean IQ of India is 100, with a standard deviation of 15. Is the intelligence quotient of this class significantly above the mean IQ?

Tests that can be employed as Z-tests

The following are some significant tests that one can consider running as Z-tests:

  1. One-sample location test.
  2. Two-sample location test.
  3. Paired difference test.
  4. Maximum likelihood estimate.

Advantages of Z-test

The following are some significant advantages of the Z-test.

  1. It is a straightforward and reliable test.
  2. A Z-score can be used to compare raw scores obtained from different tests.
  3. While comparing a set of raw scores, the Z-score considers both the average value and the variability of those scores.
Also Read:  Ball Pen vs Roller Pen: Difference and Comparison

Disadvantages of Z-test

Despite its various advantages, the Z-test suffers from some significant limitations:

  1. Z-test requires a known standard deviation which is not always possible.
  2. It cannot be conducted with a smaller sample size (less than 30).
References
  1. https://onlinelibrary.wiley.com/doi/abs/10.1111/j.1420-9101.2011.02297.x
  2. https://onlinelibrary.wiley.com/doi/abs/10.1111/j.1420-9101.2010.02226.x

Last Updated : 11 June, 2023

dot 1
One request?

I’ve put so much effort writing this blog post to provide value to you. It’ll be very helpful for me, if you consider sharing it on social media or with your friends/family. SHARING IS ♥️

20 thoughts on “What is Z-Test? | Definition, Statistics, Calculation vs Examples”

  1. The article is insightful and meticulously structured, enhancing understanding of Z-tests and their significance in statistical analysis.

    Reply
  2. The detailed explanations accompanied by examples in this article are immensely beneficial in grasping the complexities of Z-tests.

    Reply
  3. The article provides an in-depth explanation of Z-scores and outlines the advantages, disadvantages, and calculation methodology. It serves as an excellent resource.

    Reply
  4. This article is a commendable resource for enhancing the understanding of Z-tests, adding value to academic and practical applications.

    Reply
  5. The comprehensive breakdown of Z-test conditions and methodology is highly enlightening. It is an excellent article that enhances statistical knowledge.

    Reply
    • Absolutely, the article succeeds in delivering a meticulous explanation of Z-tests, catering to varying degrees of statistical knowledge.

      Reply
  6. The tone of the article is explanatory and enlightening. It’s an excellent guide for understanding Z-tests with practical examples.

    Reply
  7. The article is a comprehensive guide providing an in-depth understanding of Z-tests, from the prerequisites to the practical application. It’s a valuable scholarly contribution.

    Reply
  8. This article covers the Z-test concept lucidly, making it a valuable source for academic and research-related purposes.

    Reply
  9. The Z-test article is thorough and replete with relevant content. It’s commendable that the article emphasizes the need for a large sample size and the condition of known standard deviation.

    Reply

Leave a Comment

Want to save this article for later? Click the heart in the bottom right corner to save to your own articles box!