Book Image

Minitab Cookbook

By : Isaac A Newton
Book Image

Minitab Cookbook

By: Isaac A Newton

Overview of this book

Table of Contents (19 chapters)
Minitab Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Testing two population proportions with the 2 Proportions test


Using the data in the Pulse worksheet, we previously checked to see if the number of regular smokers in a group of students was different to a historical proportion of 0.25. We will use the 2 Proportions test to check if the proportion of regular smokers is different by gender.

Getting ready

Open the Pulse.mtw dataset from the Minitab Sample Data folder. The Smokes column has values of 1 or 2; 1 refers to students who smoke regularly and 2 refers to students who don't smoke regularly. The Sex column uses 1 for male and 2 for female.

How to do it…

The following steps will help us compare the proportion of smokers and nonsmokers between male and female students:

  1. Go to the Stat menu and then Basic Statistics and select 2 Proportions….

  2. Enter the Smokes column as Samples: and the Sex column as Sample IDs:.

  3. Click on OK.

How it works…

The results will show Event as level 2 in the response column. 2 refers to the nonsmokers, the X values in the...