Skip to content

Recent Posts

  • How to Pass your Comprehensive Exams
  • Glossary of Common Academic Acronyms and Jargon (Canada & U.S.)
  • Five Online Tools for Doing Social Research
  • Writing Prompts to Overcome Writer’s Block
  • Please stop starting letters like this…

Most Used Categories

  • Publishing (4)
  • Writing (8)
  • Design (6)
  • Methods (18)
    • Software (11)
      • STATA (1)
      • SPSS (10)
    • Statistics (6)
    • Qualitative (1)
  • General Advice (5)
Skip to content

Practical Advice for Research, Writing, and Academia’s Hidden Curriculum

Subscribe
  • General Advice
  • Writing
  • Methods
    • Qualitative
    • Quantitative
  • Software
    • SPSS
    • STATA
  • Publishing
  • Podcast
  • Home
  • Methods
  • Software
  • SPSS
  • Splitting Data by a Variable

Splitting Data by a Variable

Phyllis L. F. RippeyOctober 8, 2020March 8, 2022

If you want to calculate any statistics split into the different categories of a variable, you can do this easily in SPSS. All you need to do is the following:

  1. Click on “Data” from the pull-down menus
  2. Click on “split file” found almost all the way at the bottom of the list of commands
  3. Toggle the circle at the top that says “Compare groups”
  4. You will now be allowed to move the variable you want to split your data by, from the box on the left into the “Groups Based on:” box on the right .
    • for example, if you want separate statistics for men and for women, move the variable “Sex of respondent” to the “Groups Based on:” box.
  5. Leave the “sort the file by grouping variables” box toggled
  6. Click ok
  7. Not much will happen at first, but when you then calculate any statistics, your results will be grouped by your variable (e.g. men and women).

Here, I made a video to show you the steps I just described:

Statistics, SPSS

Post navigation

Previous: Calculating Measures of Central Tendency in SPSS
Next: Recoding Variables in SPSS

Related Posts

Pros & Cons of SPSS

September 24, 2019September 21, 2021 Phyllis L. F. Rippey

Opening Data in SPSS

September 21, 2019September 21, 2021 Phyllis L. F. Rippey

Exploring Data in SPSS

September 21, 2019September 21, 2021 Phyllis L. F. Rippey
Copyright All Rights Reserved | Theme: BlockWP by Candid Themes.
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.