Access this content offline
Omniguides
Skip to the reading

Testing a Proportion: What Would Happen Under the Null? — Solutions and Rubrics

Use these solutions after completing the independent application. The rubrics describe what the requested action must demonstrate; equivalent correct reasoning is welcome.

Original generated practice for the Fall 2026 course. Return to the lesson and independent checks.

Do refill stations change habits?: worked answer

A city claims that 40% of its 12,000 residents carry a reusable bottle. A simple random sample of 200 residents, drawn without replacement, contains 98 bottle carriers. The investigator asks whether the population proportion is greater than 0.40 and chooses a significance level of 0.05 before collecting data. Standard normal upper-tail probabilities: P(Z≥1.50)=0.06681; P(Z≥1.645)≈0.05; P(Z≥2.00)=0.02275; P(Z≥2.59808)≈0.004687.

Part a

Choose the inference procedure, define the population parameter in context, and write the null and alternative hypotheses. Explain which claim is represented by the alternative and what is assumed while calculating the test.

Let p be the proportion of all city residents who carry a reusable bottle. Use a one-sample z-test for a population proportion. H₀:p=0.40 is the assumed status quo; Hₐ:p>0.40 represents the investigator’s claim. Calculate the test distribution assuming the null value 0.40 is true; the sample proportion is not the parameter.

Part a scoring criteria
Evidence for creditPoints
Names one-sample proportion z-test and resident population parameter.1
Writes p=0.40 and p>0.40; explains null assumption and alternative claim.1

Return to this independent task

Part b

Justify each of the three conditions using the actual design and numbers. State whether success/failure counts use 0.40 or the observed proportion, and explain why.

The SRS supplies randomization. For sampling without replacement, 200≤0.10(12,000)=1,200. The null expected successes are 200(0.40)=80 and failures 200(0.60)=120, both at least 10. Use p₀, because this is the sampling distribution being modeled under H₀, not an interval estimating an unknown p.

Part b scoring criteria
Evidence for creditPoints
Connects SRS and 200≤1,200 to required conditions.1
Computes both null expected counts and distinguishes them from observed interval counts.1

Return to this independent task

Part c

Calculate the sample proportion, null standard deviation of the statistic, z-statistic and p-value. Name the null distribution and describe the tail used. Explain how a theoretical model and technology/table can supply this probability.

p̂=98/200=0.49. Under H₀ the standard deviation is √[0.40(0.60)/200]=0.0346410; z=(0.49−0.40)/0.0346410=2.59808. The null z distribution is approximately standard normal because the count condition holds. For Hₐ:p>0.40, p-value=P(Z≥2.59808)≈0.004687, from the supplied table or a normal upper-tail command. Modeling the repeated-sample null distribution by this theoretical curve approximates the chance of an observed statistic at least this high.

Part c scoring criteria
Evidence for creditPoints
Computes 0.49, null SD, z≈2.598 and p≈0.00469.1
Uses upper tail under true p=0.40 and explains standard normal approximation.1

Return to this independent task

Part d

Interpret this p-value in context, make the formal decision, and answer the investigative question with appropriately limited language. Explain why this p-value is not the probability that the null hypothesis is true.

If the population bottle-carrying proportion were 0.40, the probability of obtaining a sample proportion at least 0.49 in a random sample of 200 is approximately 0.004687. Since 0.004687≤0.05, reject H₀. There is convincing statistical evidence that more than 40% of city residents carry a reusable bottle. This is conditional on a fixed null parameter; it does not assign a probability of truth to H₀ and does not prove the alternative.

Part d scoring criteria
Evidence for creditPoints
Interprets chance of an equally/more high sample under p=0.40.1
Rejects by comparison and concludes greater population proportion without truth-probability/proof claims.1

Return to this independent task

Three questions from the same simulated null: worked answer

A fair-machine model says the population red-token proportion is 0.50. A random sample of 400 independently produced tokens contains 215 red tokens, so p̂=0.5375 and the null-standardized statistic is z=1.5. A computer generates 1,000 independent samples of 400 under p=0.50. These are generated data, not additional real-machine observations. Mutually exclusive summary counts: z<−1.5:61; z=−1.5:6; −1.5<z<1.5:859; z=1.5:8; z>1.5:66. Counts sum to 1,000. Normal-model P(Z≥1.5)=P(Z≤−1.5)=0.0668072.

Part a

For Hₐ:p>0.50, estimate the p-value from the simulation, including equality. Interpret it in context and explain why the 859 central simulations are excluded.

Upper count=8+66=74; simulated p=74/1,000=0.074. Assuming the machine’s red-token proportion is 0.50, about 7.4% of simulated samples of 400 had p̂ at least 0.5375. The 859 central results are not as extreme in the greater direction; equality is included.

Part a scoring criteria
Evidence for creditPoints
Includes upper equality and divides 74 by 1,000.1
Conditions p=.074 on p=.50 and greater-direction extremeness.1

Return to this independent task

Part b

For a different observed sample with z=−1.5 and Hₐ:p<0.50, estimate the simulated p-value. Write the corresponding theoretical normal probability and compare the estimates.

Lower count=61+6=67; simulated p=0.067. The theoretical probability P(Z≤−1.5)=0.0668072 is close but need not equal a finite simulation estimate. Both calculations condition on p=0.50 and use the lower alternative’s direction.

Part b scoring criteria
Evidence for creditPoints
Includes lower equality and divides 67 by 1,000.1
Writes lower normal tail at −1.5 and explains simulation variability.1

Return to this independent task

Part c

Return to z=1.5 and Hₐ:p≠0.50. Estimate the two-sided simulated p-value and write its theoretical probability using absolute values. Explain why doubling the simulated upper fraction need not give the exact simulated answer.

At least as extreme means z≤−|1.5| or z≥|1.5|. Include 61+6+8+66=141 simulations: p≈0.141. Theoretical P(Z≤−|1.5|)+P(Z≥|1.5|)=0.1336144. The simulated lower and upper counts are 67 and 74, so doubling 0.074 gives 0.148 rather than the actual 0.141; finite simulated tails need not be exactly symmetric.

Part c scoring criteria
Evidence for creditPoints
Includes both inclusive tails; simulated p=.141.1
Correct absolute-value theoretical tails and finite-run symmetry explanation.1

Return to this independent task

When the evidence is not convincing: worked answer

A maker says at least 60% of its 20,000 packages arrive within two days. A consumer group takes an SRS of 150 packages without replacement and observes 81 on-time deliveries. It tests whether the population on-time proportion is below 0.60, using α=0.05. A correctly calculated lower-tail normal p-value is 0.06681. A newsletter writes: “There is a 6.681% probability the maker is right, so this proves at least 60% arrive on time.”

Part a

For the maker’s at-least-60% claim, state a null hypothesis with its inequality and the consumer group’s alternative; give the equality boundary actually tested in AP Statistics. Give both other possible alternative forms for different investigative questions, naming one-sided and two-sided tests. A second maker separately claims that at most 70% of its packages arrive within two days; an investigator asks whether its population on-time proportion exceeds 70%. Define that maker’s population parameter, state the at-most null and the investigator’s alternative, and give the equality boundary used to calculate the one-sided test.

First maker: p is its population proportion of packages arriving within two days. H₀:p≥0.60 expresses its claim and Hₐ:p<0.60 expresses the consumer concern. Test at the boundary H₀:p=0.60. For other questions, Hₐ:p>0.60 is one-sided and Hₐ:p≠0.60 is two-sided. Second maker: let p₂ be the proportion of all its packages arriving within two days. Its at-most claim is H₀:p₂≤0.70; the investigator’s alternative is Hₐ:p₂>0.70. The one-sided reference calculation uses the equality boundary H₀:p₂=0.70. Thus null claims can include =, ≥ or ≤, with equality included and the boundary tested. Every hypothesis concerns a population proportion, not the observed first-maker sample proportion 81/150.

Part a scoring criteria
Evidence for creditPoints
First-maker null p≥0.60, lower alternative and equality boundary p=0.60.1
Identifies greater as one-sided and not-equal as two-sided alternatives for the first-maker parameter.1
Defines second-maker on-time population proportion and explicitly writes at-most null p₂≤0.70, alternative p₂>0.70 and equality testing boundary p₂=0.70.1

Return to this independent task

Part b

Interpret 0.06681 conditionally, state the decision and a defensible contextual conclusion, and replace both incorrect newsletter claims. Explain what changing the observed p-value to a smaller value would mean for the evidence.

Assuming p=0.60, about 6.681% of random samples of 150 would have an on-time sample proportion no greater than the observed 0.54. Because 0.06681>0.05, fail to reject H₀; there is not convincing statistical evidence that fewer than 60% arrive within two days. A non-small p-value indicates the result is not unusual enough under H₀ at this threshold. It is neither the probability the maker is right nor evidence proving H₀. A smaller p-value makes the observed result less compatible with the null model and supplies stronger evidence for the lower alternative.

Part b scoring criteria
Evidence for creditPoints
Conditions tail interpretation on p=0.60 and compares to alpha.1
Concludes lack of lower-alternative evidence; rejects probability-of-null and proof language.1

Return to this independent task

Can the model be used?: worked answer

Three independent projects estimate the proportion of bicycle owners in a town. A: SRS of 120 from 8,000 people, tested H₀:p=0.02. B: a voluntary online poll of 500 people, tested H₀:p=0.50. C: SRS of 180 people from a population of 1,000, without replacement, tested H₀:p=0.50. A fourth researcher has a valid one-proportion z-test with p-value 0.032 and chooses α=0.01 before sampling; another otherwise identical study used α=0.05.

Part a

For each of A, B and C, justify which z-test conditions pass and which fail with numbers or design evidence. Explain why a large sample alone cannot repair the failed condition.

A passes randomization and 120≤800 but fails normality: expected successes 120(0.02)=2.4<10, despite 117.6 expected failures. B has adequate expected counts 250 and 250, but volunteers do not establish randomization; unknown population/sampling design cannot establish the without-replacement condition. C has randomization and 90 expected successes/failures, but 180>100 violates the 10% condition. More observations do not make a voluntary sample random or remove the substantial sampling fraction, and rare-success counts must be checked directly.

Part a scoring criteria
Evidence for creditPoints
Identifies A count, B randomization, C sampling-fraction failures with evidence.1
Explains why n alone does not justify inference.1

Return to this independent task

Part b

Explain the meaning and timing of α in the fourth study. Make the formal decision for α=0.01 and α=0.05, and explain why changing α after seeing the p-value would undermine the stated error guarantee.

Alpha is the predetermined chance of rejecting H₀ when H₀ is true, over repeated valid tests. It may be specified by the problem or chosen by the researcher before looking at results. At 0.01, 0.032>0.01: fail to reject. At 0.05, 0.032≤0.05: reject. The observed p-value is the same; the decision threshold differs. Choosing a favorable threshold after seeing results does not follow the procedure whose preset Type I rate was stated.

Part b scoring criteria
Evidence for creditPoints
Defines alpha conditionally on true null and sets it before results.1
Correct decisions under both thresholds and explanation of post-result choice.1

Return to this independent task

Search lessons, terms and problems