Hypothesis Testing Basics on the TI-84
Hypothesis testing is the part of statistics where you finally get to answer a question with evidence. Is this coin fair? Does this drug work? Is the average height of students in this school really 170 cm, or has it changed? You start with a claim, you collect data, and you use the TI-84 to work out whether the data supports the claim or contradicts it. It sounds formal, and the language is formal, with null hypotheses and p-values and significance levels, but the idea is simple: you are asking whether what you observed could plausibly have happened by chance. This guide walks you through the whole process, from writing the hypotheses to reading the p-value, with the exact buttons at every step.
The Big Idea: Null, Alternative, and the P-Value
Every hypothesis test starts with two statements. The null hypothesis, written H0, is the boring claim, the one that says nothing interesting is happening: the coin is fair, the drug does nothing, the mean is 170. The alternative hypothesis, written Ha or H1, is the interesting claim: the coin is biased, the drug works, the mean has changed. You collect data and you ask: if the null hypothesis were true, how surprising would my data be? That surprise is measured by the p-value, which is the probability of getting data as extreme as yours, or more extreme, assuming the null is true. A small p-value means your data would be very surprising if the null were true, so you reject the null and accept the alternative. A large p-value means your data is perfectly ordinary under the null, so you fail to reject it. Notice the wording: you never prove the null, and you never accept it. You either reject it or you fail to reject it. That sounds fussy, but it matters, because a test can only show that the data is inconsistent with the null, not that the null is true. The usual cutoff is 0.05, called the significance level, alpha. If the p-value is less than 0.05, you reject the null. If it is more, you do not. That is the whole game, and the TI-84 does the arithmetic.
Step-by-Step: A One-Sample T-Test for a Mean
Suppose a teacher claims the average test score in her class is 75. You take a sample of 20 students, their mean score is 71, and their standard deviation is 8. Is the true mean really 75, or is it lower? Here is how the TI-84 answers it.
- Press STAT, then use the right arrow to move to TESTS.
- Press 2 to choose T-Test. The screen asks for the input type: Data or Stats. Choose Stats, because you have summary numbers.
- Type the claimed mean, mu0, which is 75.
- Type the sample mean, x-bar, which is 71.
- Type the sample standard deviation, Sx, which is 8.
- Type the sample size, n, which is 20.
- Choose the alternative hypothesis. The claim is that the mean is lower than 75, so choose mu < mu0.
- Move to Calculate and press ENTER.
- Read the results. The screen shows the t statistic, about -2.24, and the p-value, about 0.019.
Because the p-value of 0.019 is less than 0.05, you reject the null hypothesis. The data gives enough evidence to say the true mean is lower than 75. If the p-value had been 0.20, you would have failed to reject, and you would have said there is not enough evidence to say the mean is different from 75. The alternative hypothesis matters here: if you had chosen mu not equal to mu0, a two-tailed test, the p-value would have been about 0.037, which is still less than 0.05, so you would still reject, but the number is different. Choose the alternative before you look at the data, based on what the question asks. If the question says is it lower, use less than. If it says is it different, use not equal to. If it says is it higher, use greater than. That choice is yours, not the calculator’s.
Step-by-Step: A Z-Test for a Proportion
Hypothesis tests work for proportions too. Suppose a company claims that 60 percent of its customers are satisfied, but you survey 100 customers and only 52 say they are satisfied. Is the true proportion really 60 percent, or is it lower?
- Press STAT, then right arrow to TESTS.
- Press 5 to choose 1-PropZTest.
- Type the claimed proportion, p0, which is 0.6.
- Type the number of successes, x, which is 52.
- Type the sample size, n, which is 100.
- Choose the alternative: prop < p0, because the question is whether the proportion is lower.
- Move to Calculate and press ENTER.
- Read the results. The screen shows the z statistic, about -1.63, and the p-value, about 0.051.
The p-value of 0.051 is just above 0.05, so you fail to reject the null hypothesis. There is not quite enough evidence to say the true proportion is lower than 60 percent, even though the sample proportion of 0.52 looks lower. That is a close call, and it is a good example of why the p-value matters more than your gut feeling. A sample of 100 is not huge, and a difference of 8 percentage points could plausibly happen by chance. If the sample had been 400 customers with the same proportion, the p-value would have been much smaller, and you would have rejected. Sample size matters, and the calculator shows you exactly how much.
Reading the Output: Test Statistic, P-Value, and the Conclusion
The TI-84’s test output has three parts, and you need all of them. The test statistic, t or z, tells you how far your sample is from the claimed value, measured in standard errors. A t of -2.24 means the sample mean is 2.24 standard errors below the claimed mean. The p-value tells you how surprising that is. A p-value of 0.019 means that if the null were true, you would see a result this extreme only about 1.9 percent of the time. The conclusion is the sentence you write in words: because the p-value is less than 0.05, we reject the null hypothesis, and there is sufficient evidence that the true mean is less than 75. A good conclusion always has three parts: the decision, reject or fail to reject, the evidence, the p-value compared to alpha, and the context, what it means for the problem. If you write only the p-value, you have done the arithmetic but not the statistics, and the marks are in the statistics. Practise writing the conclusion as a full sentence, because that is what the exam asks for.
Type I and Type II Errors (What Can Go Wrong)
No test is perfect, and there are two ways to get it wrong. A Type I error is rejecting the null when it is actually true, a false alarm. The probability of a Type I error is alpha, which is why alpha is usually set to 0.05: you accept a 5 percent chance of a false alarm. A Type II error is failing to reject the null when it is actually false, a missed signal. The probability of a Type II error is called beta, and it depends on the sample size and how far the truth is from the null. The power of a test is 1 minus beta, and it is the probability of correctly rejecting a false null. A bigger sample gives you more power, which is why big studies are more reliable. You do not need to calculate beta on the TI-84 for most school problems, but you do need to know the two errors exist and which is which, because exam questions ask about them. My way of remembering: a Type I error is a false positive, like a fire alarm going off when there is no fire, and a Type II error is a false negative, like a fire alarm staying silent when there is a fire. Both are bad, and the test is a balance between them.
Common Mistakes and How to Fix Them
The most common mistake is choosing the wrong alternative hypothesis, so read the question carefully and decide whether it asks for less than, greater than, or different from. The second mistake is using a T-Test when the problem wants a Z-Test, or the other way around. If you know the population standard deviation, use Z-Test. If you only have the sample standard deviation, use T-Test. The third mistake is typing the sample standard deviation, Sx, where the calculator wants the population standard deviation, sigma, or the other way around. Check which one the question gives you. The fourth mistake is the conclusion: saying you accept the null, or saying you proved the alternative, both of which are wrong. You reject or fail to reject, and you talk about evidence, not proof. And the fifth mistake is comparing the p-value to the wrong number. The usual significance level is 0.05, but some questions use 0.01 or 0.10, so read the question and use the level it gives you.
Frequently Asked Questions
How do I do a hypothesis test on the TI-84? Press STAT, right arrow to TESTS, and choose T-Test for a mean, Z-Test for a mean with a known standard deviation, or 1-PropZTest for a proportion. Enter the claimed value, the sample statistics, and the alternative, then choose Calculate.
What is a p-value? It is the probability of getting data as extreme as yours, or more extreme, assuming the null hypothesis is true. A small p-value means your data would be surprising under the null, so you reject it.
When do I reject the null hypothesis? When the p-value is less than the significance level, alpha, which is usually 0.05. If the p-value is bigger than alpha, you fail to reject the null.
What is the difference between T-Test and Z-Test? T-Test uses the sample standard deviation and the t-distribution, and Z-Test uses the known population standard deviation and the normal distribution. Use T-Test when you only have sample data.
Can a hypothesis test prove the null hypothesis is true? No. A test can only reject the null or fail to reject it. Failing to reject means there is not enough evidence against it, not that it is true.