Week_14_dummy_variable_slides

Week_14_dummy_variab - Dummy Variables Dummy variables are recoded nominal or ordinal variables Coded into dichotomous variables If original

Info iconThis preview shows pages 1–6. Sign up to view the full content.

View Full Document Right Arrow Icon
Dummy Variables Dummy variables are recoded nominal or ordinal variables Coded into dichotomous variables If original variables has k attributes, you create ( k –1) dummy variables 1 ScWk 242 Edward Cohen Week 14 Regression
Background image of page 1

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

View Full DocumentRight Arrow Icon
Why? Consider “ethnicity”—if coded 1=White, 2=AA, 3=Latino, etc., then regression sees this as a continuous variable, which is not accurate. It’s a categorical (nominal) variable. Why k 1? Because we don’t need to create dummy variables for all the original attributes. The analysis treats the missing dummy variable as a baseline with which to compare all others. (If you did code all attributes and tried to run the multivariate analysis, your analysis would be in error.) 2 ScWk 242 Edward Cohen Week 14 Regression
Background image of page 2
How it’s done Consider the variable “ethnicity” with five attributes: 1. White, 2. African American, 3. Latino, 4. Asian/Pacific Islander,
Background image of page 3

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

View Full DocumentRight Arrow Icon
Background image of page 4
Background image of page 5

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

View Full DocumentRight Arrow Icon
Background image of page 6
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 09/08/2010 for the course SCWK 242 at San Jose State University .

Page1 / 6

Week_14_dummy_variab - Dummy Variables Dummy variables are recoded nominal or ordinal variables Coded into dichotomous variables If original

This preview shows document pages 1 - 6. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online