Date: Tue, 2 Feb 2010 21:08:46 -0800
Reply-To: Lance Smith <medicaltrial@GMAIL.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Lance Smith <medicaltrial@GMAIL.COM>
Organization: http://groups.google.com
Subject: How to output number of missing character variables to a file
Content-Type: text/plain; charset=ISO-8859-1
Hi
I have a dataset with 50 character variables (SNP1 - SNP50), each of
which have a certain amount of missing data. I want to create a table
that will give me the percentage of missing data per variable. Maybe
something like this:
VARIABLE N %MISSING
SNP1 2010 2.6%
.
.
.
.
.
SNP50 2010 5%
Thank you for your help.
|