Two Sample Proportion Test with Minitab

What is the Two Sample Proportion Test?

The two sample proportion test is a hypothesis test to compare the proportions of one certain event occurring in two populations following the binomial distribution.

  • Null Hypothesis(H0): p1 = p2
  • Alternative Hypothesis(Ha): p1 ≠ p2

Two Sample Proportion Test Assumptions

  • The sample data drawn from the populations of interest are unbiased and representative.
  • There are only two possible outcomes in each trial for both populations: success/failure, yes/no, and defective/non-defective etc.
  • The underlying distributions of both populations are binomial distribution.
  • When np ≥ 5 and np(1 – p) ≥ 5, the binomial distribution can be approximated by the normal distribution.

How the Two Sample Proportion Test Works

When np ≥ 5 and np(1 – p) ≥ 5, we use normal distribution to approximate the underlying binomial distributions of the populations.
Test Statistic


Two Sample Proportion MTB_a

and where:

Two Sample Proportion MTB_b

  • Two Sample Proportion MTB_p1 and Two Sample Proportion MTB_p2 are the observed proportions of events in the two samples
  • Two Sample Proportion MTB_n1 and Two Sample Proportion MTB_n2 is the number of trials in the two samples respectively
  • Two Sample Proportion MTB_x1 and Two Sample Proportion MTB_x2 is the number of events in the two samples respectively

When |Zcalc| is smaller than Zcrit, , we fail to reject the null hypothesis.

Use Minitab to Run a Two Sample Proportion Test

Case study: We are interested in comparing the exam pass rates of a high school in March and April using a nonparametric (i.e. distribution-free) hypothesis test: two sample proportion test.
Data File: “Two Sample Proportion” tab in “Sample Data.xlsx”

  • Null Hypothesis(H0): pMarch = pApril
  • Alternative Hypothesis(Ha): pMarch ≠ pApril

Steps to run a two sample proportion test in Minitab:

  1. Click Stat → Basic Statistics → 2 Proportions.
  2. A new window named “Two-SampleProportion” pops up.
  3. Click the drop-down menu and choose “Summarized data.”
  4. Enter “89” in the box intersecting “First” and “Events.”
  5. Enter “112” in the box intersecting “First” and “Trials.”
  6. Enter “102” in the box intersecting “Second” and “Events.”
  7. Enter “130” in the box intersecting “Second” and “Trials.”
  8. Click “OK.”
  9. The two-sample proportion test results appear in the session window.

Model summary: The p-value of the two-sample proportion test is 0.849, greater than the alpha level (0.05), and we fail to reject the null hypothesis. We conclude that the exam pass rates of the high school in March and April are not statistically different.

About Michael Parker

Michael Parker is the President and CEO of the Lean Sigma Corporation, a management consulting firm and online six sigma training, certification, and courseware provider. Michael has over 25 years of experience leading and executing lean six sigma programs and projects. As a Fortune 50 senior executive, Michael led oversight of project portfolios as large as 150 concurrent projects exceeding $100 million in annual capital expenditures. Michael has also managed multi-site operations with the accountability of over 250 quality assurance managers, analysts, and consultants. He is an economist by education, earning his Bachelor of Science degree from Radford University while also lettering four years as an NCAA Division I scholarship athlete. Michael earned his Six Sigma Master Black Belt certification from Bank of America and his Black Belt certification from R.R. Donnelley & Sons.

Leave a Comment