* This is file GUM.SPS TITLE 'Two way repeated measures ANOVA of gum and mouth pH data' DATA LIST FILE=gum.dat LIST / pH G T20 T30 S1 to S7 Time Subject VAR LABELS pH='mouth pH' G ='dummy variable = -1 if chewing standard gum' * You have to specify the values of the levels of the grouping * Factors and these must be consecutive integers. Because we * have G coded as (1,-1), we need to recode one of them to meet * this requirement RECODE G (-1=0) MANOVA pH by G (0,1) Time (1,3) Subject (1,8) /design = G vs 1 G by Subject = 1 Time vs 2 Time by Subject = 2 G by Time Subject * You need to tell MANOVA what to use for the denominators in the * F statistics, unless you want to calculate them by hand from the * output FINISH