LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (May 2004, week 4)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Sat, 22 May 2004 04:09:34 GMT
Reply-To:   Arthur Tabachneck <art297@NETSCAPE.NET>
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   Arthur Tabachneck <art297@NETSCAPE.NET>
Subject:   Re: a queston of freq

June,

There is probably an easier way but, tonight, the best I could come up with is shown below. I provided a three variable example, but it should work for 1200 variables as well (as long as they are all numeric variables).

Art ----- data one; input varone varetwo varthree; cards; 1 1 1 2 . 2 3 . . . . . ; run;

proc summary data=one; var _numeric_; output out=two nmiss=; run;

proc transpose data=two out=three; run;

data four (drop=freq col1); retain freq; set three; if _n_ gt 1; if _n_=2 then freq=col1; else do; pct=col1/freq; output; end; run; -------- "June" <spairz@yahoo.com> wrote in message news:339066a0.0405211321.28cf4e92@posting.google.com... > Hi All, > I have a huge data set with 1200 variables, How could I check freq of > each variable without typing in ? > What I mean is that I want to know what's the missing percentage of > each variable.


Back to: Top of message | Previous page | Main SAS-L page