/*Test of proportions for number of childern example*/ /*To test the poisson model for specified probabilities*/ options ls=90 nocenter nodate; DATA children; INPUT children $ count; DATALINES; 0 19 1 26 2 29 3 13 4+ 13 ; RUN; PROC FREQ DATA=children ORDER=data; WEIGHT count; tables children/chisq testp=(16.86, 30.02, 26.72, 15.86, 10.55); RUN;