{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

# notes 6 - Comparing Two Categorical Variables Submitted by...

This preview shows pages 1–2. Sign up to view the full content.

Comparing Two Categorical Variables Submitted by gfj100 on Fri, 10/30/2009 - 09:27 Understand that categorical variables either exist naturally (e.g. a person’s race, political party affiliation, or class standing), while others are created by grouping a quantitative variable (e.g. taking height and creating groups Short, Medium, and Tall). We analyze categorical data by recording counts or percents of cases occurring in each category. Although you can compare several categorical variables we are only going to consider the relationship between two such variables. Example The Class Survey data set, ( CLASS_SURVEY.MTW or CLASS_SURVEY.XLS ), consists of student responses to survey given last semester in a Stat200 course. We can construct a two-way table showing the relationship between Smoke Cigarettes (row variable) and Gender (column variable) using either Minitab or SPSS. Using Minitab Using SPSS To create a two-way table in Minitab: 1. Open the Class Survey data set. 2. From the menu bar select Stat > Tables > Cross Tabulation and Chi-Square 3. In the text box For Rows enter the variable Smoke Cigarettes and in the text box For Columns enter the variable Gender 4. Under Display be sure the box is checked for Counts (should be already checked as this is the default display in Minitab).

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

### What students are saying

• As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

Kiran Temple University Fox School of Business ‘17, Course Hero Intern

• I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

Dana University of Pennsylvania ‘17, Course Hero Intern

• The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

Jill Tulane University ‘16, Course Hero Intern