The TABLES statement requests three tables: Eyes and Hair frequencies and an Eyes by Hair crosstabulation. OUT= creates the FREQCNT data set that contains crosstabulation table frequencies. OUTEXPECT stores expected cell frequencies and SPARSE stores zero cell counts in FREQCNT.
   tables eyes hair eyes*hair/out=freqcnt outexpect
                                             sparse;