<?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: Unweighted frequency/count in PROC FREQ Output when using survey weights? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Unweighted-frequency-count-in-PROC-FREQ-Output-when-using-survey/m-p/531701#M145576</link>
    <description>&lt;P&gt;I tend to direct output from Surveyfreq to data sets and then print or use other report proc, possibly after manipulation.&lt;/P&gt;
&lt;P&gt;Other wise, use proc freq twice, output the results to data sets (use the noprint option if you don't want to see these) combine the data renaming the Count (and percent if desired) variables in one when merging/joining with the other data set&amp;nbsp;on the values of your table variables&lt;/P&gt;</description>
    <pubDate>Thu, 31 Jan 2019 16:32:29 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2019-01-31T16:32:29Z</dc:date>
    <item>
      <title>Unweighted frequency/count in PROC FREQ Output when using survey weights?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Unweighted-frequency-count-in-PROC-FREQ-Output-when-using-survey/m-p/531621#M145541</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm using proc freq to generate tables out of my surveydata. I'm using surveyweights in the weight statement (to correct survey nonresponse). For academic purposes, I would like to combine weighted percentages with unweighted frequencies in my SAS output.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is this possible in SAS 9.4.? How?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;freq&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;data&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=work.inkomen1; &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;tables&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; gf*v82 gesl*gf*v82 lftk*gf*v82/&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;nocol&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;nopercent&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;chisq&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;title&lt;/FONT&gt; &lt;FONT color="#800080" face="Courier New" size="2"&gt;'Bent u of iemand anders van uw gezin eigenaar van deze woning? ABSOLUTE AANTALLEN'&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;weight&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; weeg2;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Veerle&lt;/P&gt;</description>
      <pubDate>Thu, 31 Jan 2019 12:55:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Unweighted-frequency-count-in-PROC-FREQ-Output-when-using-survey/m-p/531621#M145541</guid>
      <dc:creator>veertje</dc:creator>
      <dc:date>2019-01-31T12:55:27Z</dc:date>
    </item>
    <item>
      <title>Re: Unweighted frequency/count in PROC FREQ Output when using survey weights?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Unweighted-frequency-count-in-PROC-FREQ-Output-when-using-survey/m-p/531667#M145561</link>
      <description>&lt;P&gt;If you use Proc Surveyfreq it will give Frequency and Unweighted frequencies.&lt;/P&gt;
&lt;P&gt;Plus if your survey has any type of complex design this would be the appropriate procedure if the proper sample design information is provided.&lt;/P&gt;</description>
      <pubDate>Thu, 31 Jan 2019 15:31:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Unweighted-frequency-count-in-PROC-FREQ-Output-when-using-survey/m-p/531667#M145561</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2019-01-31T15:31:37Z</dc:date>
    </item>
    <item>
      <title>Re: Unweighted frequency/count in PROC FREQ Output when using survey weights?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Unweighted-frequency-count-in-PROC-FREQ-Output-when-using-survey/m-p/531673#M145565</link>
      <description>&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;I'm familiar with proc surveyfreq (no need for that in this particular issue as I have a simple sample design). But proc surveyfreq output&amp;nbsp;gives me these really annoying flat tables.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I usually model my output (with ODS and proc template) to get the exact tables I want from proc freq, and export these to excel. This way I can quickly generate charts ... and there is no need of typing everything in word, just copy/paste ...&lt;/P&gt;&lt;P&gt;I can do this for proc freq output, but not for proc surveyfreq output since it gives me these flat tables.&lt;/P&gt;&lt;P&gt;If someone has tips how to get nice 2*2 tables out of proc surveyfreq, that would help too and I&amp;nbsp;would be happy. &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 31 Jan 2019 15:50:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Unweighted-frequency-count-in-PROC-FREQ-Output-when-using-survey/m-p/531673#M145565</guid>
      <dc:creator>veertje</dc:creator>
      <dc:date>2019-01-31T15:50:31Z</dc:date>
    </item>
    <item>
      <title>Re: Unweighted frequency/count in PROC FREQ Output when using survey weights?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Unweighted-frequency-count-in-PROC-FREQ-Output-when-using-survey/m-p/531701#M145576</link>
      <description>&lt;P&gt;I tend to direct output from Surveyfreq to data sets and then print or use other report proc, possibly after manipulation.&lt;/P&gt;
&lt;P&gt;Other wise, use proc freq twice, output the results to data sets (use the noprint option if you don't want to see these) combine the data renaming the Count (and percent if desired) variables in one when merging/joining with the other data set&amp;nbsp;on the values of your table variables&lt;/P&gt;</description>
      <pubDate>Thu, 31 Jan 2019 16:32:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Unweighted-frequency-count-in-PROC-FREQ-Output-when-using-survey/m-p/531701#M145576</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2019-01-31T16:32:29Z</dc:date>
    </item>
  </channel>
</rss>

