<?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: Suppressing Small Sample in SURVEY in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Suppressing-Small-Sample-in-SURVEY/m-p/449773#M283130</link>
    <description>&lt;P&gt;Thanks Reeza! A custom format may work. Either excluding entirely or masking should function, though. I'll see about doing a custom format.&lt;/P&gt;</description>
    <pubDate>Thu, 29 Mar 2018 20:31:12 GMT</pubDate>
    <dc:creator>johnsonemilyk</dc:creator>
    <dc:date>2018-03-29T20:31:12Z</dc:date>
    <item>
      <title>Suppressing Small Sample in SURVEY</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Suppressing-Small-Sample-in-SURVEY/m-p/445613#M283127</link>
      <description>&lt;P&gt;I'm wondering if there's a way to automatically filter output that doesn't meet user-determined suppression rules. I would like to find a way to automatically censor data with fewer than six unweighted responses and/or a relative standard error of 30 percent or more.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example, in the procedure below -- let's say there are only three men below the poverty line in my&amp;nbsp;unweighted sample. I would like to then exclude that value from the table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PROC SURVEYFREQ DATA=mydata;&lt;BR /&gt;TABLE gender*income / ROW CL CHISQ;&lt;BR /&gt;WEIGHT pop_weight; STRATA region;&lt;BR /&gt;TITLE "Analysis of Gender and Income";&lt;BR /&gt;RUN;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 14 Mar 2018 19:41:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Suppressing-Small-Sample-in-SURVEY/m-p/445613#M283127</guid>
      <dc:creator>johnsonemilyk</dc:creator>
      <dc:date>2018-03-14T19:41:12Z</dc:date>
    </item>
    <item>
      <title>Re: Suppressing Small Sample in SURVEY</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Suppressing-Small-Sample-in-SURVEY/m-p/445622#M283128</link>
      <description>&lt;P&gt;You can build a custom formats that shows those values as *****?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It depends on what you mean by 'filter', would that mean exclude entirely or mask?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/199146"&gt;@johnsonemilyk&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;I'm wondering if there's a way to automatically filter output that doesn't meet user-determined suppression rules. I would like to find a way to automatically censor data with fewer than six unweighted responses and/or a relative standard error of 30 percent or more.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For example, in the procedure below -- let's say there are only three men below the poverty line in my&amp;nbsp;unweighted sample. I would like to then exclude that value from the table.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;PROC SURVEYFREQ DATA=mydata;&lt;BR /&gt;TABLE gender*income / ROW CL CHISQ;&lt;BR /&gt;WEIGHT pop_weight; STRATA region;&lt;BR /&gt;TITLE "Analysis of Gender and Income";&lt;BR /&gt;RUN;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Mar 2018 19:57:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Suppressing-Small-Sample-in-SURVEY/m-p/445622#M283128</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-03-14T19:57:17Z</dc:date>
    </item>
    <item>
      <title>Re: Suppressing Small Sample in SURVEY</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Suppressing-Small-Sample-in-SURVEY/m-p/445637#M283129</link>
      <description>&lt;P&gt;Send the desired output to a dataset using the ODS OUTPUT statement.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;PROC SURVEYFREQ DATA=mydata;&lt;BR /&gt;TABLE gender*income / ROW CL CHISQ;&lt;/P&gt;
&lt;P&gt;ods output chisq =gender_income_chi;&lt;/P&gt;
&lt;P&gt;ods output crosstabs= gender_income_cross;&lt;BR /&gt;WEIGHT pop_weight; STRATA region;&lt;BR /&gt;TITLE "Analysis of Gender and Income";&lt;BR /&gt;RUN;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Would send the results of the CHISQ test to a dataset named gender_income_chi and the counts and such from the crosstab to a set gender_income_cross.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then use any of the reporting procedures and options to display, subset or manipulated&amp;nbsp;the data in the dataset as desired.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Mar 2018 20:41:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Suppressing-Small-Sample-in-SURVEY/m-p/445637#M283129</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2018-03-14T20:41:52Z</dc:date>
    </item>
    <item>
      <title>Re: Suppressing Small Sample in SURVEY</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Suppressing-Small-Sample-in-SURVEY/m-p/449773#M283130</link>
      <description>&lt;P&gt;Thanks Reeza! A custom format may work. Either excluding entirely or masking should function, though. I'll see about doing a custom format.&lt;/P&gt;</description>
      <pubDate>Thu, 29 Mar 2018 20:31:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Suppressing-Small-Sample-in-SURVEY/m-p/449773#M283130</guid>
      <dc:creator>johnsonemilyk</dc:creator>
      <dc:date>2018-03-29T20:31:12Z</dc:date>
    </item>
  </channel>
</rss>

