<?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: Confidence intervals around weighted proportions in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Confidence-intervals-around-weighted-proportions/m-p/183890#M46763</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you sampled by strata then you definately need a STRATA statement and possible associated sample rates&amp;nbsp; with the RATE= option or different counts using a&amp;nbsp; Total=option dataset. Look in the Surveyfreq online help for the descriptions of the data sets required with the Rate or Total option.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 17 Jul 2014 22:09:50 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2014-07-17T22:09:50Z</dc:date>
    <item>
      <title>Confidence intervals around weighted proportions</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Confidence-intervals-around-weighted-proportions/m-p/183889#M46762</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I conducted a survey in multiple healthcare clinics to assess the prevalence of certain conditions (e.g., diabetes).&amp;nbsp; I am trying to calculate the proportion and 95% CI for those with the condition after weighting by size of clinic (i.e., number of total clinic visits that year).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried using the following procedure:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #0000ff;"&gt;proc surveyfreq data=survey;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; tables diabetes / cl;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; weight visits;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; run;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Question --- I want to calculate a 95% CI that takes into account the variance from each stratum (each facility) that was used to calculate that weighted proportion.&amp;nbsp; Does this code do this?&amp;nbsp; Or does it merely take the final weighted proportion and then calculate a 95% CI around it assuming n observations?&amp;nbsp; Also, I saw on a related post something about taking target population into account when calculating confidence limits using proc surveyfreq.&amp;nbsp; Is there a way to do this? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Appreciate your help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jul 2014 20:46:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Confidence-intervals-around-weighted-proportions/m-p/183889#M46762</guid>
      <dc:creator>NG1</dc:creator>
      <dc:date>2014-07-17T20:46:25Z</dc:date>
    </item>
    <item>
      <title>Re: Confidence intervals around weighted proportions</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Confidence-intervals-around-weighted-proportions/m-p/183890#M46763</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you sampled by strata then you definately need a STRATA statement and possible associated sample rates&amp;nbsp; with the RATE= option or different counts using a&amp;nbsp; Total=option dataset. Look in the Surveyfreq online help for the descriptions of the data sets required with the Rate or Total option.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jul 2014 22:09:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Confidence-intervals-around-weighted-proportions/m-p/183890#M46763</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2014-07-17T22:09:50Z</dc:date>
    </item>
  </channel>
</rss>

