/* SAS code to analyze a 1 by c contingency table */ /* and make inference about the multinomial probabilities */ /* We look at the blood types data set: */ DATA blood; INPUT bltype $ number; cards; O 465 A 394 B 96 AB 45 ; run; PROC FREQ DATA = blood ORDER=DATA; TABLES bltype / testp=(.45, .4, .1, .05); WEIGHT number; run;