0% found this document useful (0 votes)
109 views3 pages

Rec 5B - Two-Way Tables

The document describes a study that collected data on the gender and marital status of 300 customers. It provides a two-way table showing the distribution of marital status (single, married, divorced) by gender (male, female). The document instructs the reader to use StatCrunch to analyze the marginal and conditional distributions of marital status by gender. It finds that marital status differs between males and females, with more married males and more single females. A second dataset on student and parent smoking is also provided, with instructions to analyze the relationship between these variables.

Uploaded by

Skylar Hsu
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
109 views3 pages

Rec 5B - Two-Way Tables

The document describes a study that collected data on the gender and marital status of 300 customers. It provides a two-way table showing the distribution of marital status (single, married, divorced) by gender (male, female). The document instructs the reader to use StatCrunch to analyze the marginal and conditional distributions of marital status by gender. It finds that marital status differs between males and females, with more married males and more single females. A second dataset on student and parent smoking is also provided, with instructions to analyze the relationship between these variables.

Uploaded by

Skylar Hsu
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

STAT 1430 Recitation 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.

2. Interpret your results; one sentence per graph is fine.

StatCrunch Instructions for Marginal Distributions:


 DOWNLOAD the data file called “Gender and Marital Status.xlsx” in the Recitation section of Carmen.
 COPY the data. Note: The data in the table has been rearranged to be in the proper format for StatCrunch. (This
is often what we have to do with data in the real world also.)
 Open StatCrunch (Go to MyStatLab / StatCrunch / Visit the StatCrunch Website / Open StatCrunch on top
ribbon)
 PASTE the data in the upper left corner of the first empty row – no variable names here.
 Make a bar chart for the entire group:
 Click on: Graph/Bar Plot / With Summary (since data is summarized already)
 Under Categories: click “Variable 1”
 Under “Counts” click “Variable 3”
 Under “TYPE” pull down “Relative Frequency” or “Percent” (same results)
 Compute!
 Copy/Paste your bar graph in the space below or sketch it in the space provided.

3. Make an appropriate bar graph using STATCRUNCH, which shows the conditional distribution of marital status
for the females. Label clearly. Copy/paste below.

4. Interpret your results in a sentence or two.

StatCrunch Instructions for Conditional Distributions:


 Make a bar chart for females only:
o Click on: Graph/Bar Plot / With Summary (since data is summarized already)
o Under CATEGORIES: click “Variable 1”
o Under COUNTS click “Variable 3”
o Under WHERE click BUILD. Then build the statement “Var 2 = Female” by clicking on “Var
2”/ADD, then “=” sign, then under Values click “Female”/Add. Then click OKAY.
o Under “TYPE” pull down “Relative Frequency” or “Percent”
o Compute!
o Copy/Paste your bar graph in the space below or sketch it in the space provided.
STAT 1430 Recitation 5B Two-Way Tables

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.

Neither parent One parent smokes Both parents smoke


smokes

Student doesn’t 1168 1823 1380


smoke

Student smokes 188 416 400

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.

9. Two way tables – Do both parts of this problem


a. Create a 2x2 table from this data and place it below:

STATCRUNCH INSTRUCTIONS FOR CREATING A 2x2 TABLE FROM DATA:

 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.

You might also like