# SPLIT FILE

When your data consist of two or more groups and you wish to have exactly the same analyses performed separately for these groups (and not on your entire data), SPLITting the FILE provides a convenient way of achieving this aim. All you need is a variable that indicates group membership. After having entered a SPLIT FILE command, all subsequent procedures are performed separately on the groups defined by the different values of the grouping variable. The file must be sorted by the grouping variable. To "turn off" splitting your file, simply enter the command SPLIT FILE OFF.

Example:

SORT CASES BY gender.
SPLIT FILE BY gender.

© W. Ludwig-Mayerhofer, IGSW | Last update: 02 May 1998