<?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: how to handle missing values in proc freq in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/how-to-handle-missing-values-in-proc-freq/m-p/191631#M48208</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So you can just have a step before which drops data where that group (don't know the variable name) is missing, i.e. assuming anemia status groups is a_group:&lt;/P&gt;&lt;P&gt;data want;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; set have;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; where a_group ne .;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;proc freq...;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 01 Dec 2014 10:50:47 GMT</pubDate>
    <dc:creator>RW9</dc:creator>
    <dc:date>2014-12-01T10:50:47Z</dc:date>
    <item>
      <title>how to handle missing values in proc freq</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/how-to-handle-missing-values-in-proc-freq/m-p/191628#M48205</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear friends,&lt;/P&gt;&lt;P&gt;I am Anilkumar from Hyderabad, India i am facing a problem with missing values when i'm going to prepare tables in proc freq even i used missing option also the table is coming like this. so if i delete missing valyues in the particular variable it will effect to other variables also. so what is the solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i request you to look at my codes and output once.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc freq data=nfhs_05.nonpreg_women;&lt;/P&gt;&lt;P&gt;where V024=29;&lt;/P&gt;&lt;P&gt;table&amp;nbsp; V025*Anemia_statusnpw/norow nocol missing&amp;nbsp;&amp;nbsp; ;&lt;/P&gt;&lt;P&gt;table&amp;nbsp; V013*Anemia_statusnpw/norow nocol missing ;&lt;/P&gt;&lt;P&gt;table&amp;nbsp; V106*Anemia_statusnpw/norow nocol missing ;&lt;/P&gt;&lt;P&gt;table&amp;nbsp; V130*Anemia_statusnpw/norow nocol missing ;&lt;/P&gt;&lt;P&gt;table&amp;nbsp; Age_group * Anemia_statusnpw/norow nocol missing ;&lt;/P&gt;&lt;P&gt;format V025 F00009_.;&lt;/P&gt;&lt;P&gt;format V013 F00001_.;&lt;/P&gt;&lt;P&gt;format V106 F00019_.;&lt;/P&gt;&lt;P&gt;format V130 F00609_.;&lt;/P&gt;&lt;P&gt;format Age_group agewomen_.;&lt;/P&gt;&lt;P&gt;weight weights;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE summary="Page Layout"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="c t"&gt;&lt;P align="center"&gt;&lt;/P&gt;&lt;TABLE cellpadding="5" cellspacing="0" class="table" frame="box" rules="all" summary="Procedure Freq: Cross-Tabular Freq Table"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH class="l t stacked_cell header" scope="col"&gt;&lt;TABLE border="0" cellpadding="5" cellspacing="0" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH class="l t header top_stacked_value" scope="col"&gt;Frequency&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TH class="l t header bottom_stacked_value" scope="col"&gt;Percent&lt;/TH&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P align="center"&gt;&lt;/P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;TABLE cellpadding="5" cellspacing="0" class="table" frame="box" rules="all" summary="Procedure Freq: Cross-Tabular Freq Table"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH class="l t rowheader" scope="row"&gt;Urban&lt;/TH&gt;&lt;TD class="r t stacked_cell data"&gt;&lt;TABLE border="0" cellpadding="5" cellspacing="0" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="r t data top_stacked_value"&gt;411.757&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="r t data bottom_stacked_value"&gt;5.78&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/TD&gt;&lt;TD class="r t stacked_cell data"&gt;&lt;TABLE border="0" cellpadding="5" cellspacing="0" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="r t data top_stacked_value"&gt;78.9311&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="r t data bottom_stacked_value"&gt;1.11&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/TD&gt;&lt;TD class="r t stacked_cell data"&gt;&lt;TABLE border="0" cellpadding="5" cellspacing="0" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="r t data top_stacked_value"&gt;527.523&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="r t data bottom_stacked_value"&gt;7.41&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/TD&gt;&lt;TD class="r t stacked_cell data"&gt;&lt;TABLE border="0" cellpadding="5" cellspacing="0" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="r t data top_stacked_value"&gt;544.624&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="r t data bottom_stacked_value"&gt;7.65&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/TD&gt;&lt;TD class="r t stacked_cell data"&gt;&lt;TABLE border="0" cellpadding="5" cellspacing="0" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="r t data top_stacked_value"&gt;1335.25&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="r t data bottom_stacked_value"&gt;18.75&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/TD&gt;&lt;TD class="r t stacked_cell data"&gt;&lt;TABLE border="0" cellpadding="5" cellspacing="0" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="r t data top_stacked_value"&gt;2898.09&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="r t data bottom_stacked_value"&gt;40.70&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TH class="l t rowheader" scope="row"&gt;Rural&lt;/TH&gt;&lt;TD class="r t stacked_cell data"&gt;&lt;TABLE border="0" cellpadding="5" cellspacing="0" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="r t data top_stacked_value"&gt;354.752&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="r t data bottom_stacked_value"&gt;4.98&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/TD&gt;&lt;TD class="r t stacked_cell data"&gt;&lt;TABLE border="0" cellpadding="5" cellspacing="0" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="r t data top_stacked_value"&gt;198.139&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="r t data bottom_stacked_value"&gt;2.78&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/TD&gt;&lt;TD class="r t stacked_cell data"&gt;&lt;TABLE border="0" cellpadding="5" cellspacing="0" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="r t data top_stacked_value"&gt;940.865&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="r t data bottom_stacked_value"&gt;13.21&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/TD&gt;&lt;TD class="r t stacked_cell data"&gt;&lt;TABLE border="0" cellpadding="5" cellspacing="0" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="r t data top_stacked_value"&gt;851.88&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="r t data bottom_stacked_value"&gt;11.96&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/TD&gt;&lt;TD class="r t stacked_cell data"&gt;&lt;TABLE border="0" cellpadding="5" cellspacing="0" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="r t data top_stacked_value"&gt;1876.98&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="r t data bottom_stacked_value"&gt;26.36&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/TD&gt;&lt;TD class="r t stacked_cell data"&gt;&lt;TABLE border="0" cellpadding="5" cellspacing="0" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="r t data top_stacked_value"&gt;4222.62&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="r t data bottom_stacked_value"&gt;59.30&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TH class="l t header" scope="col"&gt;Total&lt;/TH&gt;&lt;TD class="r t stacked_cell data"&gt;&lt;TABLE border="0" cellpadding="5" cellspacing="0" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="r t data top_stacked_value"&gt;766.51&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="r t data bottom_stacked_value"&gt;10.76&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/TD&gt;&lt;TD class="r t stacked_cell data"&gt;&lt;TABLE border="0" cellpadding="5" cellspacing="0" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="r t data top_stacked_value"&gt;277.07&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="r t data bottom_stacked_value"&gt;3.89&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/TD&gt;&lt;TD class="r t stacked_cell data"&gt;&lt;TABLE border="0" cellpadding="5" cellspacing="0" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="r t data top_stacked_value"&gt;1468.39&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="r t data bottom_stacked_value"&gt;20.62&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/TD&gt;&lt;TD class="r t stacked_cell data"&gt;&lt;TABLE border="0" cellpadding="5" cellspacing="0" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="r t data top_stacked_value"&gt;1396.5&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="r t data bottom_stacked_value"&gt;19.61&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/TD&gt;&lt;TD class="r t stacked_cell data"&gt;&lt;TABLE border="0" cellpadding="5" cellspacing="0" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="r t data top_stacked_value"&gt;3212.24&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="r t data bottom_stacked_value"&gt;45.11&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/TD&gt;&lt;TD class="r t stacked_cell data"&gt;&lt;TABLE border="0" cellpadding="5" cellspacing="0" style="width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="r t data top_stacked_value"&gt;7120.71&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="r t data bottom_stacked_value"&gt;100.00&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tanks for your help....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks and regards,&lt;/P&gt;&lt;P&gt;Anil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Dec 2014 09:17:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/how-to-handle-missing-values-in-proc-freq/m-p/191628#M48205</guid>
      <dc:creator>anilgvdbm</dc:creator>
      <dc:date>2014-12-01T09:17:58Z</dc:date>
    </item>
    <item>
      <title>Re: how to handle missing values in proc freq</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/how-to-handle-missing-values-in-proc-freq/m-p/191629#M48206</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, what is the problem?&amp;nbsp; I see no missings in that table.&amp;nbsp; Can you provide test data/expected output also.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Dec 2014 09:34:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/how-to-handle-missing-values-in-proc-freq/m-p/191629#M48206</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2014-12-01T09:34:00Z</dc:date>
    </item>
    <item>
      <title>Re: how to handle missing values in proc freq</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/how-to-handle-missing-values-in-proc-freq/m-p/191630#M48207</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi this is what i got results &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i need to remove missing values in tables mentioned as a dot in 2nd column because its also contributing to the total value so the results will go wrong.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" height="471" jive-data-cell="{&amp;quot;color&amp;quot;:&amp;quot;#575757&amp;quot;,&amp;quot;textAlign&amp;quot;:&amp;quot;left&amp;quot;,&amp;quot;padding&amp;quot;:&amp;quot;NaN&amp;quot;,&amp;quot;backgroundColor&amp;quot;:&amp;quot;transparent&amp;quot;,&amp;quot;fontFamily&amp;quot;:&amp;quot;arial,helvetica,sans-serif&amp;quot;}" jive-data-header="{&amp;quot;color&amp;quot;:&amp;quot;#FFFFFF&amp;quot;,&amp;quot;backgroundColor&amp;quot;:&amp;quot;#6690BC&amp;quot;,&amp;quot;textAlign&amp;quot;:&amp;quot;center&amp;quot;,&amp;quot;padding&amp;quot;:&amp;quot;2&amp;quot;}" style="width: 508px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="40" width="124"&gt;V013(Age 5-year&lt;/TD&gt;&lt;TD class="xl63" colspan="6" style="border-left: none;" width="384"&gt;Anemia_status&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" style="border-top: none;" width="124"&gt;&lt;STRONG&gt;groups)&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/STRONG&gt; &lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;" width="64"&gt;&lt;STRONG&gt;.&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;" width="64"&gt;&lt;STRONG&gt;1&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;" width="64"&gt;&lt;STRONG&gt;2&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;" width="64"&gt;&lt;STRONG&gt;3&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;" width="64"&gt;&lt;STRONG&gt;4&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;" width="64"&gt;&lt;STRONG&gt;Total&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="40" rowspan="2" style="border-top: none;" width="124"&gt;15-19&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;" width="64"&gt;136.447&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;" width="64"&gt;41.8884&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;" width="64"&gt;265.464&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;" width="64"&gt;269.619&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;" width="64"&gt;597.145&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;" width="64"&gt;1310.56&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="20" style="border-top: none; border-left: none;" width="64"&gt;1.92&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;" width="64"&gt;0.59&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;" width="64"&gt;3.73&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;" width="64"&gt;3.79&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;" width="64"&gt;8.39&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;" width="64"&gt;18.4&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="40" rowspan="2" style="border-top: none;" width="124"&gt;20-24&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;" width="64"&gt;149.603&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;" width="64"&gt;47.3045&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;" width="64"&gt;281.121&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;" width="64"&gt;232.218&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;" width="64"&gt;571.942&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;" width="64"&gt;1282.19&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="20" style="border-top: none; border-left: none;" width="64"&gt;2.1&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;" width="64"&gt;0.66&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;" width="64"&gt;3.95&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;" width="64"&gt;3.26&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;" width="64"&gt;8.03&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;" width="64"&gt;18.01&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="40" rowspan="2" style="border-top: none;" width="124"&gt;25-29&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;" width="64"&gt;158.116&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;" width="64"&gt;49.8065&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;" width="64"&gt;220.12&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;" width="64"&gt;251.434&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;" width="64"&gt;527.914&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;" width="64"&gt;1207.39&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="20" style="border-top: none; border-left: none;" width="64"&gt;2.22&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;" width="64"&gt;0.7&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;" width="64"&gt;3.09&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;" width="64"&gt;3.53&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;" width="64"&gt;7.41&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;" width="64"&gt;16.96&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="40" rowspan="2" style="border-top: none;" width="124"&gt;30-34&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;" width="64"&gt;107.972&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;" width="64"&gt;37.5547&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;" width="64"&gt;223.551&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;" width="64"&gt;235.415&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;" width="64"&gt;470.085&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;" width="64"&gt;1074.58&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="20" style="border-top: none; border-left: none;" width="64"&gt;1.52&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;" width="64"&gt;0.53&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;" width="64"&gt;3.14&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;" width="64"&gt;3.31&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;" width="64"&gt;6.6&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;" width="64"&gt;15.09&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="40" rowspan="2" style="border-top: none;" width="124"&gt;35-39&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;" width="64"&gt;82.5654&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;" width="64"&gt;43.8742&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;" width="64"&gt;174.801&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;" width="64"&gt;169.643&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;" width="64"&gt;448.908&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;" width="64"&gt;919.792&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="20" style="border-top: none; border-left: none;" width="64"&gt;1.16&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;" width="64"&gt;0.62&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;" width="64"&gt;2.45&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;" width="64"&gt;2.38&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;" width="64"&gt;6.3&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;" width="64"&gt;12.92&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="40" rowspan="2" style="border-top: none;" width="124"&gt;40-44&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;" width="64"&gt;86.641&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;" width="64"&gt;33.3251&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;" width="64"&gt;184.268&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;" width="64"&gt;150.581&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;" width="64"&gt;323.863&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;" width="64"&gt;778.678&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="20" style="border-top: none; border-left: none;" width="64"&gt;1.22&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;" width="64"&gt;0.47&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;" width="64"&gt;2.59&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;" width="64"&gt;2.11&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;" width="64"&gt;4.55&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;" width="64"&gt;10.94&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="40" rowspan="2" style="border-top: none;" width="124"&gt;45-49&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;" width="64"&gt;45.1647&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;" width="64"&gt;23.3171&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;" width="64"&gt;119.063&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;" width="64"&gt;87.5943&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;" width="64"&gt;272.379&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;" width="64"&gt;547.517&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="20" style="border-top: none; border-left: none;" width="64"&gt;0.63&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;" width="64"&gt;0.33&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;" width="64"&gt;1.67&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;" width="64"&gt;1.23&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;" width="64"&gt;3.83&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;" width="64"&gt;7.69&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="40" rowspan="2" style="border-top: none;" width="124"&gt;Total&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;" width="64"&gt;766.51&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;" width="64"&gt;277.07&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;" width="64"&gt;1468.39&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;" width="64"&gt;1396.5&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;" width="64"&gt;3212.24&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;" width="64"&gt;7120.71&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="20" style="border-top: none; border-left: none;" width="64"&gt;10.76&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;" width="64"&gt;3.89&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;" width="64"&gt;20.62&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;" width="64"&gt;19.61&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;" width="64"&gt;45.11&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;" width="64"&gt;100&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the codes are&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc freq data=nfhs_05.nonpreg_women;&lt;/P&gt;&lt;P&gt;where V024=29;&lt;/P&gt;&lt;P&gt;table&amp;nbsp; V025*Anemia_statusnpw/norow nocol missing&amp;nbsp;&amp;nbsp; ;&lt;/P&gt;&lt;P&gt;table&amp;nbsp; V013*Anemia_statusnpw/norow nocol missing ;&lt;/P&gt;&lt;P&gt;table&amp;nbsp; V106*Anemia_statusnpw/norow nocol missing ;&lt;/P&gt;&lt;P&gt;table&amp;nbsp; V130*Anemia_statusnpw/norow nocol missing ;&lt;/P&gt;&lt;P&gt;table&amp;nbsp; Age_group * Anemia_statusnpw/norow nocol missing ;&lt;/P&gt;&lt;P&gt;format V025 F00009_.;&lt;/P&gt;&lt;P&gt;format V013 F00001_.;&lt;/P&gt;&lt;P&gt;format V106 F00019_.;&lt;/P&gt;&lt;P&gt;format V130 F00609_.;&lt;/P&gt;&lt;P&gt;format Age_group agewomen_.;&lt;/P&gt;&lt;P&gt;weight weights;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;anil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Dec 2014 10:08:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/how-to-handle-missing-values-in-proc-freq/m-p/191630#M48207</guid>
      <dc:creator>anilgvdbm</dc:creator>
      <dc:date>2014-12-01T10:08:18Z</dc:date>
    </item>
    <item>
      <title>Re: how to handle missing values in proc freq</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/how-to-handle-missing-values-in-proc-freq/m-p/191631#M48208</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So you can just have a step before which drops data where that group (don't know the variable name) is missing, i.e. assuming anemia status groups is a_group:&lt;/P&gt;&lt;P&gt;data want;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; set have;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; where a_group ne .;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;proc freq...;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Dec 2014 10:50:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/how-to-handle-missing-values-in-proc-freq/m-p/191631#M48208</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2014-12-01T10:50:47Z</dc:date>
    </item>
    <item>
      <title>Re: how to handle missing values in proc freq</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/how-to-handle-missing-values-in-proc-freq/m-p/191632#M48209</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anil,&lt;/P&gt;&lt;P&gt;I think should use the MISSPRINT option rather than MISSING option.&amp;nbsp; Here's what the Proc Freq documentation says:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MISSPRINT&lt;/P&gt;&lt;P&gt;displays missing value frequencies in frequency or crosstabulation tables but does not include them in computations of percentages or statistics. &lt;/P&gt;MISSING&lt;P&gt;treats missing values as a valid nonmissing level for all TABLES variables. Displays missing levels in frequency and crosstabulation tables and includes them in computations of percentages and statistics. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eliminating missing values with a WHERE statement will affect other variables also, unless you run them in separate Proc Freq steps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've always found it useful to understand the missing value frequencies, even though I wasn't using them in computations.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Dave&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Dec 2014 03:04:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/how-to-handle-missing-values-in-proc-freq/m-p/191632#M48209</guid>
      <dc:creator>DaveBirch</dc:creator>
      <dc:date>2014-12-02T03:04:01Z</dc:date>
    </item>
    <item>
      <title>Re: how to handle missing values in proc freq</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/how-to-handle-missing-values-in-proc-freq/m-p/191633#M48210</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dave,&lt;/P&gt;&lt;P&gt;Thanks for the help i thought missprint will works only in proc tabulate otherwise i would have applied this before.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;anyway thanks a lot..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Dec 2014 03:24:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/how-to-handle-missing-values-in-proc-freq/m-p/191633#M48210</guid>
      <dc:creator>anilgvdbm</dc:creator>
      <dc:date>2014-12-02T03:24:34Z</dc:date>
    </item>
  </channel>
</rss>

