From: Robin Jeffries on 4 May 2010 14:16 I have this: proc report data=full nowindows headskip; column schoolid a1 i15 wave; define schoolid/group "School"; define a1/group "Gender"; define i15 /group "Ever Pregnant"; define wave/across "Wave" ; run; Which gives me the frequencies of pregnancy (yes/no) across wave by gender & school. Now, how can I add a row that gives me the column percents? See below. Sorry if the spacing is off. Wave School Gender Ever Pregnant 1 2 3 4 5 100 Females No 160 199 135 161 156 Yes 8 11 14 11 12 % Yes 5% 5% 9% 6% 7% Thanks, -Robin
|
Pages: 1 Prev: Proc Import Excel Range Next: interaction term in Proc Logistic |