Start learning with our library of video tutorials taught by experts. Get started

SPSS Statistics Essential Training

Recoding with visual binning


From:

SPSS Statistics Essential Training

with Barton Poulson

Video: Recoding with visual binning

In our last video, we talked about one method of recoding variables, or taking the data in its existing format and changing it into another that may be more amenable to a particular graphic or a statistical analysis. In the last movie, we looked at what might be called Manual Recode by using the Transform command to recode into a different variable. In this movie, we are going to look at another one that's called Visual Binning. It's one of pretty attractive features of SPSS.
Expand all | Collapse all
  1. 2m 58s
    1. Welcome
      1m 5s
    2. Using the exercise files
      40s
    3. Using a different version of the software
      1m 13s
  2. 19m 0s
    1. Taking a first look at the interface
      11m 49s
    2. Reading data from a spreadsheet
      7m 11s
  3. 21m 54s
    1. Creating bar charts for categorical variables
      7m 18s
    2. Creating pie charts for categorical variables
      2m 54s
    3. Creating histograms for quantitative variables
      5m 45s
    4. Creating box plots for quantitative variables
      5m 57s
  4. 33m 10s
    1. Recoding variables
      5m 33s
    2. Recoding with visual binning
      5m 33s
    3. Recoding by ranking cases
      5m 26s
    4. Computing new variables
      5m 37s
    5. Combining or excluding outliers
      5m 21s
    6. Transforming outliers
      5m 40s
  5. 28m 12s
    1. Selecting cases
      6m 44s
    2. Using the Split File command
      5m 12s
    3. Merging files
      5m 33s
    4. Using the Multiple Response command
      10m 43s
  6. 22m 14s
    1. Calculating frequencies
      8m 43s
    2. Calculating descriptives
      5m 31s
    3. Using the Explore command
      8m 0s
  7. 16m 3s
    1. Calculating inferential statistics for a single proportion
      6m 6s
    2. Calculating inferential statistics for a single mean
      5m 39s
    3. Calculating inferential statistics for a single categorical variable
      4m 18s
  8. 30m 43s
    1. Creating clustered bar charts
      7m 10s
    2. Creating scatterplots
      5m 8s
    3. Creating time series
      3m 24s
    4. Creating simple bar charts of group means
      4m 17s
    5. Creating population pyramids
      3m 0s
    6. Creating simple boxplots for groups
      3m 3s
    7. Creating side-by-side boxplots
      4m 41s
  9. 45m 28s
    1. Calculating correlations
      8m 17s
    2. Computing a bivariate regression
      6m 27s
    3. Creating crosstabs for categorical variables
      6m 34s
    4. Comparing means with the Means procedure
      6m 33s
    5. Comparing means with the t-test
      6m 4s
    6. Comparing means with a one-way ANOVA
      6m 30s
    7. Comparing paired means
      5m 3s
  10. 24m 30s
    1. Creating clustered bar charts for frequencies
      6m 34s
    2. Creating clustered bar charts for means
      3m 45s
    3. Creating scatterplots by group
      4m 13s
    4. Creating 3-D scatterplots
      4m 25s
    5. Creating scatterplot matrices
      5m 33s
  11. 30m 57s
    1. Using Automatic Linear Models
      11m 52s
    2. Calculating multiple regression
      9m 3s
    3. Comparing means with a two-factor ANOVA
      10m 2s
  12. 29m 29s
    1. Formatting descriptive statistics
      6m 1s
    2. Formatting correlations
      7m 49s
    3. Formatting regression
      10m 19s
    4. Exporting charts and tables
      5m 20s
  13. 51s
    1. What's next
      51s

Watch this entire course now—plus get access to every course in the library. Each course includes high-quality videos taught by expert instructors.

Become a member
Please wait...
SPSS Statistics Essential Training
5h 5m Beginner Aug 17, 2011

Viewers: in countries Watching now:

In this course, author Barton Poulson takes a practical, visual, and non-mathematical approach to the basics of statistical concepts and data analysis in SPSS, the statistical package for business, government, research, and academic organization. From importing spreadsheets to creating regression models to exporting presentation graphics, this course covers all the basics, with an emphasis on clarity, interpretation, communicability, and application.

Topics include:
  • Importing and entering data
  • Creating descriptive charts
  • Modifying and selecting cases
  • Calculating descriptive and inferential statistics
  • Modeling associations with correlations, contingency tables, and multiple regression
  • Formatting and exporting tables and charts
Subjects:
Business Data Analysis
Software:
SPSS
Author:
Barton Poulson

Recoding with visual binning

In our last video, we talked about one method of recoding variables, or taking the data in its existing format and changing it into another that may be more amenable to a particular graphic or a statistical analysis. In the last movie, we looked at what might be called Manual Recode by using the Transform command to recode into a different variable. In this movie, we are going to look at another one that's called Visual Binning. It's one of pretty attractive features of SPSS.

We do this by coming up to Transform, coming down into Visual Binning. And you take a variable that has a wide range of scores--in this particular one, I'll take Age and I'll put that into Variables to Bin and press Continue. And what this shows me is the age range or the people in this particular sample. It goes from a minimum of 18 to a maximum of 87 years old. This is a national sample of adults and so this isn't surprising.

Now, there may be times when I want to break this down into groups. For instance, I have one particular procedure where you like to take variables like this and you want to break them into actually five even groups that are called quintiles, even meaning it's the same number of people in each group. The Visual Binning is a perfect way to do this. Now I need to do something right here. We are going to be creating a new variable and it already knows to call out Age (Binned) into different bins. I am just going to call that, Age_Bin.

And then what I do is I need to come down and have SPSS create cutpoints or different ways of separating the distribution. I come down here to Make Cutpoints, and I can tell it to make the intervals of even sizes, say for instance the 20 to 30 year olds, the 30 to 40 year olds, and so on, and that's one possibility. And maybe I would want to do that. I could say let's start the first one at 20 and then do it every 10. The one I'm thinking of is where I want to create five equal-size groups as I need four cutpoints to create five groups.

See, right here it says, "N cutpoints produce N+1 intervals." And so what I'm going to do is I am going to create four cutpoints, and each one of them will have 20% of the sample, because there is five of them total, so that's 100%. I click OK, and what SPSS has done here is put in dividers that each has the same number of people. Now, some of these dividers will be closer, some will be further apart, because there aren't as many people in that group.

So for instance you see in the 30 to 40 range, they're pretty close because there's a lot of people right there, similarly in the 40 to 47 group. But we have from 62 on up to get the same number of people. Now, these are automatically created. It may be however that I look at them and I say that yes, these are exactly equal groups, there are a number of people in each one, but I may want them to be slightly different. Maybe I don't want to have the last group start at 61, I think that sounds little silly.

Maybe I'd want to change it to be exactly 60, and I'd want the other ones to change to be slightly different. So I can actually grab them and move them, ever so slightly, to be what I want them to be. Or I could try typing them in, to make sure they get exactly where I want them. I could change that to 40. I could leave the 47 where it is. I can double-click that one and change it to 60, and the last group is higher.

And now I've got the cutpoints, and these are approximately equal groups; I changed them only slightly. Another neat thing is this is going to create a new variable called Age_Bin and these are the values, 1, 2, 3, 4 and 5, because I have created five different groups. I can also create labels automatically by clicking on Make Labels right here, and when I do that, it says that the first group is less than or equal to 30, then 31 to 40, 61+, and so on. And all I need to do now is press OK, and it tells me that it has created one new variable in my data set.

This is the history of the command. If I were to write it out by writing code, this is what I would do. But if I go back to my data set, I come to the end, and I see that I have a new variable here called Age_Bin that has the numbers 1 through 5 in it. And if I go straight above here to the button bar and click on Value Labels, you can see the label that shows each size group. And so the Visual Binning procedure is a wonderful feature of SPSS that allows you to create a new variable by grouping people on another scaled variable.

This can save a lot of time when you're trying to create groups of particular sizes or split things up into particular intervals, like every 10 years. And so this is the second way we're looking at in terms of recoding variables. I am going to show you another one and it is called ranking variables which works in a pretty predictable way. But between the three of those, you should be able to do a fair amount in terms of getting the data into the form that you need them for your statistical analyses.

There are currently no FAQs about SPSS Statistics Essential Training.

Share a link to this course
Please wait... Please wait...
Upgrade to get access to exercise files.

Exercise files video

How to use exercise files.

Learn by watching, listening, and doing, Exercise files are the same files the author uses in the course, so you can download them and follow along Premium memberships include access to all exercise files in the library.
Upgrade now


Exercise files

Exercise files video

How to use exercise files.

For additional information on downloading and using exercise files, watch our instructional video or read the instructions in the FAQ.

This course includes free exercise files, so you can practice while you watch the course. To access all the exercise files in our library, become a Premium Member.

Upgrade now

Are you sure you want to mark all the videos in this course as unwatched?

This will not affect your course history, your reports, or your certificates of completion for this course.


Mark all as unwatched Cancel

Congratulations

You have completed SPSS Statistics Essential Training.

Return to your organization's learning portal to continue training, or close this page.


OK
Become a member to add this course to a playlist

Join today and get unlimited access to the entire library of video courses—and create as many playlists as you like.

Get started

Already a member?

Become a member to like this course.

Join today and get unlimited access to the entire library of video courses.

Get started

Already a member?

Exercise files

Learn by watching, listening, and doing! Exercise files are the same files the author uses in the course, so you can download them and follow along. Exercise files are available with all Premium memberships. Learn more

Get started

Already a Premium member?

Exercise files video

How to use exercise files.

Ask a question

Thanks for contacting us.
You’ll hear from our Customer Service team within 24 hours.

Please enter the text shown below:

The classic layout automatically defaults to the latest Flash Player.

To choose a different player, hold the cursor over your name at the top right of any lynda.com page and choose Site preferencesfrom the dropdown menu.

Continue to classic layout Stay on new layout
Welcome to the redesigned course page.

We’ve moved some things around, and now you can



Exercise files

Access exercise files from a button right under the course name.

Mark videos as unwatched

Remove icons showing you already watched videos if you want to start over.

Control your viewing experience

Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.

Interactive transcripts

Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.

Thanks for signing up.

We’ll send you a confirmation email shortly.


Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

Keep up with news, tips, and latest courses with emails from lynda.com.

Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

   
submit Lightbox submit clicked