<?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 Determining sample size for categorical factors in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Determining-sample-size-for-categorical-factors/m-p/372415#M62238</link>
    <description>&lt;DIV&gt;I'm trying to determine the sample size required to make a go/no-go decision on whether or not to make a process change for a categorical factor with 2 levels, and both categorical and continuous responses.&amp;nbsp; We ran some experiments and saw no statistical significance in the responses between the two levels of the categorical factor, but now we want to know how confident we are that there is no difference.&amp;nbsp; To answer this, I started playing around with the JMP sample size and power calculator for two sample&amp;nbsp;means.&amp;nbsp;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I originally thought my sample size was 432, because there were three experiments which each consisting of 72 samples treated with the control process and 72 samples treated with the experimental process, (432 = 72*2*3), but then I wasn't sure what to input as my standard deviation for the categorical response.&amp;nbsp; I found one resource on the internet that suggested I could calcualte a coefficient of unalikeability to measure variability for categorical responses:&amp;nbsp; &amp;nbsp;&lt;A href="http://jse.amstat.org/v15n2/kader.pdf" target="_blank" rel="noopener"&gt;http://jse.amstat.org/v15n2/kader.pdf&lt;/A&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;If I use this approach I get that at a significante leve of 0.05 with 428 samples and a coefficient of unalikeability of 0.3 that I'll have an 87% chance of detecting a significant difference in the categorical response of 0.09%.&amp;nbsp;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Jolene_0-1617053687714.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/31637i1A43438B9F49F7FF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Jolene_0-1617053687714.png" alt="Jolene_0-1617053687714.png" /&gt;&lt;/span&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyone have any thoughts on this approach, or ideas on how to figure out sample size and confidence in the results another way?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A colleuge of mine suggests we say the sample size here is only 3, for 3 runs consisting of 72 samples treated with the control process and 72 samples treated with the experimental process.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jolene&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;</description>
    <pubDate>Sat, 10 Jun 2023 23:27:57 GMT</pubDate>
    <dc:creator>Jolene</dc:creator>
    <dc:date>2023-06-10T23:27:57Z</dc:date>
    <item>
      <title>Determining sample size for categorical factors</title>
      <link>https://community.jmp.com/t5/Discussions/Determining-sample-size-for-categorical-factors/m-p/372415#M62238</link>
      <description>&lt;DIV&gt;I'm trying to determine the sample size required to make a go/no-go decision on whether or not to make a process change for a categorical factor with 2 levels, and both categorical and continuous responses.&amp;nbsp; We ran some experiments and saw no statistical significance in the responses between the two levels of the categorical factor, but now we want to know how confident we are that there is no difference.&amp;nbsp; To answer this, I started playing around with the JMP sample size and power calculator for two sample&amp;nbsp;means.&amp;nbsp;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I originally thought my sample size was 432, because there were three experiments which each consisting of 72 samples treated with the control process and 72 samples treated with the experimental process, (432 = 72*2*3), but then I wasn't sure what to input as my standard deviation for the categorical response.&amp;nbsp; I found one resource on the internet that suggested I could calcualte a coefficient of unalikeability to measure variability for categorical responses:&amp;nbsp; &amp;nbsp;&lt;A href="http://jse.amstat.org/v15n2/kader.pdf" target="_blank" rel="noopener"&gt;http://jse.amstat.org/v15n2/kader.pdf&lt;/A&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;If I use this approach I get that at a significante leve of 0.05 with 428 samples and a coefficient of unalikeability of 0.3 that I'll have an 87% chance of detecting a significant difference in the categorical response of 0.09%.&amp;nbsp;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Jolene_0-1617053687714.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/31637i1A43438B9F49F7FF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Jolene_0-1617053687714.png" alt="Jolene_0-1617053687714.png" /&gt;&lt;/span&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyone have any thoughts on this approach, or ideas on how to figure out sample size and confidence in the results another way?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A colleuge of mine suggests we say the sample size here is only 3, for 3 runs consisting of 72 samples treated with the control process and 72 samples treated with the experimental process.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jolene&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Sat, 10 Jun 2023 23:27:57 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Determining-sample-size-for-categorical-factors/m-p/372415#M62238</guid>
      <dc:creator>Jolene</dc:creator>
      <dc:date>2023-06-10T23:27:57Z</dc:date>
    </item>
    <item>
      <title>Re: Determining sample size for categorical factors</title>
      <link>https://community.jmp.com/t5/Discussions/Determining-sample-size-for-categorical-factors/m-p/372502#M62240</link>
      <description>&lt;P&gt;First it is important to understand your experiment.&lt;/P&gt;&lt;P&gt;So you have 72 different samples, and you can do different experiments on each sample?&lt;/P&gt;&lt;P&gt;After you can do a paired comparison of different experiments on each sample?&lt;/P&gt;&lt;P&gt;You want to compare your old process to a new process with two different categorical settings, so for a full run we would have 3 treatments x 72 samples?&lt;/P&gt;</description>
      <pubDate>Tue, 30 Mar 2021 05:14:44 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Determining-sample-size-for-categorical-factors/m-p/372502#M62240</guid>
      <dc:creator>Georg</dc:creator>
      <dc:date>2021-03-30T05:14:44Z</dc:date>
    </item>
    <item>
      <title>Re: Determining sample size for categorical factors</title>
      <link>https://community.jmp.com/t5/Discussions/Determining-sample-size-for-categorical-factors/m-p/372769#M62267</link>
      <description>&lt;P&gt;Hi, Jolene!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Retrospective power analysis is generally an inappropriate thing to do.&amp;nbsp; As &lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/9474"&gt;@Georg&lt;/a&gt;&amp;nbsp;implies, we know very little about your experiment.&amp;nbsp; You designed it (without considering the power of the experiment?), ran it, collected the data, did an analysis, and did not achieve “significance.”&amp;nbsp; So now you compute power retrospectively to see if the test was powerful enough or not.&amp;nbsp; That is a specious question.&amp;nbsp; We already know it wasn’t powerful enough to detect the effect size...that’s why the result isn’t significant!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Power calculations are useful prospectively for design, not retrospectively for analysis.&amp;nbsp; You might wish to entertain modifying your hypothesis for a subsequent experiment to be one of equivalence or noninferiority; Please see the enclosed&amp;nbsp;Hoenig and Heisey paper.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Without any understanding about your experiment's objectives, design, conduct, or analysis, the sample size seems quite large.&amp;nbsp; You may be able to use the data from your experiment to formulate a simulation model to explore the prospective power for specific potential designs and analyses for a subsequent experiment.&amp;nbsp; It seems to me that this approach would do the best job of answering your questions.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Good luck!&lt;/P&gt;</description>
      <pubDate>Tue, 30 Mar 2021 17:40:49 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Determining-sample-size-for-categorical-factors/m-p/372769#M62267</guid>
      <dc:creator>Kevin_Anderson</dc:creator>
      <dc:date>2021-03-30T17:40:49Z</dc:date>
    </item>
    <item>
      <title>Re: Determining sample size for categorical factors</title>
      <link>https://community.jmp.com/t5/Discussions/Determining-sample-size-for-categorical-factors/m-p/372816#M62271</link>
      <description>&lt;P&gt;Hi Georg, I have a two step process, and I varied the treatment of my samples in step 1.&amp;nbsp; The conditions were treatment A (control) vs treatment B (alternative).&amp;nbsp; I had 216 samples that went through treatment A, and 216 samples that went through treatment B.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;All of these samples then went through the second process.&amp;nbsp; Due to constraints I had to process them in three separate runs, each consisting of 72 samples from treatment A and 72 from treatment B.&amp;nbsp; Runs 1, 2, and 3 were processed similarly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am now analyzing the continuous and categorical responses to this categorical factor of treatment A vs B.&amp;nbsp; I found no significant difference in the responses, but my collegues asked if the sample size was large enough to feel confident in making the decision to go ahead and change the process.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 30 Mar 2021 20:16:08 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Determining-sample-size-for-categorical-factors/m-p/372816#M62271</guid>
      <dc:creator>Jolene</dc:creator>
      <dc:date>2021-03-30T20:16:08Z</dc:date>
    </item>
  </channel>
</rss>

