4.3 Introduction to Significance Testing
Section Overview
- Gallery 4.2.1 - 1 & 2 sided tests for 1 Prop.
- Example 4.2.1
- Gallery 4.2.2 - 1 Samp. z-test on Calc
- Interactive 4.2.1 - Example 4.2.1
- Pop Quiz 4.2.1
Confidence Intervals vs Significance Tests
The second type of statistical inference we’ll be covering in this chapter is significance testing. Confidence interval and significance tests are similar in a few ways, such as needing similar conditions in order to conduct the inference technique as shown in Chapter 4.1. Whereas the purpose of the confidence interval is to estimate the population parameter based on a random sample, the purpose of the significance test is to assess the probability that a claim made about the population parameter is true based on a random sample. As we will learn in the coming sections, these two techniques complement one another very nicely.
Stating Hypotheses
The first thing we do when performing a significance test is to state a claim that we try to find evidence against. This claim is also known as the null hypothesis. It is usually a statement of “no difference” and is abbreviated as .
When we try to find evidence against the null hypothesis, we represent this with the alternative hypothesis. It claims that the null hypothesis is incorrect – that the population parameter in question is different than what is claimed in the null hypothesis and is abbreviated as .
When we say in the alternative hypothesis that the population parameter is different than what is stated by the null hypothesis, we can express this is three different ways. We can either say that the true population parameter is:
- Less than the population parameter stated by the null hypothesis,
- Greater than the population parameter stated by the null hypothesis, or
- Less than or greater than the population parameter stated by the null hypothesis
The first two are used in one-sided tests and the last one is used in two-sided tests.
Test Statistics
It is difficult to understand one and two-sided tests without first understanding what a test statistic is. A test statistic uses the data acquired from taking a random sample and, much like the z-score, comes up with a value that has a corresponding probability called the p-value. One-sided tests are only concerned about the corresponding probabilities in only one of the tails of the distribution, while two-sided tests are concerned about both tails. In this section, we will be covering the test statistic that comes from conducting the one-sample z test for the sample proportion. This test statistic is called the z-statistic and is found as follows:
Gallery 4.2.1 combines what we’ve learned so far about one and two-sided tests and test statistics. The one and two-sided tests being represented are for the sample proportion.
Gallery 4.3.1 One and Two-sided Significance Tests for One Proportion
Frame 1 of 3
A possible one-sided test where the area to the right of the z-statistic is the p-value. Open full-size image S0373Frame 2 of 3
A possible one-sided test where the area to the left of the z-statistic is the p-value. Open full-size image S0374Frame 3 of 3
The two-sided test where the areas to the left and right of the absolute value of the z-statistic are the p-value. Open full-size image S0375
Capture provenance
Filename capture times, with no recorded timezone. Frames above follow the original gallery positions.
- · S0373 · displayed frame 1
Screenshot 2026-10-05 at 4.02.27 PM.png - · S0374 · displayed frame 2
Screenshot 2026-10-05 at 4.02.32 PM.png - · S0375 · displayed frame 3
Screenshot 2026-10-05 at 4.02.35 PM.png
Captured alternative hypotheses in frame order:
The two-sided plot marks and .
Statistical Significance
We can compare the p-value we calculated with the the value of , also called the significance level. This value serves as the threshold to which the p-value is compared to. If the p-value is as small or smaller than , we say that the data is statistically significant at level . For instance, if the p-value for a significance test is 0.021, we can reject the null hypothesis if , but fail to reject it if . Similar to what we learned in Chapter 4.1, three of the most common significance levels are , , and .
The significance level we choose depends on the situation. For instance, if a pharmaceutical company wanted to assert that a treatment that it spent billions of dollars in research and development on was more effective than a placebo, the company might want to use a smaller value of to more effectively prove its effectiveness.
We’ve talked a bit about the mechanics of the p-value, but what is it exactly? It’s the probability that we would come up with a value at least as extreme as the one we obtained in our sample if the null hypothesis were true. The smaller the p-value, the less believable it is that the null hypothesis is actually true.
Example 4.2.1
Recorded answer to Example 4.2.1
Before starting the problem, we want to make sure that the three conditions for a e are met: Random, Normal, and Independent.
However, since we proved that the one-sample z interval in Example 4.1.1 met all three conditions, we can omit this step.
Since we want to know if the proportion of satisfied customers is different than 0.90 (not exclusively greater than or less than), we use a two-sided test:
Using the formula for the one-sample z-test, we get:
Refer to Gallery 4.2.2 for how to perform these steps on your calculator. Note that the value from the calculator () will be slightly different than the value we derived manually (). Due to the relative ease of use of the calculator, we will use , which corresponds to a p-value of
Since the p-value is much smaller than the significance level (), we can reject the null hypothesis and conclude that the odds of getting a sample where the customer satisfaction rate is 87% when the true satisfaction rate is actually 90% are astronomically low. It would be highly unethical if Will it Mend? decided to round their satisfaction rate up to 90%, given the evidence against this claim.
Our decision to reject the null hypothesis is also supported by the confidence intervals that we calculated in Example 4.1.1. None of them contain the population parameter . We will further explore this relationship in the sections to come.
Gallery 4.3.2 Example 4.2.1 (One-sample z Test on TI 83/84)
Frame 1 of 3
Press the STAT button, go to TESTS, choose “1-PropZTest” and press ENTER Open full-size image S0377Frame 2 of 3
Fill in the proportion stated by the null hypothesis, the number of successes, the sample size, and the type of one or two-sided test and hit “Calculate” Open full-size image S0378Frame 3 of 3
You will be taken back to the main screen and the z-statistic and p-value will be shown. Open full-size image S0379
Capture provenance
Filename capture times, with no recorded timezone. Frames above follow the original gallery positions.
- · S0377 · displayed frame 1
Screenshot 2026-10-05 at 4.02.38 PM.png - · S0378 · displayed frame 2
Screenshot 2026-10-05 at 4.02.43 PM.png - · S0379 · displayed frame 3
Screenshot 2026-10-05 at 4.02.47 PM.png
| Screen | Field | Captured value |
|---|---|---|
| Input | 0.9 | |
| Input | 1337 | |
| Input | 1537 | |
| Input | Selected alternative | |
| Result | −3.936613727 | |
| Result | p-value | |
| Result | 0.8698763826 | |
| Result | 1537 |
Interactive 4.3.1 Example 4.2.1
Captured labels: Probability; z-statistic of Interest; p-value of interest; .
Pop Quiz 4.3.1
Glossary and deeper reading · 10 refreshers
These editorial refreshers supplement the reading. Definitions and examples are added guidance; original source wording and recorded answers remain in their original context.
-
Statistical inference
Statistical inference uses data and a study design to draw conclusions beyond the observed values. Random sampling supports population generalization, while well-conducted random assignment supports treatment-effect conclusions. For example, a random sample can estimate a school-wide preference without surveying every student.
Read more: Statistical inference in the captured Statistics reading →
-
Confidence interval
A confidence interval is a data-based range produced by a method with a specified long-run coverage rate for a population parameter. For a fixed population, the calculated interval either contains the parameter or it does not; the confidence level describes the method over repeated samples. For example, a 95% method captures the true parameter in about 95% of repeated intervals when its assumptions hold.
Read more: Confidence interval in the captured Statistics reading →
-
Null hypothesis
A null hypothesis specifies the reference claim or model used to calculate a test’s probabilities. It commonly states no population difference or a particular parameter value. For example, a null hypothesis can state that the population mean travel time equals 15 minutes.
-
Alternative hypothesis
An alternative hypothesis specifies the population difference or direction for which a test seeks evidence. It should be chosen from the research question before inspecting results. For example, an alternative can state that the population mean travel time is greater than 15 minutes.
-
Population parameter
A population parameter is a numerical feature of the population or probability model being studied. It is fixed for that defined population, although its value may be unknown. For example, the true proportion of all enrolled students who walk to school is a parameter.
Read more: Population parameter in the captured Statistics reading →
-
P-value
A p-value is the probability, under the null model and its assumptions, of results at least as extreme as those observed in the direction or directions specified by the test. It does not give the probability that the null hypothesis is true or measure the practical size of an effect. For example, a p-value of 0.03 describes a 3% tail probability under the null model, rather than a 3% probability that the null is correct.
-
Significance level
A significance level is a threshold selected before testing to limit Type I errors under the null model. A p-value at or below that threshold leads to rejection under the stated rule, while a larger p-value leads to failure to reject. For example, an alpha level of 0.01 demands stronger incompatibility with the null model than a level of 0.05.
-
Treatment
A treatment is a specific condition imposed on an experimental unit. In a multifactor experiment, a treatment is a combination of factor levels. For example, low fertilizer with eight hours of light is one treatment combination.
-
Placebo
A placebo resembles an active treatment but lacks the active intervention under study. It helps provide a comparison for effects associated with receiving treatment and expectations. For example, an inactive pill can be made to look like the experimental pill.
-
Probability
Probability quantifies how likely an event is under a specified chance model. It lies between 0 and 1, with larger values representing greater likelihood. For example, drawing a red card from a well-shuffled standard deck has probability one half.