Prev: Requirement
Next: Calculating prevalence
From: Ya on 29 Jun 2010 18:28 On Jun 29, 11:22 am, sourabh <sourabhkuma...(a)gmail.com> wrote: > Hi, > I have following data in dataset and I need to create a count > report for Population- Place combination. > > Population Place Employee_No > Active New Jersey 10001 > Active New Jersey 10002 > Active New Jersey 10003 > Active Torento 10004 > Active Torento 10005 > Active New York 10006 > Terminated New Jersey 10007 > Terminated Torento 10008 > Terminated Torento 10009 > Leave Torento !0010 > Retiree New York 10011 > Retiree New York 10012 > > I need to create a new dataset in following format with same labels > (as mentioned below). > I tried to create same output using PROC Report but labels are coming > different. > > Population New Jersey Torento New York > Active 3 2 1 > Terminated 1 2 0 > Leave 0 1 0 > Retiree 0 0 2 > > Thanks!! proc freq data=xx; table population*place / nocol norow nopercent; run; HTH Ya
|
Pages: 1 Prev: Requirement Next: Calculating prevalence |