<?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: Frequency and sampling problem in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Frequency-and-sampling-problem/m-p/411637#M67359</link>
    <description>&lt;P&gt;&lt;EM&gt;&amp;gt;&amp;nbsp;I cannot use the weight command on categorical variables so I am at a loss of what to do.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can use the WEIGHT statement&amp;nbsp;for categorical variables. However, if these are survey weights you might want to use the &lt;A href="http://go.documentation.sas.com/?docsetId=statug&amp;amp;docsetTarget=statug_surveyfreq_toc.htm&amp;amp;docsetVersion=14.3&amp;amp;locale=en" target="_self"&gt;SURVEYFREQ procedure&lt;/A&gt; instead, which corrects the variance estimates to account for the sampling design.&lt;/P&gt;</description>
    <pubDate>Wed, 08 Nov 2017 18:57:29 GMT</pubDate>
    <dc:creator>Rick_SAS</dc:creator>
    <dc:date>2017-11-08T18:57:29Z</dc:date>
    <item>
      <title>Frequency and sampling problem</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Frequency-and-sampling-problem/m-p/411588#M67356</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am new to SAS and was trying to figure out how to fix my sample weight in my data. I am using the proc freq procedure to look at two variables. I attached the output below. However I want to say what region has the best health status but cannot do this because of distribution of my sample (that being the majority coming from the south). I cannot use the weight command on categorical variables so I am at a loss of what to do. I hope this makes sense and if anyone could help that would be greatly appreciated.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description>
      <pubDate>Wed, 08 Nov 2017 16:57:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Frequency-and-sampling-problem/m-p/411588#M67356</guid>
      <dc:creator>ericageiger</dc:creator>
      <dc:date>2017-11-08T16:57:14Z</dc:date>
    </item>
    <item>
      <title>Re: Frequency and sampling problem</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Frequency-and-sampling-problem/m-p/411637#M67359</link>
      <description>&lt;P&gt;&lt;EM&gt;&amp;gt;&amp;nbsp;I cannot use the weight command on categorical variables so I am at a loss of what to do.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can use the WEIGHT statement&amp;nbsp;for categorical variables. However, if these are survey weights you might want to use the &lt;A href="http://go.documentation.sas.com/?docsetId=statug&amp;amp;docsetTarget=statug_surveyfreq_toc.htm&amp;amp;docsetVersion=14.3&amp;amp;locale=en" target="_self"&gt;SURVEYFREQ procedure&lt;/A&gt; instead, which corrects the variance estimates to account for the sampling design.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Nov 2017 18:57:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Frequency-and-sampling-problem/m-p/411637#M67359</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2017-11-08T18:57:29Z</dc:date>
    </item>
  </channel>
</rss>

