From the course: SPSS: Data Visualizing and Data Wrangling
Unlock the full course today
Join today to access over 24,600 courses taught by industry experts.
Creating dummy variables
From the course: SPSS: Data Visualizing and Data Wrangling
Creating dummy variables
- [Instructor] Data is really a lot more flexible than people assume, and ideas like there are quantitative variables and qualitative variables or categories and scales are actually a little more flexible, and one place where this shows up is the use of indicator variables or often called dummy variables. I don't like that term. I don't know what it means. I think it refers to a stand-in like a showroom dummy, but I call them dummy variables because that's what SPSS calls them, but I like to think of them as indicator variables. These are 0/1 variables that indicate whether a score is in a particular category, and they can be used to take something that might be text-based and turn it into this numerical variable that can then be used in T-tests and correlations and regressions, and actually gives you a lot more flexibility than you might originally think that you had. For example, what I'm going to show you here in the sample dataset is it will take this one variable here, psy_reg…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
-
Recoding variables9m 43s
-
(Locked)
Reversing values with syntax6m 3s
-
(Locked)
Recoding by ranking cases8m 22s
-
(Locked)
Creating dummy variables6m 44s
-
(Locked)
Recoding with visual binning12m 15s
-
(Locked)
Recoding with optimal binning7m 39s
-
(Locked)
Preparing data for modeling8m 14s
-
(Locked)
Computing scores5m 30s
-
-
-
-
-
-
-