<?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: Which PROC FREQ 95% CI can handle zero counts, if any? in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Which-PROC-FREQ-95-CI-can-handle-zero-counts-if-any/m-p/932713#M46501</link>
    <description>&lt;P&gt;This approach would also work for the relative risk with all of the CL= options other than EXACT.&lt;/P&gt;</description>
    <pubDate>Mon, 17 Jun 2024 17:53:49 GMT</pubDate>
    <dc:creator>SAS_Rob</dc:creator>
    <dc:date>2024-06-17T17:53:49Z</dc:date>
    <item>
      <title>Which PROC FREQ 95% CI can handle zero counts, if any?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Which-PROC-FREQ-95-CI-can-handle-zero-counts-if-any/m-p/932654#M46491</link>
      <description>&lt;P&gt;I want to find the relative risk and risk difference and their corresponding 95% CIs to compare adverse events in a treatment group compared to a placebo group.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What 95% CI can handle zero counts using PROC FREQ (or a different procedure)? I was going to use Wald and Agresti-Caffo, respectively, but it looks like Wald can't handle zero counts and since we have a small sample size (n&amp;lt;10), perhaps that's not the best option in general...&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jun 2024 14:48:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Which-PROC-FREQ-95-CI-can-handle-zero-counts-if-any/m-p/932654#M46491</guid>
      <dc:creator>mariko5797</dc:creator>
      <dc:date>2024-06-17T14:48:47Z</dc:date>
    </item>
    <item>
      <title>Re: Which PROC FREQ 95% CI can handle zero counts, if any?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Which-PROC-FREQ-95-CI-can-handle-zero-counts-if-any/m-p/932699#M46494</link>
      <description>&lt;P&gt;What does "handle" mean in this context? It seems to me that PROC FREQ handles zero counts properly, by my definition of "handle".&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jun 2024 16:57:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Which-PROC-FREQ-95-CI-can-handle-zero-counts-if-any/m-p/932699#M46494</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2024-06-17T16:57:59Z</dc:date>
    </item>
    <item>
      <title>Re: Which PROC FREQ 95% CI can handle zero counts, if any?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Which-PROC-FREQ-95-CI-can-handle-zero-counts-if-any/m-p/932700#M46495</link>
      <description>&lt;P&gt;For example, SAS documentation states if any of the cells are zero, then Wald 95% CI cannot be computed.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jun 2024 16:59:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Which-PROC-FREQ-95-CI-can-handle-zero-counts-if-any/m-p/932700#M46495</guid>
      <dc:creator>mariko5797</dc:creator>
      <dc:date>2024-06-17T16:59:56Z</dc:date>
    </item>
    <item>
      <title>Re: Which PROC FREQ 95% CI can handle zero counts, if any?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Which-PROC-FREQ-95-CI-can-handle-zero-counts-if-any/m-p/932702#M46496</link>
      <description>&lt;P&gt;Yes, in that case, SAS "handles" it properly, as far as I know.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jun 2024 17:09:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Which-PROC-FREQ-95-CI-can-handle-zero-counts-if-any/m-p/932702#M46496</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2024-06-17T17:09:56Z</dc:date>
    </item>
    <item>
      <title>Re: Which PROC FREQ 95% CI can handle zero counts, if any?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Which-PROC-FREQ-95-CI-can-handle-zero-counts-if-any/m-p/932705#M46497</link>
      <description>&lt;P&gt;I see what you mean. Let me re-phrase then, are there any methods that will give me 95% CI if there is a zero in one of the cells? Are would they all be non-calculable?&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jun 2024 17:13:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Which-PROC-FREQ-95-CI-can-handle-zero-counts-if-any/m-p/932705#M46497</guid>
      <dc:creator>mariko5797</dc:creator>
      <dc:date>2024-06-17T17:13:57Z</dc:date>
    </item>
    <item>
      <title>Re: Which PROC FREQ 95% CI can handle zero counts, if any?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Which-PROC-FREQ-95-CI-can-handle-zero-counts-if-any/m-p/932706#M46498</link>
      <description>&lt;P&gt;&lt;SPAN class="csD5D7D290"&gt;Unfortunately, PROC FREQ doesn’t provide RISKDIFF analysis for two-way tables when there is a zero-frequency column(both treatment arms have no positive responses).&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="csD5D7D290"&gt;In the meantime the work-around to assign very small weights to the zero-frequency cells in your two-way table is the only option. When you use this work-around, the following confidence limit types are available for the risk difference: Agresti-Caffo, Hauck-Anderson, Miettinen-Nurminen (score), and Newcombe. Of course the traditional/Wald confidence limits are also available, but equal (0,0) in the case of a zero-frequency column where the estimate of the risk difference is 0. &amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jun 2024 17:22:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Which-PROC-FREQ-95-CI-can-handle-zero-counts-if-any/m-p/932706#M46498</guid>
      <dc:creator>SAS_Rob</dc:creator>
      <dc:date>2024-06-17T17:22:55Z</dc:date>
    </item>
    <item>
      <title>Re: Which PROC FREQ 95% CI can handle zero counts, if any?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Which-PROC-FREQ-95-CI-can-handle-zero-counts-if-any/m-p/932711#M46499</link>
      <description>What about for relative risk?</description>
      <pubDate>Mon, 17 Jun 2024 17:43:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Which-PROC-FREQ-95-CI-can-handle-zero-counts-if-any/m-p/932711#M46499</guid>
      <dc:creator>mariko5797</dc:creator>
      <dc:date>2024-06-17T17:43:36Z</dc:date>
    </item>
    <item>
      <title>Re: Which PROC FREQ 95% CI can handle zero counts, if any?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Which-PROC-FREQ-95-CI-can-handle-zero-counts-if-any/m-p/932712#M46500</link>
      <description>&lt;P&gt;I don't know if it will work or be statistically correct, but you could try setting the zero cell to a very small WEIGHT 1e-11 and see what happens.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, showing your work.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jun 2024 17:52:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Which-PROC-FREQ-95-CI-can-handle-zero-counts-if-any/m-p/932712#M46500</guid>
      <dc:creator>data_null__</dc:creator>
      <dc:date>2024-06-17T17:52:25Z</dc:date>
    </item>
    <item>
      <title>Re: Which PROC FREQ 95% CI can handle zero counts, if any?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Which-PROC-FREQ-95-CI-can-handle-zero-counts-if-any/m-p/932713#M46501</link>
      <description>&lt;P&gt;This approach would also work for the relative risk with all of the CL= options other than EXACT.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jun 2024 17:53:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Which-PROC-FREQ-95-CI-can-handle-zero-counts-if-any/m-p/932713#M46501</guid>
      <dc:creator>SAS_Rob</dc:creator>
      <dc:date>2024-06-17T17:53:49Z</dc:date>
    </item>
    <item>
      <title>Re: Which PROC FREQ 95% CI can handle zero counts, if any?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Which-PROC-FREQ-95-CI-can-handle-zero-counts-if-any/m-p/940830#M46971</link>
      <description>&lt;P&gt;Hi there! &lt;span class="lia-unicode-emoji" title=":waving_hand:"&gt;👋&lt;/span&gt;&lt;/P&gt;&lt;P&gt;You're absolutely right to be cautious about using Wald intervals, especially when dealing with small sample sizes and zero counts. The &lt;STRONG&gt;Agresti-Caffo method&lt;/STRONG&gt; is a great alternative in these situations, as it can handle zero counts and tends to provide more reliable estimates when sample sizes are small (n &amp;lt; 10).&lt;/P&gt;&lt;P&gt;I recently wrote a detailed article on this topic, where I explain the Agresti-Caffo method, including its SAS implementation. In the article, I also provide a step-by-step example with SAS code and discuss the interpretation of the results. This should be particularly useful for your scenario of calculating &lt;STRONG&gt;relative risk&lt;/STRONG&gt; and &lt;STRONG&gt;risk difference&lt;/STRONG&gt; along with their 95% confidence intervals.&lt;/P&gt;&lt;P&gt;You can find the article here: &lt;A href="https://www.sasdesdecero.com/implementacion-en-sas-del-metodo-de-agresti-y-caffo/" target="_self"&gt;Agresti-Caffo Implementation in SAS&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The method works well for small sample sizes and when dealing with zero counts, so it could be exactly what you're looking for.&lt;/P&gt;&lt;P&gt;Feel free to check it out and let me know if you have any further questions!&lt;/P&gt;&lt;P&gt;Best of luck with your analysis! &lt;span class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;😊&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Aug 2024 11:24:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Which-PROC-FREQ-95-CI-can-handle-zero-counts-if-any/m-p/940830#M46971</guid>
      <dc:creator>jorgelobin</dc:creator>
      <dc:date>2024-08-26T11:24:26Z</dc:date>
    </item>
  </channel>
</rss>

