๐Ÿ“Šap statistics review

Z-test

Written by the Fiveable Content Team โ€ข Last updated August 2025
Verified for the 2027 exam
Verified for the 2027 examโ€ขWritten by the Fiveable Content Team โ€ข Last updated August 2025

Definition

A z-test is a statistical method used to determine if there is a significant difference between the means of two groups, or between a sample mean and a known population mean, assuming that the data follows a normal distribution. It uses the standard normal distribution to calculate the z-score, which indicates how many standard deviations an element is from the mean. This method is commonly used when the sample size is large or the population standard deviation is known.

AP course connection

Topic z0apqFJr_jecqCvDwUQaw: Unit 7 Overview: Means

Unit kieImJKumIjyX99J

5 Must Know Facts For Your Next Test

  1. A z-test can be used for one-sample tests, two-sample tests, and proportion tests, each assessing different hypotheses.
  2. The formula for calculating the z-score in a one-sample z-test is given by $$z = \frac{\bar{x} - \mu}{\sigma/\sqrt{n}}$$, where $$\bar{x}$$ is the sample mean, $$\mu$$ is the population mean, $$\sigma$$ is the population standard deviation, and $$n$$ is the sample size.
  3. The critical z-values are determined by the significance level (commonly 0.05), which defines the cutoff for rejecting the null hypothesis.
  4. When conducting a z-test, it is crucial to ensure that the sample size is sufficiently large (typically n > 30) or that the population standard deviation is known.
  5. If the calculated z-score exceeds the critical z-value in either direction for a two-tailed test, you reject the null hypothesis in favor of the alternative hypothesis.

Review Questions

  • How does a z-test differ from other hypothesis tests, such as t-tests?
    • A z-test differs from t-tests primarily in terms of assumptions about the data and sample size. Z-tests are appropriate when dealing with large samples or when the population standard deviation is known. In contrast, t-tests are used for smaller samples or when the population standard deviation is unknown. While both tests aim to determine if there is a significant difference between means, they rely on different distributions and have different formulas for calculating test statistics.
  • Discuss how to interpret the results of a z-test including p-values and critical values.
    • Interpreting results from a z-test involves comparing the calculated z-score against critical z-values based on your chosen significance level. If the z-score falls beyond the critical value range (e.g., +/-1.96 for a 0.05 significance level), you reject the null hypothesis. Additionally, calculating a p-value allows you to quantify the strength of evidence against the null hypothesis; if the p-value is less than your significance level (e.g., 0.05), it also indicates statistical significance.
  • Evaluate how improper application of a z-test can lead to incorrect conclusions in statistical analysis.
    • Improper application of a z-test can lead to incorrect conclusions by violating underlying assumptions like normality and knowing population parameters. For instance, using a z-test with small sample sizes without confirming that data comes from a normal distribution can result in misleading p-values and erroneous rejection of null hypotheses. Additionally, applying z-tests when population standard deviations are unknown can misrepresent variability in sample data, skewing results and potentially leading to poor decision-making based on flawed statistical evidence.
2,589 studying โ†’