Psychology 513: Advanced Research Methods - PowerPoint PPT Presentation

1 / 7
About This Presentation
Title:

Psychology 513: Advanced Research Methods

Description:

Political Affiliation: Independent, Democrat, Republican. Create two dummy variables. Independent = (0,0) Democrat = (1,0) Republican = (0,1) ... – PowerPoint PPT presentation

Number of Views:57
Avg rating:3.0/5.0
Slides: 8
Provided by: toddthor
Category:

less

Transcript and Presenter's Notes

Title: Psychology 513: Advanced Research Methods


1
Psychology 513 Advanced Research Methods
  • Regression with Categorical Variables

2
Overview
  • Regression can accommodate continuous variables
    and categorical variables
  • Need to code the categorical variables in order
    to use them in regression
  • We will focus on dummy coding

3
Dummy Codes
  • Assign ones and zeros
  • of dummy variables of categories 1
  • Males 0, Females 1
  • Base category 0

4
Example Two categories
  • Regress empathy scores on sex
  • Dummy code sex
  • Males 0, Females 1
  • Regression equation
  • Yhat 3.30 3.60 X R20.58

5
Summary Table for Regression
6
Analyzing the data with ANOVA
7
More Than Two Categories
  • Political Affiliation Independent, Democrat,
    Republican
  • Create two dummy variables
  • Independent (0,0)
  • Democrat (1,0)
  • Republican (0,1)
Write a Comment
User Comments (0)
About PowerShow.com