<?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: How to estimate sample size to meet specificity and sensitivity requirements in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-to-estimate-sample-size-to-meet-specificity-and-sensitivity/m-p/420866#M66960</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Considering that nobody has contributed yet, let me take a stab at your question. To the best of my knowledge, the Specificity and Sensitivity of a test do not depend on sample size. But, the precision of the estimates for Specificity and Sensitivity is dependent on sample size. Therefore, if I understand your inquiry correctly, you will not modify the Specificity or Sensitivity by adding more samples to your experiment.&lt;/P&gt;
&lt;P&gt;However, if your question is about the mixture of positive and negative cases in your experiment, then you can easily derive those from the definition of Sensitivity and Specificity.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Thierry_S_1-1632462842904.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/36058i74B63CD6F968D58D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Thierry_S_1-1632462842904.png" alt="Thierry_S_1-1632462842904.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I hope it helps,&lt;/P&gt;
&lt;P&gt;Best,&lt;/P&gt;
&lt;P&gt;TS&lt;/P&gt;
&lt;DIV id="tinyMceEditor_791f2732dd8f23Thierry_S_0" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 24 Sep 2021 05:55:04 GMT</pubDate>
    <dc:creator>Thierry_S</dc:creator>
    <dc:date>2021-09-24T05:55:04Z</dc:date>
    <item>
      <title>How to estimate sample size to meet specificity and sensitivity requirements</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-estimate-sample-size-to-meet-specificity-and-sensitivity/m-p/420593#M66943</link>
      <description>&lt;P&gt;Hi, I'm trying to calculate the sample size required for my test to meet the sensitivity and specificity requirements.&lt;/P&gt;&lt;P&gt;I have a binary test that detects the presence of bacteria in water, if it's positive bacteria is present, if it's negative it is not present.&lt;/P&gt;&lt;P&gt;I would like my test to have&lt;/P&gt;&lt;P&gt;92% sensitivity (with 95% CI of 90-94%)&lt;/P&gt;&lt;P&gt;and&amp;nbsp;&lt;/P&gt;&lt;P&gt;90% specificity (with 95% CI of 88-92%)&lt;/P&gt;&lt;P&gt;and I want the power to be 0.8&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to know how many samples I need in order to meet this requirements, how many positive bacteria samples and negative bacteria samples.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How would I go about doing this calculation? I've had a look under DOE &amp;gt; Design Diagnostics &amp;gt; Sample Size and Power. But I'm still not clear on which I should be using and how.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2023 00:39:19 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-estimate-sample-size-to-meet-specificity-and-sensitivity/m-p/420593#M66943</guid>
      <dc:creator>Agustin</dc:creator>
      <dc:date>2023-06-09T00:39:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to estimate sample size to meet specificity and sensitivity requirements</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-estimate-sample-size-to-meet-specificity-and-sensitivity/m-p/420866#M66960</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Considering that nobody has contributed yet, let me take a stab at your question. To the best of my knowledge, the Specificity and Sensitivity of a test do not depend on sample size. But, the precision of the estimates for Specificity and Sensitivity is dependent on sample size. Therefore, if I understand your inquiry correctly, you will not modify the Specificity or Sensitivity by adding more samples to your experiment.&lt;/P&gt;
&lt;P&gt;However, if your question is about the mixture of positive and negative cases in your experiment, then you can easily derive those from the definition of Sensitivity and Specificity.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Thierry_S_1-1632462842904.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/36058i74B63CD6F968D58D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Thierry_S_1-1632462842904.png" alt="Thierry_S_1-1632462842904.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I hope it helps,&lt;/P&gt;
&lt;P&gt;Best,&lt;/P&gt;
&lt;P&gt;TS&lt;/P&gt;
&lt;DIV id="tinyMceEditor_791f2732dd8f23Thierry_S_0" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Sep 2021 05:55:04 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-estimate-sample-size-to-meet-specificity-and-sensitivity/m-p/420866#M66960</guid>
      <dc:creator>Thierry_S</dc:creator>
      <dc:date>2021-09-24T05:55:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to estimate sample size to meet specificity and sensitivity requirements</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-estimate-sample-size-to-meet-specificity-and-sensitivity/m-p/420876#M66961</link>
      <description>&lt;P&gt;Yes, the Specificity and Sensitivity of a test will not change with the sample size. What I meant by the requirements is that the 95% CI are between the quoted values.&lt;/P&gt;&lt;P&gt;The more samples I test the more confident I can be that the "true" Specificity and Sensitivity of my test is close to the one I calculate. Does this make sense?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Sep 2021 07:38:03 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-estimate-sample-size-to-meet-specificity-and-sensitivity/m-p/420876#M66961</guid>
      <dc:creator>Agustin</dc:creator>
      <dc:date>2021-09-24T07:38:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to estimate sample size to meet specificity and sensitivity requirements</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-estimate-sample-size-to-meet-specificity-and-sensitivity/m-p/420975#M66968</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I don't believe that JMP has the direct capability to conduct this type of estimation but I found this public domain article that may help you:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://ncss-wpengine.netdna-ssl.com/wp-content/themes/ncss/pdf/Procedures/PASS/Confidence_Intervals_for_the_Ratio_of_Two_Proportions.pdf" target="_blank"&gt;https://ncss-wpengine.netdna-ssl.com/wp-content/themes/ncss/pdf/Procedures/PASS/Confidence_Intervals_for_the_Ratio_of_Two_Proportions.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Best,&lt;/P&gt;
&lt;P&gt;TS&lt;/P&gt;</description>
      <pubDate>Fri, 24 Sep 2021 16:22:46 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-estimate-sample-size-to-meet-specificity-and-sensitivity/m-p/420975#M66968</guid>
      <dc:creator>Thierry_S</dc:creator>
      <dc:date>2021-09-24T16:22:46Z</dc:date>
    </item>
  </channel>
</rss>

