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.
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.
The following steps will help us compare the proportion of smokers and nonsmokers between male and female students:
Go to the Stat menu and then Basic Statistics and select 2 Proportions….
Enter the Smokes column as Samples: and the Sex column as Sample IDs:.
Click on OK.