<?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 calculating sample size in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/calculating-sample-size/m-p/766156#M94615</link>
    <description>&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;need your advice please&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;
&lt;P&gt;I need to calculate a minimum number of subjects for an experiment aimed at evaluating the ability to control a new device.&lt;/P&gt;
&lt;P&gt;The average success rate in the population is unknown and the assumption is that it is completely random 50%.&lt;/P&gt;
&lt;P&gt;We claim that the ability to control the device is at least 80%. In the experiment.&lt;/P&gt;
&lt;P&gt;each subject receives 15&amp;nbsp; attempts in which there is a possibility of success or failure, then the average number of successes is calculated for each subject.&lt;/P&gt;
&lt;P&gt;What statistical test should be performed and what is the minimum number trials and subjects required if alpha = 0.05 and power 0.8. Basically, there are two questions here that affect each other:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;How many attempts is enough for each subject to perform in order to calculate his average&lt;/LI&gt;
&lt;LI&gt;Given 1, how many subjects are required for the experiment where The null hypothesis is H0=0.5 Alternative hypothesis H1=0.8&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;To calculate how many trials are needed for each subject, I am considering a binomial comparison test with a constant of 0.5 and an alternative hypothesis of 0.8 After calculating averages, I consider whether Z test &amp;gt; Proportions: Difference from constant (one sample case)&lt;/P&gt;</description>
    <pubDate>Sun, 16 Jun 2024 14:22:30 GMT</pubDate>
    <dc:creator>yaron</dc:creator>
    <dc:date>2024-06-16T14:22:30Z</dc:date>
    <item>
      <title>calculating sample size</title>
      <link>https://community.jmp.com/t5/Discussions/calculating-sample-size/m-p/766156#M94615</link>
      <description>&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;need your advice please&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;
&lt;P&gt;I need to calculate a minimum number of subjects for an experiment aimed at evaluating the ability to control a new device.&lt;/P&gt;
&lt;P&gt;The average success rate in the population is unknown and the assumption is that it is completely random 50%.&lt;/P&gt;
&lt;P&gt;We claim that the ability to control the device is at least 80%. In the experiment.&lt;/P&gt;
&lt;P&gt;each subject receives 15&amp;nbsp; attempts in which there is a possibility of success or failure, then the average number of successes is calculated for each subject.&lt;/P&gt;
&lt;P&gt;What statistical test should be performed and what is the minimum number trials and subjects required if alpha = 0.05 and power 0.8. Basically, there are two questions here that affect each other:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;How many attempts is enough for each subject to perform in order to calculate his average&lt;/LI&gt;
&lt;LI&gt;Given 1, how many subjects are required for the experiment where The null hypothesis is H0=0.5 Alternative hypothesis H1=0.8&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;To calculate how many trials are needed for each subject, I am considering a binomial comparison test with a constant of 0.5 and an alternative hypothesis of 0.8 After calculating averages, I consider whether Z test &amp;gt; Proportions: Difference from constant (one sample case)&lt;/P&gt;</description>
      <pubDate>Sun, 16 Jun 2024 14:22:30 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/calculating-sample-size/m-p/766156#M94615</guid>
      <dc:creator>yaron</dc:creator>
      <dc:date>2024-06-16T14:22:30Z</dc:date>
    </item>
    <item>
      <title>Re: calculating sample size</title>
      <link>https://community.jmp.com/t5/Discussions/calculating-sample-size/m-p/766251#M94627</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/57978"&gt;@yaron&lt;/a&gt;: Welcome to the community!&amp;nbsp; There is a lot to unpack here. For clarity, I have a few questions/comment/etc. In no particular order.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1. What exactly are you trying to show/prove? You say "The average success rate in the population is unknown and the assumption is that it is completely random 50%. We claim that the ability to control the device is at least 80%."&lt;/P&gt;
&lt;P&gt;On one hand you say it is assumed to be 50%, and on the other you claim it is 80%. When you say you claim the ability to control the device is 80% in the population, what are you basing that 80% on? If you are trying to show that the success rate in the population is &amp;gt;50%, then the hypothesis are:&lt;/P&gt;
&lt;P&gt;H0: p=50%&lt;/P&gt;
&lt;P&gt;Ha: p&amp;gt;50%&lt;/P&gt;
&lt;P&gt;Power is then Prob(rejecting H0, assuming Ha is true). Then you power the experiment for some p&amp;gt;50%.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you want to prove that the&amp;nbsp;ability to control the device is at least 80% in the population, then the hypotheses are:&lt;/P&gt;
&lt;P&gt;H0: p=80%&lt;/P&gt;
&lt;P&gt;Ha: p&amp;gt;80%.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In other words, Ha is what you are trying to prove.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. Why are you taking an average for each subject? The n=15 (in your example)&amp;nbsp; trials for a given subject are not independent, and presumably there is learning going on as well; if each subject gets better at controlling the device as they try more times, at some point they will get it right all the time so as n gets larger, so does the average for that subject. Not good. If you are interested in success rate in the population, there is no need to take an average; n=1 per subject will do, and won't force you down the road of normal approximations either. That said, is recruiting for such a trial difficult?&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jun 2024 15:07:08 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/calculating-sample-size/m-p/766251#M94627</guid>
      <dc:creator>MRB3855</dc:creator>
      <dc:date>2024-06-17T15:07:08Z</dc:date>
    </item>
  </channel>
</rss>

