Encoding: windows-31j. Set locale = Japanese. /********** カテゴリー合併 ******************/ COMPUTE N08 = Q08 . RECODE N08 (1,2=1)(3,4=2) . MISSING VALUES N08 (9) . FRE VAR = Q08 N08 . /********** 年代新変数の作成 ******************/ RECODE q01a (20 thru 29=20) (30 thru 39=30) (40 thru 49=40) (50 thru 59=50) (60 thru 69=60) INTO nendai . VARIABLE LABELS nendai '年代'. RECODE q01a (20 thru 39=1) (40 thru 54=2) (55 thru 69=3) INTO nendai3 . VARIABLE LABELS nendai3 '年代3分類'. VALUE LABELS nendai3 1 '20-39' 2 '40-54' 3 '55-69' . FREQUENCIES VARIABLES=q01a nendai nendai3 . CRO /TAB = N08 by nendai3 /Cel = COL /STA = CHISQ PHI CORR BTAU CTAU . CRO /TAB = Q15 by nendai3 /Cel = COL /STA=CHISQ PHI CORR BTAU CTAU.