Slide 1 Incorporating Nonmetric Data with Dummy Variables For many of the multivariate techniques we will study, it is assumed that the independent or.

Slides:



Advertisements
Similar presentations
Copyright , SPSS Inc. 1 Practical solutions for dealing with missing data Rob Woods Senior Consultant.
Advertisements

General Linear Models The theory of general linear models posits that many statistical tests can be solved as a regression analysis, including t-tests.
The Regression Equation  A predicted value on the DV in the bi-variate case is found with the following formula: Ŷ = a + B (X1)
The SPSS Sample Problem
Tables One way to describe relationships is with tables. Tables depict relationships between variables. The simplest table depicts the relationship between.
Department of Cognitive Science Michael J. Kalsher Adv. Experimental Methods & Statistics PSYC 4310 / COGS 6310 Dummy Coding 1 PSYC 4310/6310 Advanced.
Exploring Two Categorical Variables: Contingency Tables
5/15/2015Slide 1 SOLVING THE PROBLEM The one sample t-test compares two values for the population mean of a single variable. The two-sample test of a population.
Regression With Categorical Variables. Overview Regression with Categorical Predictors Logistic Regression.
Chapter 14 Quantitative Data Analysis
Analysis of frequency counts with Chi square
Chapter 15, part D Qualitative Independent Variables.
Sociology 601 Lecture 11: October 6, 2009 No office hours Oct. 15, but available all day Oct. 16 Homework Contingency Tables for Categorical Variables.
Test statistic: Group Comparison Jobayer Hossain Larry Holmes, Jr Research Statistics, Lecture 5 October 30,2008.
SOWK 6003 Social Work Research Week 10 Quantitative Data Analysis
CHAPTER 6 ECONOMETRICS x x x x x Dummy Variable Regression Models Dummy, or indicator, variables take on values of 0 or 1 to indicate the presence or absence.
Data Management: Quantifying Data & Planning Your Analysis
Slide 1 Analyzing Patterns of Missing Data While SPSS contains a rich set of procedures for analyzing patterns of missing data, they are not included in.
CHAPTER 14, QUANTITATIVE DATA ANALYSIS. Chapter Outline  Quantification of Data  Univariate Analysis  Subgroup Comparisons  Bivariate Analysis  Introduction.
LEVEL OF MEASUREMENT Data is generally represented as numbers, but the numbers do not always have the same meaning and cannot be used in the same way.
Dummy Variables. Outline Objective Why forming dummy variables to use nominal variables as independent variables in regressions are important. How to.
Measures of Central Tendency
8/23/2015Slide 1 The introductory statement in the question indicates: The data set to use: GSS2000R.SAV The task to accomplish: a one-sample test of a.
Inferential Statistics: SPSS
Modeling Possibilities
Figure 1. Private Returns to Educating Females are High at All Levels Percent return 20% 15% 10% 5% 0% Primary SecondaryHigher Averages from country studies.
Hierarchical Binary Logistic Regression
Gender and Development
SW388R6 Data Analysis and Computers I Slide 1 Central Tendency and Variability Sample Homework Problem Solving the Problem with SPSS Logic for Central.
Crosstabs How do we assess the relationship between two variables? (We’ll bring in more variables later.) Various ways, especially with interval-level.
The Use of Dummy Variables. In the examples so far the independent variables are continuous numerical variables. Suppose that some of the independent.
Statistics and Quantitative Analysis U4320 Segment 12: Extension of Multiple Regression Analysis Prof. Sharyn O’Halloran.
Project 6 Using The Analysis ToolPak To Analyze Sales Transactions Jason C. H. Chen, Ph.D. Professor of Management Information Systems School of Business.
Multiple Regression 3 Sociology 5811 Lecture 24 Copyright © 2005 by Evan Schofer Do not copy or distribute without permission.
The Practice of Social Research Chapter 14 – Quantitative Data Analysis.
Chapter 2 Means to an End: Computing and Understanding Averages Part II  igma Freud & Descriptive Statistics.
Level of Measurement Data is generally represented as numbers, but the numbers do not always have the same meaning and cannot be used in the same way.
Copyright © 2006 The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin Dummy Variable Regression Models chapter ten.
Regression analysis and multiple regression: Here’s the beef* *Graphic kindly provided by Microsoft.
A Survey of Probability Concepts
ANOVA GenderManagement Level Average Salary MaleSupervisory 47,500 MaleMid-level 68,000 MaleExecutive122,550 FemaleSupervisory 45,300 FemaleMid-level 61,000.
Multivariate Descriptive Research In the previous lecture, we discussed ways to quantify the relationship between two variables when those variables are.
Slide 1 The Kleinbaum Sample Problem This problem comes from an example in the text: David G. Kleinbaum. Logistic Regression: A Self-Learning Text. New.
Discrete Probability Distribution Henry Mesa Use your keyboard’s arrow keys to move the slides forward (▬►) or backward (◄▬) Hit the Esc key to end show.
Data Lab # 4 June 16, 2008 Ivan Katchanovski, Ph.D. POL 242Y-Y.
Calculating Inter-coder Reliability
July 2015 Core Epidemiology Slides.
PSC 47410: Data Analysis Workshop  What’s the purpose of this exercise?  The workshop’s research questions:  Who supports war in America?  How consistent.
SW388R7 Data Analysis & Computers II Slide 1 Incorporating Nonmetric Data with Dummy Variables The logic of dummy-coding Dummy-coding in SPSS.
Accessing New Markets: Context Matters Julie R. Weeks President & CEO Womenable.
Probability Concepts. 2 GOALS 1. Define probability. 2. Explain the terms experiment, event, outcome, permutations, and combinations. 3. Define the terms.
Sara Elnafakh 5°C RIM. INDEX:  General assembly General assembly  Functions Functions  Committees Committees  President President.
Levels of Development. Indicators for Measuring Level of Development Infrastructure The basic foundations of an economy Transportation, sanitation, education,
T-tests Chi-square Seminar 7. The previous week… We examined the z-test and one-sample t-test. Psychologists seldom use them, but they are useful to understand.
Conjoint Analysis. 1. Managers frequently want to know what utility a particular product feature or service feature will have for a consumer. 2. Conjoint.
Core Epidemiology Slides
QUALITATIVE EXPLANATORY VARIABLES REGRESSION MODELS
CHAPTER 26 Comparing Counts.
A gender sensitive organization should meet the following criteria in its practices: First, the balance of women and men on the staff should include a.
1 Panel 2, Position 4 Jack D. Ripper.
Analyze similarities and differences in impact of the Columbian Exchange on TWO of the following regions. Europe Latin America Africa North America.
Conjoint Analysis.
Slide Title Edit Master text styles Second level Third level
Where Does Level of Development Vary by Gender?
Chapter 9 Trey Havard Belle Otte.
Regional HIV and AIDS statistics and features for women, 2004 and 2006
Karl L. Wuensch Department of Psychology East Carolina University
Core epidemiology slides
July 2018 Core epidemiology slides.
ZED MIBA Members A bit of demographics ZED MIBA AGM 2018 | Dubrovnik.
Presentation transcript:

Slide 1 Incorporating Nonmetric Data with Dummy Variables For many of the multivariate techniques we will study, it is assumed that the independent or dependent variables in the analysis are metric variables. If we have a nonmetric, or categorical, variable we can incorporate it into our analysis by converting the categorical variable to a set of dichotomous, dummy-coded variables. To dummy-code a variable, we first identify one category or subgroup of the nonmetric variable as the reference or comparison group. The effects which we identify in our analysis will be differences from the reference or comparison group. For example, suppose that I were contrasting salaries of men and women in some group of employees and I was interested in how women's salaries differed from men's salaries. Assuming there is a gender variable in my data set coded either male or female, I would select male as the reference category on the nonmetric gender variable. After we have identified the reference category, we create a new variable for each of the remaining categories or subgroups of the nonmetric variable. Thus, a nonmetric variable will be represented in the analysis by a number of new dichotomous variables equal to one less than the number of categories in the original nonmetric variable. In the salary example given above, with male selected as my reference group, the remaining group on the nonmetric gender variable is female, so I create a new variable called woman. (I usually would name it female but I don't want to have to have two entities with the same name in this example.) Finally, I code the new variable with one of two dichotomous values, usually 1 and 0. The new variable is assigned a 1 if the original variable indicated membership in the category represented by the new variable. If the subject was not a member of the category designated by the new variable, the new variable is coded 0 for that subject. In the example above, if a subject was in the female group of the gender variable, her code for the new woman variable is 1. If a subject was not in the female group of the gender variable, his code for the new woman variable is 0. Incorporating Nonmetric Data with Dummy Variables

Slide 2 Incorporating Nonmetric Data with Dummy Variables - 2 If the original nonmetric variable had three or more categories, we would create two or more new variables and code them with the same scheme. Suppose for example, that we have a variable for political identification, named partyid which contains three values for Republican, Democrat, and Independent. I select Independent as my reference category because I am interested in the effect of being a Republican or a Democrat. Dummy-coding requires that I create and code two new variables, one for Republican which I will name Repub and one for Democrat which I will name Demo. Each subject in the data set will be assigned a value for both the new variables, Repub and Demo, using the following scheme. If a subject is a Republican on the original partyid variable, they are assigned a value of 1 for the new Repub variable and a value of 0 for the new Demo variable. If a subject is a Democrat on the original partyid variable, they are assigned a value of 0 for the new Repub variable and a value of 1 for the new Demo variable. If a subject is an Independent on the original partyid variable, they are assigned a value of 0 for the new Repub variable and a value of 0 for the new Demo variable, because they are not Republican and they are not Democrat. Incorporating Nonmetric Data with Dummy Variables

Slide 3 Incorporating Nonmetric Data with Dummy Variables - 3 The task gets a little more confusing because the original variable is usually coded with numbers instead of text representing categories, as we will see in the SPSS example. In the World95.SAV data base is a nonmetric variable Region that contains six categories: Incorporating Nonmetric Data with Dummy Variables 1OECD (Organization for Economic Cooperation and Development) 2East Europe 3Pacific/Asia 4Africa 5Middle East 6Latin America

Slide 4 Incorporating Nonmetric Data with Dummy Variables - 4 Incorporating Nonmetric Data with Dummy Variables Suppose we wanted to dummy code the region variable and use OECD countries (coded number 1) as the reference or comparison group. We would recode this variable in SPSS as a set of five dummy variables (for the five remaining regions) with a series of 5 Recode commands. The dummy-coding scheme for the new variables is summarized in the following table. The first column contains the coding for the original variable. The five new columns show the 1 and 0 codes that would be assigned to each of the five new variables for each of the six values of the original variable. Original Variable "Region" and its coding First New Variable "easteuro" Second New Variable "pacific" Third New Variable "africa" Fourth New Variable "mideast" Fifth New Variable "latamer" 1 = OECD = East Europe = Pacific/Asia = Africa = Middle East = Latin America00001 We will create the new variables in our SPSS data set.

Slide 5 Creating New Variables with a Recode Command Incorporating Nonmetric Data with Dummy Variables

Slide 6 Assigning Values to the New Variable Incorporating Nonmetric Data with Dummy Variables

Slide 7 Assigning a 1 to Countries in Eastern Europe Incorporating Nonmetric Data with Dummy Variables

Slide 8 Assigning a 0 to Subjects not in Eastern Europe Incorporating Nonmetric Data with Dummy Variables

Slide 9 Completing the Recoding for the First New Variable Incorporating Nonmetric Data with Dummy Variables

Slide 10 Recoding the Second New Variable Incorporating Nonmetric Data with Dummy Variables

Slide 11 Recoding the Third New Variable Incorporating Nonmetric Data with Dummy Variables

Slide 12 Recoding the Fourth New Variable Incorporating Nonmetric Data with Dummy Variables

Slide 13 Recoding the Fifth New Variable Incorporating Nonmetric Data with Dummy Variables

Slide 14 The Recoded Variables in the SPSS Data Editor Incorporating Nonmetric Data with Dummy Variables