/************ senic97e.sps ***************/ include 'senicread97.sps'. subtitle 'Planned Comparisons with ONEWAY'. oneway infrisk by region(1,4) / statistics = descriptives / format = labels /ranges = scheffe / contrast = .5 .5 -1 0 /* North vs South / contrast = -1 -1 3 -1 /* South vs Other / contrast = 1 -1 0 0 /* NE vs NC / contrast = 1 0 -1 0 /* NE vs S / contrast = 1 0 0 -1 /* NE vs W / contrast = 0 1 -1 0 /* NC vs S / contrast = 0 1 0 -1 /* NC vs W / contrast = 0 0 1 -1 /* S vs W . Comment: Make combination of Region & Medschl if (medschl eq 1 and region eq 1) rm = 1 if (medschl eq 1 and region eq 2) rm = 2 if (medschl eq 1 and region eq 3) rm = 3 if (medschl eq 1 and region eq 4) rm = 4 if (medschl eq 2 and region eq 1) rm = 5 if (medschl eq 2 and region eq 2) rm = 6 if (medschl eq 2 and region eq 3) rm = 7 if (medschl eq 2 and region eq 4) rm = 8 /* Could provide value labels but I won't oneway infrisk by rm(1,8) / statistics = descriptives / contrast = 1 1 1 1 -1 -1 -1 -1. /* Medschl Y vs N