Rec 5B - Two-Way Tables
Rec 5B - Two-Way Tables
An insurance company has collected the following data on the gender and marital status of 300 customers. The same
information can be found in the data set “Gender and Marital Status.xlsx”, located on Carmen.
Marital Status
Gender Single Married Divorced
Male 25 125 30
Female 50 50 20
1. Make a bar graph that shows the marginal distribution of marital status. Copy/paste it below.
3. Make an appropriate bar graph using STATCRUNCH, which shows the conditional distribution of marital status
for the females. Label clearly. Copy/paste below.
5. Males
a. Using the same instructions as for females, make an appropriate bar graph using STATCRUNCH, which
shows the conditional distribution of marital status for the males. Label clearly. Copy/paste below.
b. Interpret your results in a sentence or two.
6. Based on your results above, are the 3 graphs different or the same for males vs females vs everyone? Explain.
7. Based on TWO OF YOUR graphs, is there a relationship between gender and marital status? If so, what is the
relationship? (Use the percentages to answer this. Note that if you are using the distribution for marital status
you have 3 groups, so you must consider all 3 of them in your analysis, not just 2 of them.)
Data was collected on whether or not a student smokes and whether one or the other or both of their
parents smoked. The data is shown below. It can also be found in the data set “Student and Parent
Smoking.xlsx” located in the recitation section of Carmen.
8. Using appropriate graphs and percentages (include them on the answer sheet), describe students’ smoking behavior
based on their parents’ smoking behavior. Which variable should you break down the data by (student or parent)?
Choose the variable that you think makes the results easiest to understand. Make sure you describe the relationship
using percentages, and interpret the results in a way that a Lantern reader would be interested in.
IMPORTANT NOTE! DO NOT JUST COPY THE DATA TABLE AS IT IS. IT NEEDS TO BE FORMATTED LIKE THE
OTHER DATA SETS WE’VE ALREADY USED. This is something we often have to do with data, get it into the
proper format.
Bob collected data on a random sample of 800 students who applied to a business program. His two variables
were gender, and whether the person was admitted or denied admission to the program. The data is found in the
data file called BusinessAdmissions.xlsx, located in the recitation question section of Carmen.
Download the file; Copy the data set; Paste into STATCRUNCH in the upper left corner where VAR 1 is.
Click on: STAT/TABLES/CONTINGENCY/WITH DATA.
Click on the variable you want for your row variable and the variable you want for the column variable.
COMPUTE!
STAT 1430 Recitation 5B Two-Way Tables
b. Now create tables and/or graphs of the appropriate marginal and/or conditional distributions as done
before, show there is a relationship between gender and whether a student was admitted or not. Use
the methods shown in the previous problems as a guide. YOU WILL HAVE TO REFORMAT YOUR DATA
TABLE BEFORE DOING THE GRAPHS LIKE YOU DID FOR THE PREVIOUS PROBLEM. Then describe the
relationship describe using percentages. Copy/paste graphs below.