- = How do I format data for input uto a repeated measures analysis of variance? =
if (morph eq 1 and anterior eq 1 and lateral eq 1) comb=1.
if (morph eq 2 and anterior eq 1 and lateral eq 1) comb=2.
if (morph eq 1 and anterior eq 2 and lateral eq 1) comb=3.
if (morph eq 1 and anterior eq 1 and lateral eq 2) comb=4.
if (morph eq 2 and anterior eq 2 and lateral eq 1) comb=5.
if (morph eq 2 and anterior eq 1 and lateral eq 2) comb=6.
if (morph eq 1 and anterior eq 2 and lateral eq 2) comb=7.
if (morph eq 2 and anterior eq 2 and lateral eq 2) comb=8.
exe.
SORT CASES BY subj .
SPLIT FILE
LAYERED BY subj .
OMS
/SELECT TABLES
/IF SUBTYPES=['Report']
/DESTINATION FORMAT=SAV
OUTFILE="C:\comb.SAV"
/COLUMNS SEQUENCE=[C1 R2].
MEANS
TABLES=mmna BY comb
/CELLS MEAN COUNT STDDEV.
OMSEND.