<?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: commonriskdiff using MR method in the case of double zero events in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/commonriskdiff-using-MR-method-in-the-case-of-double-zero-events/m-p/876905#M43365</link>
    <description>&lt;P&gt;Thank you! I can match the numbers.&lt;/P&gt;</description>
    <pubDate>Mon, 22 May 2023 13:55:34 GMT</pubDate>
    <dc:creator>helenjad</dc:creator>
    <dc:date>2023-05-22T13:55:34Z</dc:date>
    <item>
      <title>commonriskdiff using MR method in the case of double zero events</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/commonriskdiff-using-MR-method-in-the-case-of-double-zero-events/m-p/876676#M43336</link>
      <description>&lt;P&gt;Hello, I'd like to know more about the details how the MR method is implemented under double zero events. Below is the data and code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data test;&lt;BR /&gt;input strat trt $ responder $ count;&lt;BR /&gt;datalines;&lt;BR /&gt;1 Test Responder 4&lt;BR /&gt;1 Test NR 8&lt;BR /&gt;1 Pbo Responder 2&lt;BR /&gt;1 Pbo NR 11&lt;BR /&gt;2 Test Responder 0&lt;BR /&gt;2 Test NR 12&lt;BR /&gt;2 Pbo Responder 0&lt;BR /&gt;2 Pbo NR 13&lt;BR /&gt;;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;proc freq data=test;&lt;BR /&gt;weight count;&lt;BR /&gt;tables strat*trt * responder/commonriskdiff(column=2 cl=MR correct=NO);&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried to do some adjustment for the double zero count like adding 0.5 to the zero cells, adding 1 to the zero cells, adding 0.5 to each cell. It seems the results from SAS output are closest to the one when adding 0.5 to the zero cells. Is this how it's been implemented? Thank you.&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>Fri, 19 May 2023 14:37:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/commonriskdiff-using-MR-method-in-the-case-of-double-zero-events/m-p/876676#M43336</guid>
      <dc:creator>helenjad</dc:creator>
      <dc:date>2023-05-19T14:37:02Z</dc:date>
    </item>
    <item>
      <title>Re: commonriskdiff using MR method in the case of double zero events</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/commonriskdiff-using-MR-method-in-the-case-of-double-zero-events/m-p/876687#M43337</link>
      <description>&lt;P&gt;Details of computation are to be found in the online help for that option in the Proc Freq section.&amp;nbsp; &lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.4/procstat/procstat_freq_details63.htm#procstat.freq.freqcrdmrd" target="_blank"&gt;https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.4/procstat/procstat_freq_details63.htm#procstat.freq.freqcrdmrd&lt;/A&gt;&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/442936"&gt;@helenjad&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hello, I'd like to know more about the details how the MR method is implemented under double zero events. Below is the data and code.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;data test;&lt;BR /&gt;input strat trt $ responder $ count;&lt;BR /&gt;datalines;&lt;BR /&gt;1 Test Responder 4&lt;BR /&gt;1 Test NR 8&lt;BR /&gt;1 Pbo Responder 2&lt;BR /&gt;1 Pbo NR 11&lt;BR /&gt;2 Test Responder 0&lt;BR /&gt;2 Test NR 12&lt;BR /&gt;2 Pbo Responder 0&lt;BR /&gt;2 Pbo NR 13&lt;BR /&gt;;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;proc freq data=test;&lt;BR /&gt;weight count;&lt;BR /&gt;tables strat*trt * responder/commonriskdiff(column=2 cl=MR correct=NO);&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have tried to do some adjustment for the double zero count like adding 0.5 to the zero cells, adding 1 to the zero cells, adding 0.5 to each cell. It seems the results from SAS output are closest to the one when adding 0.5 to the zero cells. Is this how it's been implemented? Thank you.&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;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 19 May 2023 15:36:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/commonriskdiff-using-MR-method-in-the-case-of-double-zero-events/m-p/876687#M43337</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2023-05-19T15:36:49Z</dc:date>
    </item>
    <item>
      <title>Re: commonriskdiff using MR method in the case of double zero events</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/commonriskdiff-using-MR-method-in-the-case-of-double-zero-events/m-p/876688#M43338</link>
      <description>&lt;P&gt;In the &lt;A href="https://go.documentation.sas.com/doc/en/pgmsascdc/v_039/procstat/procstat_freq_details63.htm#procstat.freq.freqcrdmrd" target="_self"&gt;minimum risk weight computation&lt;/A&gt;, PROC FREQ add 0.5/n_hi to a zero-frequency table cell, where n_hi is the corresponding row sum (stratum h, row i).&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For more information, see&lt;/P&gt;
&lt;UL class="xisDoc-listUnordered" type="disc"&gt;
&lt;LI id="procstat_freqmehr_d01" class=" aa-bibitem"&gt;
&lt;P class="xisDoc-paragraph"&gt;Mehrotra, D.&amp;nbsp;V. (2001). “Stratification Issues with Binary Endpoints.”&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;EM&gt;Drug Information Journal&lt;/EM&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;35:1343–1350.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI class=" aa-bibitem"&gt;
&lt;P class="xisDoc-paragraph"&gt;Zhao et al (2001). "Confidence interval for the difference in binomial proportions from stratified 2x2 samples." &lt;EM&gt;JSM Proceedings 2001&lt;/EM&gt;.&amp;nbsp;&lt;/P&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;You can suppress this zero-cell adjustment by specifying COMMONRISKDIFF(CL=MR ADJUST=NO) in the TABLES statement.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 19 May 2023 15:37:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/commonriskdiff-using-MR-method-in-the-case-of-double-zero-events/m-p/876688#M43338</guid>
      <dc:creator>Watts</dc:creator>
      <dc:date>2023-05-19T15:37:46Z</dc:date>
    </item>
    <item>
      <title>Re: commonriskdiff using MR method in the case of double zero events</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/commonriskdiff-using-MR-method-in-the-case-of-double-zero-events/m-p/876901#M43363</link>
      <description>&lt;P&gt;The source document did not have the details if one of the strata is double zero events. If you check the formula, we have&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="helenjad_1-1684762142906.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/84180i88B353D58141407A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="helenjad_1-1684762142906.png" alt="helenjad_1-1684762142906.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="helenjad_0-1684761837432.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/84179i61042F5480BCE658/image-size/medium?v=v2&amp;amp;px=400" role="button" title="helenjad_0-1684761837432.png" alt="helenjad_0-1684761837432.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;If we have double zero events, p_{h1} and p_{h2} are zeros, and V_i^{-1} would be infinity. I'd like to know how it's been handled in SAS since I didn't get error/warning messages.&lt;/P&gt;</description>
      <pubDate>Mon, 22 May 2023 13:29:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/commonriskdiff-using-MR-method-in-the-case-of-double-zero-events/m-p/876901#M43363</guid>
      <dc:creator>helenjad</dc:creator>
      <dc:date>2023-05-22T13:29:47Z</dc:date>
    </item>
    <item>
      <title>Re: commonriskdiff using MR method in the case of double zero events</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/commonriskdiff-using-MR-method-in-the-case-of-double-zero-events/m-p/876903#M43364</link>
      <description>&lt;P&gt;In the minimum risk weight computation, PROC FREQ adds 0.5/n_hi to any zero-frequency table cell. This adjustment is made when there's one zero-frequency cell or when there are multiple zero-frequency cells in the multiway (stratified) table. You can suppress the adjustment by specifying ADJUST=NO in the COMMONRISKDIFF option.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 May 2023 13:48:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/commonriskdiff-using-MR-method-in-the-case-of-double-zero-events/m-p/876903#M43364</guid>
      <dc:creator>Watts</dc:creator>
      <dc:date>2023-05-22T13:48:20Z</dc:date>
    </item>
    <item>
      <title>Re: commonriskdiff using MR method in the case of double zero events</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/commonriskdiff-using-MR-method-in-the-case-of-double-zero-events/m-p/876905#M43365</link>
      <description>&lt;P&gt;Thank you! I can match the numbers.&lt;/P&gt;</description>
      <pubDate>Mon, 22 May 2023 13:55:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/commonriskdiff-using-MR-method-in-the-case-of-double-zero-events/m-p/876905#M43365</guid>
      <dc:creator>helenjad</dc:creator>
      <dc:date>2023-05-22T13:55:34Z</dc:date>
    </item>
    <item>
      <title>Re: commonriskdiff using MR method in the case of double zero events</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/commonriskdiff-using-MR-method-in-the-case-of-double-zero-events/m-p/879431#M43504</link>
      <description>&lt;P&gt;In a follow-up question similar to the double zero case mentioned above, what if we have a double one case, i.e. both p_h1 and p_h2 are equal to 1, we would also have variance equal to zero. What SAS would do to handle this situation? Thank you.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jun 2023 19:17:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/commonriskdiff-using-MR-method-in-the-case-of-double-zero-events/m-p/879431#M43504</guid>
      <dc:creator>helenjad</dc:creator>
      <dc:date>2023-06-06T19:17:37Z</dc:date>
    </item>
    <item>
      <title>Re: commonriskdiff using MR method in the case of double zero events</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/commonriskdiff-using-MR-method-in-the-case-of-double-zero-events/m-p/880971#M43586</link>
      <description>&lt;P&gt;For anyone who are interested in the case, the weight computation is matched when adding 0.5 to each cell not 0.5/n_hi.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jun 2023 16:18:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/commonriskdiff-using-MR-method-in-the-case-of-double-zero-events/m-p/880971#M43586</guid>
      <dc:creator>helenjad</dc:creator>
      <dc:date>2023-06-15T16:18:20Z</dc:date>
    </item>
  </channel>
</rss>

