<?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 Replicate weights in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Replicate-weights/m-p/340946#M17934</link>
    <description>&lt;P&gt;My dataset has 28 replicate weights and I use them in "PROC SURVEYFREQ" using the repweights statement. In the results viewer, I noticed in the Variance Estimation table that the number of replicates is listed as 12. Why is there a discrepancy in the number of replicate weights in the dataset and the results viewer?&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 14 Mar 2017 20:21:19 GMT</pubDate>
    <dc:creator>shovakc</dc:creator>
    <dc:date>2017-03-14T20:21:19Z</dc:date>
    <item>
      <title>Replicate weights</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Replicate-weights/m-p/340946#M17934</link>
      <description>&lt;P&gt;My dataset has 28 replicate weights and I use them in "PROC SURVEYFREQ" using the repweights statement. In the results viewer, I noticed in the Variance Estimation table that the number of replicates is listed as 12. Why is there a discrepancy in the number of replicate weights in the dataset and the results viewer?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Mar 2017 20:21:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Replicate-weights/m-p/340946#M17934</guid>
      <dc:creator>shovakc</dc:creator>
      <dc:date>2017-03-14T20:21:19Z</dc:date>
    </item>
    <item>
      <title>Re: Replicate weights</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Replicate-weights/m-p/340952#M17936</link>
      <description>&lt;P&gt;Please post the code used. Other options may have influence on the result.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also from the documentation:&lt;/P&gt;
&lt;P&gt;Each REPWEIGHTS variable should contain the weights for a single replicate, and the &lt;FONT color="#339966"&gt;number of replicates equals the number of REPWEIGHTS variables&lt;/FONT&gt;. The REPWEIGHTS variables must be numeric, and the variable values must be nonnegative numbers.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So how many variables were on your REPWEIGHTS statement?&lt;/P&gt;
&lt;P&gt;This could also be the case of analyzing&amp;nbsp;one or more&amp;nbsp;variables with low frequency that had missing values for all the records in some replicates.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Mar 2017 20:45:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Replicate-weights/m-p/340952#M17936</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2017-03-14T20:45:28Z</dc:date>
    </item>
    <item>
      <title>Re: Replicate weights</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Replicate-weights/m-p/341156#M17954</link>
      <description>&lt;P&gt;Thanks. Here is the code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc surveyfreq data=CIrear15;&lt;BR /&gt;REPWEIGHTS CI_FWT1:CI_FWT28;&lt;BR /&gt;weight CI_FWT0;&lt;BR /&gt;TABLES SEAT_BELT;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There are 28 replicate weights and they are all numeric and nonnegative numbers. I do not get any error or warning messages when I run this code. I am just curious why the results window shows 12 replicate weights even though there are 28 replicate weights in the dataset.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Mar 2017 12:21:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Replicate-weights/m-p/341156#M17954</guid>
      <dc:creator>shovakc</dc:creator>
      <dc:date>2017-03-15T12:21:19Z</dc:date>
    </item>
    <item>
      <title>Re: Replicate weights</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Replicate-weights/m-p/341277#M17958</link>
      <description>&lt;P&gt;Try&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;REPWEIGHTS CI_FWT1 - CI_FWT28;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You didn't say but I suspect that the replicates used were CI_FWT1, CI_FWT10&amp;nbsp;through 19 and CI_FWT28&lt;/P&gt;
&lt;P&gt;Reason:&lt;/P&gt;
&lt;P&gt;CI_FWT1: says use all of the variables that start with CI_FWT1&amp;nbsp;&amp;nbsp;&amp;nbsp; ( first 11 variable as above)&lt;/P&gt;
&lt;P&gt;and then ADDED the CI_FWT28.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Test this by using:&lt;/P&gt;
&lt;P&gt;data junk;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; set CIrear15;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; keep CI_FWT1:CI_FWT28;&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;
&lt;P&gt;and see if the variables I mentioned are the only ones in the set.&lt;/P&gt;
&lt;P&gt;The - says to use the numbered range in the list 1 through 28.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Mar 2017 17:54:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Replicate-weights/m-p/341277#M17958</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2017-03-15T17:54:02Z</dc:date>
    </item>
    <item>
      <title>Re: Replicate weights</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Replicate-weights/m-p/341281#M17959</link>
      <description>Thank you for the suggestion! That worked. I was using the wrong code.&lt;BR /&gt;</description>
      <pubDate>Wed, 15 Mar 2017 18:14:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Replicate-weights/m-p/341281#M17959</guid>
      <dc:creator>shovakc</dc:creator>
      <dc:date>2017-03-15T18:14:38Z</dc:date>
    </item>
  </channel>
</rss>

