<?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 proc freq-show null values dist in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/proc-freq-show-null-values-dist/m-p/874314#M345423</link>
    <description>&lt;P&gt;Hello&lt;/P&gt;
&lt;P&gt;In the output data set "Want"&amp;nbsp; I don't see the freq of null values.&lt;/P&gt;
&lt;P&gt;So under&amp;nbsp; variables&amp;nbsp; F_X&amp;nbsp; and F_Y&amp;nbsp; I would like to see how many observations with null value.&lt;/P&gt;
&lt;P&gt;What is the way to do it please?(See in output data set the freq of null values for each var in tables statement)&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data have;
input x Y;
cards;
1 2
1 3
1 2
. 1
. .
2 1
2 .
;
Run;
proc freq data=have;
ods output onewayfreqs= want;
tables X Y; 
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Sun, 07 May 2023 07:09:02 GMT</pubDate>
    <dc:creator>Ronein</dc:creator>
    <dc:date>2023-05-07T07:09:02Z</dc:date>
    <item>
      <title>proc freq-show null values dist</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-freq-show-null-values-dist/m-p/874314#M345423</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;
&lt;P&gt;In the output data set "Want"&amp;nbsp; I don't see the freq of null values.&lt;/P&gt;
&lt;P&gt;So under&amp;nbsp; variables&amp;nbsp; F_X&amp;nbsp; and F_Y&amp;nbsp; I would like to see how many observations with null value.&lt;/P&gt;
&lt;P&gt;What is the way to do it please?(See in output data set the freq of null values for each var in tables statement)&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data have;
input x Y;
cards;
1 2
1 3
1 2
. 1
. .
2 1
2 .
;
Run;
proc freq data=have;
ods output onewayfreqs= want;
tables X Y; 
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 07 May 2023 07:09:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-freq-show-null-values-dist/m-p/874314#M345423</guid>
      <dc:creator>Ronein</dc:creator>
      <dc:date>2023-05-07T07:09:02Z</dc:date>
    </item>
    <item>
      <title>Re: proc freq-show null values dist</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-freq-show-null-values-dist/m-p/874318#M345424</link>
      <description>&lt;P&gt;Maxim 1: Read the Documentation.&lt;/P&gt;
&lt;P&gt;See the MISSING and MISSPRINT options for the&amp;nbsp;&lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/procstat/procstat_freq_syntax08.htm" target="_blank" rel="noopener"&gt;TABLES Statement&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 07 May 2023 07:31:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-freq-show-null-values-dist/m-p/874318#M345424</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2023-05-07T07:31:46Z</dc:date>
    </item>
    <item>
      <title>Re: proc freq-show null values dist</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-freq-show-null-values-dist/m-p/874353#M345448</link>
      <description>&lt;P&gt;Great,&lt;/P&gt;
&lt;P&gt;I&amp;nbsp; see that both options (Missing/Missprint) provide same output data set (with attention to distribution of null category).&lt;/P&gt;
&lt;P&gt;The only difference is the printed output&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data have;
input x Y;
cards;
1 .
1 3
1 2
. 1
. .
2 1
2 .
;
Run;
proc freq data=have;
ods output onewayfreqs= want;
tables X Y /missing; 
run;
proc freq data=have;
ods output onewayfreqs= want;
tables X Y /MISSPRINT; 
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 07 May 2023 20:32:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-freq-show-null-values-dist/m-p/874353#M345448</guid>
      <dc:creator>Ronein</dc:creator>
      <dc:date>2023-05-07T20:32:53Z</dc:date>
    </item>
  </channel>
</rss>

