Table of Contents |
A z-test for population means is a type of hypothesis test that compares a hypothesized mean from the null hypothesis to a sample mean. This can be used with quantitative data and when the population standard deviation is known.
This type of z-test is not done often because it is unlikely that we would know the population standard deviation without knowing the population mean.
When calculating a z-test for population means, you need the following information:
IN CONTEXT
The average weight of newborn babies is 7.2 pounds, with a standard deviation of 1.1 pounds. A local hospital has recorded the weights of all 285 babies born in a month, and the average weight was 6.9 pounds.
Find the z-test statistic for this data set.
We know the average weight is 7.2 pounds, with a standard deviation of 1.1 pounds. Because we know the population standard deviation and it is quantitative data, we can use the normal distribution and find a z-score. We also know the average weight was 6.9 pounds. We can plug this information into the following formula to calculate our z-test statistic:
We have 6.9, which is our sample mean, minus the population mean of 7.2, divided by the population standard deviation, 1.1, divided by the square root of our sample size, 285. This gives us a z-test statistic of negative 4.604. We should expect to get a negative z-score because our sample mean was less than the population mean.
If we were to put this on a normal distribution, it's centered at the population mean, which is 7.2 pounds. The average weight of the babies at the hospital was 6.9, which is less than 7.2 pounds, so it should fall in the lower part of our distribution.
The corresponding z-score is all the way down at the negative 4.604. At this hospital, the average weight of the babies was definitely far below the average weights of the babies of the population.
There are four parts to running any hypothesis test. This is regardless of the type of tests that you use.
EXAMPLE
Consider the following problem:48.2 | 48.4 | 47.0 | 47.3 | 47.9 | 48.5 | 49.0 |
48.3 | 48.0 | 47.9 | 48.7 | 48.8 | 47.4 | 47.6 |
Let's walk through each of the steps of running a hypothesis test with our M&M's example.
Criteria | Description |
---|---|
Randomness |
How were the data collected? The randomness should be stated somewhere in the problem. Think about the way the data was collected. |
Independence |
Population ≥ 10n You want to make sure that the population is at least 10 times as large as the sample size. This was your workaround for independence. If the population is sufficiently large, then taking out the number of bags that you took doesn't make a huge difference. |
Normality |
n ≥ 30 or normal parent distribution There are two ways to verify normality. Either the parent distribution has to be normal or the central limit theorem is going to have to apply. The central limit theorem says that for most distributions, when the sample size is greater than 30, the sampling distribution will be approximately normal. |
z | 0.00 | 0.01 | 0.02 | 0.03 | 0.04 | 0.05 | 0.06 | 0.07 | 0.08 | 0.09 |
---|---|---|---|---|---|---|---|---|---|---|
-3.4 | 0.0003 | 0.0003 | 0.0003 | 0.0003 | 0.0003 | 0.0003 | 0.0003 | 0.0003 | 0.0003 | 0.0002 |
-3.3 | 0.0005 | 0.0005 | 0.0005 | 0.0004 | 0.0004 | 0.0004 | 0.0004 | 0.0004 | 0.0004 | 0.0003 |
-3.2 | 0.0007 | 0.0007 | 0.0006 | 0.0006 | 0.0006 | 0.0006 | 0.0006 | 0.0005 | 0.0005 | 0.0005 |
-3.1 | 0.0010 | 0.0009 | 0.0009 | 0.0009 | 0.0008 | 0.0008 | 0.0008 | 0.0008 | 0.0007 | 0.0007 |
-3.0 | 0.0013 | 0.0013 | 0.0013 | 0.0012 | 0.0012 | 0.0011 | 0.0011 | 0.0011 | 0.0010 | 0.0010 |
-2.9 | 0.0019 | 0.0018 | 0.0017 | 0.0017 | 0.0016 | 0.0016 | 0.0015 | 0.0015 | 0.0014 | 0.0014 |
-2.8 | 0.0026 | 0.0025 | 0.0024 | 0.0023 | 0.0023 | 0.0022 | 0.0021 | 0.0021 | 0.0020 | 0.0019 |
-2.7 | 0.0035 | 0.0034 | 0.0033 | 0.0032 | 0.0031 | 0.0030 | 0.0029 | 0.0028 | 0.0027 | 0.0026 |
-2.6 | 0.0047 | 0.0045 | 0.0044 | 0.0043 | 0.0041 | 0.0040 | 0.0039 | 0.0038 | 0.0037 | 0.0036 |
-2.5 | 0.0062 | 0.0060 | 0.0059 | 0.0057 | 0.0055 | 0.0054 | 0.0052 | 0.0051 | 0.0049 | 0.0048 |
Source: THIS TUTORIAL WAS AUTHORED BY JONATHAN OSTERS FOR SOPHIA LEARNING. PLEASE SEE OUR TERMS OF USE.