Hypothesis Tests of a Proportion
Copyright © 2011–2012 by Stan Brown, Oak Road Systems
Copyright © 2011–2012 by Stan Brown, Oak Road Systems
z = (p̂−po) / σp̂ where
σp̂ =
but as usual your calculator will compute it for you when
you use a 1-PropZTest.
This page will take you through a complete hypothesis test about the proportion in a population. We’ll follow the numbered steps, just the way you should do on homework and quizzes. Because I’ll be adding some commentary, I’ve put boxes around what I would expect to see from you for a problem like this.
See also: Inferential Statistics: Basic Cases, Case 2
See also: If you don’t know the numbered steps by heart yet, feel free to refer to Hypothesis Tests: Six Steps (Plus One).
From Sullivan, Michael, Fundamentals of Statistics 3/e (Pearson Prentice Hall, 2011), page 494:
There are two major college entrance exams that a majority of colleges accept for admission, the SAT and ACT. ACT looked at historical records and established 22 as the minimum score on the ACT math portion of the exam for a student to be considered prepared for college mathematics. ...
An official with the Illinois State Department of Education wonders whether less than half of the students in her state are prepared for College Algebra. She obtains a simple random sample of 500 records of students who have taken the ACT and finds that 219 are prepared for college mathematics, [meaning that they] scored at least 22 on the math portion of the ACT.
Does this represent significant evidence that less than half of the students in the state of Illinois are prepared for college mathematics upon graduation from a high school? Use the α = 0.05 level of significance.
The population is graduating high-school seniors in Illinois. You want to know whether less than half of them are prepared for college math. Each person either is or is not prepared, so you have binomial data, Case 2 in Inferential Statistics: Basic Cases.
H1: p < 0.5, less than half are prepared
Comment: There are lots of p’s in case 2 problem, keep the notation straight:
1-PropZTest computes it for you.Comment: Even though you already have the sample data in the problem, when you write the hypotheses, ignore the sample. In principle, you write the hypotheses, then plan the study and gather data. If you use any of the sample data in the hypotheses, something is wrong.
Comment: Often it’s helpful to add some words to each hypothesis. If nothing else, it makes your job easier when writing your conclusions in step 6. But don’t just rewrite the symbols in English: write down the deeper meaning or the implications.
Comment: The problem generally tells you which significance level to use.
Next is the requirements check. Even though it doesn’t have a number, it’s necessary.
Comment: Why use po in the requirements check, instead of the actual sample proportion p̂ as you did when computing a confidence interval? Because every hypothesis begins by assuming the null hypothesis to be true, and the null hypothesis is that the true proportion of successes in the population is po — in this case, 0.5.
Comment: Some authors express the third requirement as “at least five successes and at least five failures in the sample”. We’ll follow what your book does.
Comment: Usually, if requirements aren’t met you just have to give up. But for one-population binomial data, where the first two requirements are met but the third is not, you can use MATH200A part 3 to compute the p-value directly. There’s an example on pages 497–498 of Sullivan, Michael, Fundamentals of Statistics 3/e (Pearson Prentice Hall, 2011). However, we won’t use that procedure in this course. As far as we’re concerned, if the requirements for Case 2 aren’t met, just stop.
Now it’s time to compute the test statistic (z) and the p-value:
outputs: z=−2.77, pval=0.0028, p̂=0.438
What do you write down? The screen name, all inputs (including the alternative hypothesis), and the outputs. Omit the items on the output screen that duplicate the inputs. The convention is to round the test statistic to two decimal places and the p-value to four.
Please note: the screen name is 1-PropZTest, not
“PropZTest”. We’ll have a 2-PropZTest
later, so get in the habit of distinguishing them now.
Don’t get creative here. Use the decision rule exactly as it’s written in Step 5 of Hypothesis Tests: Six Steps (Plus One).
Comment: If the p-value had turned out to be greater than the significance level, you would write “p>α. Fail to reject H0” and you would not mention H1.
Your conclusion must include either the significance level or the p-value. p-values give more information, but your book generally includes significance levels, so I’ll follow that.
Comment: If p was greater than α, you would fail to reach a conclusion: “It’s impossible to say, at the 0.05 significance level, whether less than half of graduating seniors in Illinois are prepared for college mathematics or not.” Don’t fall into the trap of implying that it’s not less; you must use neutral language.
This page is used in instruction at Tompkins Cortland Community College in Dryden, New York; it’s not an official statement of the College. Please visit www.tc3.edu/instruct/sbrown/ to report errors or ask to copy it.
For updates and new info, go to http://www.tc3.edu/instruct/sbrown/stat/