User Guide
20 0
Chapter 8
In this example, the first two rows are a case group because they are related. They
contain data for the same factor level. In SPSS data analysis, the factor is often
referred to
as a grouping variable when the data are structured this way.
ī Groups of c
olumns.
Does the current file have variables and conditions recorded
in the same column? For example:
var_1 var_2
83
91
In this ex
ample, the two columns are a variable group because they are related. They
contain data for the same variableāvar_1 for factor level 1 and var_2 for factor
level 2. In SPSS data analysis, the factor is often referred to as a repeated measure
when the
data are structured this way.
How shou
ld the data be arranged in the new file?
This is usually determined by the
procedure that you want to use to analyze your data.
ī Procedures that require groups of cases. Your data must be structured in
case gro
ups to do analyses that require a grouping variable. Examples are
univariate, multivariate,andvariance components with General Linear Model,
MixedModels,andOLAPCubes;andindependent samples with T Test or
Nonpar
ametric Tests. If your current data structure is variable groups and you
want to do these analyses, select
Restructure selected variables into cases.
ī Procedures that require groups of variables. Your data must be structured in
variable groups to analyze repeated measures. Examples are repeated measures
with Ge
neral Linear Model, time-dependent covariate analysis with Cox
Regression Analysis, paired samples with T Test, or related samples with
Nonparametric Tests. If your current data structure is case groups and you want
to do t
hese analyses, select
Restructure selected cases into variables.
Example of Variables to Cases
In this example, test scores are recorded in separate columns for each factor, A and B.










