824举例 DATAA INPUTAB @@; CARDS 1121 PROC FREQ; TABLES AB TITLE 2-WAY CONTINGENCY TABLE PROC FREQ ORDERDATA TABLES AB /LIST TITLE 2-WAY FREQUENCY TABLE, ORDER=DATA;12 8.2.4 举例 DATA A; INPUT A B @@; CARDS; 1 2 2 1 . 2 . . 1 1 2 1 PROC FREQ ; TABLES A*B; TITLE '2-WAY CONTINGENCY TABLE'; PROC FREQ ORDER=DATA; TABLES A*B /LIST; TITLE '2-WAY FREQUENCY TABLE, ORDER=DATA';