data tasting tea; input group guess count @@; cards; 1 1 3 1 2 1 2 1 1 2 2 3 ; proc freq; weight count; tables group*guess/chisq expected measures; run;