StatCrunch Instructions: Hypothesis Testing for the Population Proportion p
Here is how you conduct the z-test for the population proportion (p) in StatCrunch.
There are two ways to perform the test, depending on whether you have summarized values or the raw data.
If the data are summarized, as they are in our case (out of a random sample of 316 airplanes, 40 were found to have contaminated water), then follow the steps below.
- Choose: Stat -> Proportions Stats -> One Sample -> with summary
- Enter a value for the number of successes.
- Enter a value for the number of observations.
- Select the Next button to select between a hypothesis test and a confidence interval computation. The hypothesis test option is selected by default using a null success proportion of 0.5 and a not equal alternative hypothesis.
- Enter a hypothesis value for the proportion of successes.
- Choose from the options of not equal, less than and greater than for the alternative hypothesis.
- Click Computer
If you have raw data which consists of outcomes of individual trials, then follow the steps below.
- Choose: Stat -> Proportions Stats -> One Sample -> with data
- Select the column containing the outcomes for the sample.
- Specify the outcome that denotes a success.
- Select the Next button to select between a hypothesis test and confidence interval computation. The hypothesis test option is selected by default using a null success proportion of 0.5 and a not equal alternative hypothesis.
- Enter a null hypothesis for the proportion of successes.
- Choose from the options of not equal, less than and greater than for the alternative hypothesis.
- Click Computer