<?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 interval Observed Agreement in Kappa in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Confidence-interval-Observed-Agreement-in-Kappa/m-p/706949#M34256</link>
    <description>&lt;P&gt;The point estimate of observed agreement is fixed by the row and column totals. I don't see any easy way to calculate the standard error based on this other than the method you propose.&amp;nbsp; You have the estimate for p, so now it boils down to what N to use.&amp;nbsp; I would be tempted to use the sum of the diagonals (N=17) which is the agreement numerator.&amp;nbsp; From that I get, LB=0.7391 - 1.96 * sqrt (0.7391 * 0.2609/17) = 0.5304.&amp;nbsp; For the UB I get 0.7391 + 1.96*(0.7391*0.2609/17) = 0.9479.&amp;nbsp; Does this make sense?&amp;nbsp; The interval would be narrower for N as the total = (0.5597, 0.9186).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SteveDenham&lt;/P&gt;</description>
    <pubDate>Fri, 18 Dec 2020 14:14:08 GMT</pubDate>
    <dc:creator>SteveDenham</dc:creator>
    <dc:date>2020-12-18T14:14:08Z</dc:date>
    <item>
      <title>Confidence interval Observed Agreement in Kappa</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Confidence-interval-Observed-Agreement-in-Kappa/m-p/706939#M34254</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;I am trying to calculate the confidence interval for the agreement observed in the Kappa analysis.&lt;/P&gt;&lt;P&gt;If I run for example&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data FatComp;&lt;BR /&gt;input Test Response Count;&lt;BR /&gt;datalines;&lt;BR /&gt;0 0 6&lt;BR /&gt;0 1 2&lt;BR /&gt;1 0 4&lt;BR /&gt;1 1 11&lt;BR /&gt;;&lt;BR /&gt;proc sort data=FatComp;&lt;BR /&gt;by descending Test descending Response;&lt;BR /&gt;run;&lt;BR /&gt;proc freq data=FatComp order=data;&lt;BR /&gt;weight Count;&lt;BR /&gt;tables Test*Response / AGREE(KAPPADETAILS) ;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I get that for the Kappa statistic, I get the confidence interval. But I would also like to obtain the confidence interval for the observed agreement (in Kappa Details 0.7391).&lt;/P&gt;&lt;P&gt;First I thought it would be like the confidence interval of a proportion (P + -1.96 * SQR (p (1-p) / N), but it isn't ... any ideas?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks ¡&lt;/P&gt;</description>
      <pubDate>Fri, 18 Dec 2020 13:07:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Confidence-interval-Observed-Agreement-in-Kappa/m-p/706939#M34254</guid>
      <dc:creator>dcalbet01</dc:creator>
      <dc:date>2020-12-18T13:07:12Z</dc:date>
    </item>
    <item>
      <title>Re: Confidence interval Observed Agreement in Kappa</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Confidence-interval-Observed-Agreement-in-Kappa/m-p/706949#M34256</link>
      <description>&lt;P&gt;The point estimate of observed agreement is fixed by the row and column totals. I don't see any easy way to calculate the standard error based on this other than the method you propose.&amp;nbsp; You have the estimate for p, so now it boils down to what N to use.&amp;nbsp; I would be tempted to use the sum of the diagonals (N=17) which is the agreement numerator.&amp;nbsp; From that I get, LB=0.7391 - 1.96 * sqrt (0.7391 * 0.2609/17) = 0.5304.&amp;nbsp; For the UB I get 0.7391 + 1.96*(0.7391*0.2609/17) = 0.9479.&amp;nbsp; Does this make sense?&amp;nbsp; The interval would be narrower for N as the total = (0.5597, 0.9186).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SteveDenham&lt;/P&gt;</description>
      <pubDate>Fri, 18 Dec 2020 14:14:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Confidence-interval-Observed-Agreement-in-Kappa/m-p/706949#M34256</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2020-12-18T14:14:08Z</dc:date>
    </item>
    <item>
      <title>Re: Confidence interval Observed Agreement in Kappa</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Confidence-interval-Observed-Agreement-in-Kappa/m-p/707001#M34257</link>
      <description>&lt;P&gt;Observed agreement (the sum of the diagonal proportions in the crosstabs table) is also referred to as &lt;EM&gt;accuracy&lt;/EM&gt;. This&amp;nbsp;&lt;A href="https://support.sas.com/kb/24/170.html" target="_self"&gt;SAS Usage Note&lt;/A&gt;&amp;nbsp;(&lt;EM&gt;Estimating sensitivity, specificity, positive and negative predictive values, and other statistics&lt;/EM&gt;) shows how to create the corresponding binary variable for accuracy and then use the BINOMIAL option to get confidence limits and tests. From the usage note,&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data acc; 
   set FatComp;
   acc = (test = response); 
   run;
 proc freq;
    tables acc / binomial(level="1");
    weight count;
    run;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;You can also use the&amp;nbsp;&lt;A href="https://go.documentation.sas.com/?cdcId=pgmsascdc&amp;amp;cdcVersion=v_007&amp;amp;docsetId=statug&amp;amp;docsetTarget=statug_freq_syntax08.htm&amp;amp;locale=en#statug.freq.freqbac" target="_self"&gt;BINOMIAL(CL=type)&lt;/A&gt;&amp;nbsp;option to specify the confidence limit type (for example, Agresti-Coull, Wilson, etc.).&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For 2x2 tables, the&amp;nbsp;&lt;A href="https://go.documentation.sas.com/?cdcId=pgmsascdc&amp;amp;cdcVersion=v_007&amp;amp;docsetId=statug&amp;amp;docsetTarget=statug_freq_syntax08.htm&amp;amp;locale=en#statug.freq.freqsenspec" target="_self"&gt;SENSPEC&lt;/A&gt;&amp;nbsp;option (in the PROC FREQ TABLES statement) now includes accuracy together with confidence limits in the&amp;nbsp;&lt;A href="https://go.documentation.sas.com/?cdcId=pgmsascdc&amp;amp;cdcVersion=v_007&amp;amp;docsetId=statug&amp;amp;docsetTarget=statug_freq_details53.htm&amp;amp;locale=en" target="_self"&gt;Sensitivity and Specificity&lt;/A&gt;&amp;nbsp;table.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Dec 2020 16:36:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Confidence-interval-Observed-Agreement-in-Kappa/m-p/707001#M34257</guid>
      <dc:creator>Watts</dc:creator>
      <dc:date>2020-12-18T16:36:58Z</dc:date>
    </item>
  </channel>
</rss>

