How to split a SPSS-file in two or more groups.

March 22nd, 2006

Sometimes you want to split your data file in separate groups for analysis

Its a easy thing to do in SPSS. From the menus choose:
Data > Split File

This opens the Split File dialog box.

split

Select Compare groups or Organize output by groups. The examples following these steps show the differences between these two options.

Select Gender (gender) to split the file into separate groups for these variables. You can use numeric, short string, and long string variables as grouping variables. A separate analysis is performed for each subgroup defined by the grouping variables. If you select multiple grouping variables, the order in which they appear on the Groups Based On list determines the manner in which cases are grouped.

If you select Compare groups and run the Frequencies procedure, a single pivot table is created.

If you select Organize output by groups and run the Frequencies procedure, two pivot tables are created: one for females and one for males.

Entry Filed under: 3a. Analysing your data,Questions and answers

2 Comments

  • 1. Geert van Kempen  |  May 31st, 2006 at 2:07 am

    Thank you very much!!

  • 2. sudeshna  |  January 20th, 2009 at 3:29 am

    can you pls tell me how to combine two variables into a single variable. for example i have 3 variable A, B, C which can be age of the 1st child, age of the 2nd child and age of the 3rd child respectively..now i want to analyse A,B and C together..for this i want to combine them to a single variable..pls tell me how to do that in SPSS


Calendar

March 2006
M T W T F S S
    Apr »
 12345
6789101112
13141516171819
20212223242526
2728293031  

Most Recent Posts