<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Missing Data in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Missing-Data/m-p/710916#M218926</link>
    <description>Thank you so much!</description>
    <pubDate>Tue, 12 Jan 2021 20:19:21 GMT</pubDate>
    <dc:creator>GabbieS</dc:creator>
    <dc:date>2021-01-12T20:19:21Z</dc:date>
    <item>
      <title>Missing Data</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Missing-Data/m-p/710895#M218909</link>
      <description>&lt;P&gt;Hello!&lt;BR /&gt;&lt;BR /&gt;I am just beginning my adventure with SAS and I need a little help with a subject connected to missing data. I have a dataset of 2310 variables and 52841 observations and I am supposed to analyze the missing data in the form of visualized graphs and reports. The graphs should help with identifying variables which have no missing data and a lot of missing data, but with 2310 variables I don't know how to do that.&lt;/P&gt;&lt;P&gt;I tried to show the % of missing data in a graph, but I would like the x axis to be more detailed (I want the marks of 10, 30, 50 % and so on to show).&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Zrzut ekranu 2021-01-12 o 19.59.00.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/53425iD2F9E280037FB50A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Zrzut ekranu 2021-01-12 o 19.59.00.png" alt="Zrzut ekranu 2021-01-12 o 19.59.00.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;DIV&gt;&lt;FONT color="#FF6600"&gt;&lt;STRONG&gt;ods graphics / reset width=7in height=4.8in imagemap;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#FF6600"&gt;&lt;STRONG&gt;proc sgplot data=SASUSER.TMISS_NUM;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#FF6600"&gt;&lt;STRONG&gt;histogram miss_proc / scale=count fillattrs=(color=CX7fb1e0) dataskin=matte;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#FF6600"&gt;&lt;STRONG&gt;xaxis label="Braki danych";&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#FF6600"&gt;&lt;STRONG&gt;yaxis grid label="Liczba zmiennych";&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#FF6600"&gt;&lt;STRONG&gt;run;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#FF6600"&gt;&lt;STRONG&gt;ods graphics / reset;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;Do you maybe have any recommendations how can I achieve that and what kind of visual graphs and reports I can make? I would appreciate any kind of help &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance!&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jan 2021 18:59:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Missing-Data/m-p/710895#M218909</guid>
      <dc:creator>GabbieS</dc:creator>
      <dc:date>2021-01-12T18:59:03Z</dc:date>
    </item>
    <item>
      <title>Re: Missing Data</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Missing-Data/m-p/710899#M218913</link>
      <description>&lt;P&gt;There are many options in the &lt;A href="https://documentation.sas.com/?cdcId=pgmsascdc&amp;amp;cdcVersion=9.4_3.4&amp;amp;docsetId=grstatproc&amp;amp;docsetTarget=n17xrpcduau1f8n1c1nhe477pv18.htm&amp;amp;locale=en" target="_self"&gt;HISTOGRAM&lt;/A&gt; statement that let you control the width and location of bins in your plot.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There are many options in the &lt;A href="https://documentation.sas.com/?cdcId=pgmsascdc&amp;amp;cdcVersion=9.4_3.4&amp;amp;docsetId=grstatproc&amp;amp;docsetTarget=p07m2vpyq75fgan14m6g5pphnwlr.htm&amp;amp;locale=en" target="_self"&gt;XAXIS&lt;/A&gt; statement that let you control the appearance and spacing on the x-axis.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jan 2021 19:06:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Missing-Data/m-p/710899#M218913</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2021-01-12T19:06:14Z</dc:date>
    </item>
    <item>
      <title>Re: Missing Data</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Missing-Data/m-p/710909#M218921</link>
      <description>Thank you!</description>
      <pubDate>Tue, 12 Jan 2021 19:28:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Missing-Data/m-p/710909#M218921</guid>
      <dc:creator>GabbieS</dc:creator>
      <dc:date>2021-01-12T19:28:12Z</dc:date>
    </item>
    <item>
      <title>Re: Missing Data</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Missing-Data/m-p/710914#M218924</link>
      <description>&lt;P&gt;For my case I wouldn't bother with any graphs if the question is identifying how many missing values.&lt;/P&gt;
&lt;P&gt;If you have variables in your data set named ZZZ, AAA or I replace them the following data step.&lt;/P&gt;
&lt;P&gt;The Junk data which is used solely for the purpose of identifying missing/non -missing values assigns 1 to variables that are missing on a record and 0 otherwise. The numeric variables will have numeric 1/0 and the character variables will have character 1/0.&lt;/P&gt;
&lt;P&gt;The Proc freq will create a table for each variable in the data set. The frequency of 1 in the tables are the number of missing and the percent are the percent missing.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;data junk;
   set have;
   array zzz (*) _numeric_;
   array aaa (*) _character_;
   do i=1 to dim(zzz);
      zzz[i]= missing(zzz[i]);
   end;
   do i= 1 to dim(aaa);
      aaa[i]= put(missing(aaa[i]),f1.);
   end;
   drop i;
run;


proc freq data=junk;&lt;BR /&gt;   tables _all_;
run;&lt;/PRE&gt;</description>
      <pubDate>Tue, 12 Jan 2021 20:17:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Missing-Data/m-p/710914#M218924</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2021-01-12T20:17:22Z</dc:date>
    </item>
    <item>
      <title>Re: Missing Data</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Missing-Data/m-p/710916#M218926</link>
      <description>Thank you so much!</description>
      <pubDate>Tue, 12 Jan 2021 20:19:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Missing-Data/m-p/710916#M218926</guid>
      <dc:creator>GabbieS</dc:creator>
      <dc:date>2021-01-12T20:19:21Z</dc:date>
    </item>
  </channel>
</rss>

