<?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: Sample Size and Power for Testing standard deviations in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Sample-Size-and-Power-for-Testing-standard-deviations/m-p/36847#M21623</link>
    <description>&lt;P&gt;Answer to first question: I am working on getting it perform in both directions to help you and anyone else who might use the script but it is not a high priority because you can get an answer easily and quickly with it working in only one direction.&lt;/P&gt;
&lt;P&gt;Answer to second question: I am staff but I work in SAS Education as a JMP instructor. It is up to JMP Development to decide if it should be implemented in the product. Of course, with a script&amp;nbsp;or add-in to do the work, it is a lower priority for them, too.&lt;/P&gt;
&lt;P&gt;Be patient.&lt;/P&gt;</description>
    <pubDate>Tue, 07 Mar 2017 12:09:09 GMT</pubDate>
    <dc:creator>Mark_Bailey</dc:creator>
    <dc:date>2017-03-07T12:09:09Z</dc:date>
    <item>
      <title>Sample Size and Power for Testing standard deviations</title>
      <link>https://community.jmp.com/t5/Discussions/Sample-Size-and-Power-for-Testing-standard-deviations/m-p/36766#M21586</link>
      <description>&lt;P&gt;I am wondering why the Sample Size and Power Calculator does not have an option to estimate sample size for test of standard deviations for &lt;STRONG&gt;two&lt;/STRONG&gt; populations. I can find graphical methods in appendices of some statistics textbooks, but they must have come from some computation. How do I estimate a sample size to distinguish standard deviations with a certain ratio with a certain power? I realize that the solution to the problem must be numerical, but it should still exist, shouldn't it?&lt;/P&gt;</description>
      <pubDate>Mon, 06 Mar 2017 07:59:27 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Sample-Size-and-Power-for-Testing-standard-deviations/m-p/36766#M21586</guid>
      <dc:creator>JesperJohansen</dc:creator>
      <dc:date>2017-03-06T07:59:27Z</dc:date>
    </item>
    <item>
      <title>Re: Sample Size and Power for Testing standard deviations</title>
      <link>https://community.jmp.com/t5/Discussions/Sample-Size-and-Power-for-Testing-standard-deviations/m-p/36770#M21589</link>
      <description>&lt;P&gt;I wonder about a lot of things, too.&lt;/P&gt;
&lt;P&gt;If you have &lt;STRONG&gt;JMP Pro 13&lt;/STRONG&gt;, you might be able to use the new &lt;STRONG&gt;Simulate&lt;/STRONG&gt; feature to assess power and determine appropriate sample sizes. I just confirmed that this method works nicely. In case you are unfamiliar with it, try the following:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Create a data table with a column for your grouping variable. I called it &lt;STRONG&gt;Group&lt;/STRONG&gt;. I used the initial Column Info (or New Column) dialog to set the initial values to a Sequence of 50 replicates (rows) of 1 to 2 in steps of 1. So each group has a sample size of 25.&lt;/LI&gt;
&lt;LI&gt;Create another column for the response. I created one called &lt;STRONG&gt;Y&lt;/STRONG&gt;.&lt;/LI&gt;
&lt;LI&gt;Create a third column for the Monte Carlo simulation. I created one called &lt;STRONG&gt;Y Formula&lt;/STRONG&gt;. My formula for your purpose was &lt;STRONG&gt;Random Normal() * Choose( Group, 2, 3)&lt;/STRONG&gt;. This formula says that population 1 has a standard deviation&amp;nbsp;of 2 and the other population has a sd of 3. Substitute the values of 2 and 3 for ones that makes sense for your alternative hypothesis test.&lt;/LI&gt;
&lt;LI&gt;Perform one analysis (note that the names are the ones tha I used above).
&lt;OL&gt;
&lt;LI&gt;Select &lt;STRONG&gt;Analyze&lt;/STRONG&gt; &amp;gt; &lt;STRONG&gt;Fit Y by X&lt;/STRONG&gt;.&lt;/LI&gt;
&lt;LI&gt;Select &lt;STRONG&gt;Y&lt;/STRONG&gt; and click &lt;STRONG&gt;Y&lt;/STRONG&gt;.&lt;/LI&gt;
&lt;LI&gt;Select &lt;STRONG&gt;Group &amp;nbsp;&lt;/STRONG&gt;and click &lt;STRONG&gt;X&lt;/STRONG&gt;.&lt;/LI&gt;
&lt;LI&gt;Click &lt;STRONG&gt;OK&lt;/STRONG&gt;.&lt;/LI&gt;
&lt;LI&gt;Click the red triangle and select &lt;STRONG&gt;Unequal Variances&lt;/STRONG&gt;. This is the test you will use.&lt;/LI&gt;
&lt;LI&gt;Now, right-click on the &lt;EM&gt;p&lt;/EM&gt;-value column&amp;nbsp;and select &lt;STRONG&gt;Simulate&lt;/STRONG&gt;.&lt;/LI&gt;
&lt;LI&gt;Select &lt;STRONG&gt;Y&lt;/STRONG&gt; for replacement and &lt;STRONG&gt;Y Formula&lt;/STRONG&gt; for the simulation.&lt;/LI&gt;
&lt;LI&gt;Enter a larger number for the quantity of simulations if you need an answer with greater precision (narrower confidence intervals).&lt;/LI&gt;
&lt;LI&gt;Click &lt;STRONG&gt;Go&lt;/STRONG&gt;.&lt;/LI&gt;
&lt;LI&gt;It takes a little while to complete all 2500 (default) simulations.&lt;/LI&gt;
&lt;LI&gt;Click the green triangle next to Power table script.&lt;/LI&gt;
&lt;LI&gt;Examine the information for the &lt;STRONG&gt;F-Ratio&lt;/STRONG&gt;.&lt;/LI&gt;
&lt;/OL&gt;
&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;It is not likely that they initial guess of a sample size gives you the desired power. You can evaluate another sample size by simply change the rows with Group = 1 or 2 and repeating the simulation. For example, double the number of rows to see the improvement in power for doubling the sample size. (Hint: with now columns or rows selected, press CTRL-C and then CTRL+V)&lt;/P&gt;
&lt;P&gt;How does this method work for you?&lt;/P&gt;</description>
      <pubDate>Mon, 06 Mar 2017 22:16:02 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Sample-Size-and-Power-for-Testing-standard-deviations/m-p/36770#M21589</guid>
      <dc:creator>Mark_Bailey</dc:creator>
      <dc:date>2017-03-06T22:16:02Z</dc:date>
    </item>
    <item>
      <title>Re: Sample Size and Power for Testing standard deviations</title>
      <link>https://community.jmp.com/t5/Discussions/Sample-Size-and-Power-for-Testing-standard-deviations/m-p/36827#M21610</link>
      <description>&lt;P&gt;I am working on a calculator for you. It mimics the behavior of the &lt;STRONG&gt;Sample Size and Power&lt;/STRONG&gt; calculators that are available through the JMP DOE menu. You can specify the sample size and compute the power. You can't go the other way yet. (It ain't fully cooked yet. If you try it, you break it.) It allows you to choose a &lt;EM&gt;two-sided test&lt;/EM&gt;, &lt;EM&gt;lower one-sided test&lt;/EM&gt;, or &lt;EM&gt;upper one-sided test&lt;/EM&gt;. It assumes that you want a balanced or nearly balanced design. That is, if you enter 50 for a sample size, then it assumes that you will obtain a sample of 25 from each population.&lt;/P&gt;
&lt;P&gt;By the way, the empirical power calculation available through the JMP Pro 13 Simulate feature that I mentioned in my previous reply and this exact closed form calculation agree very well. (But we don't always have a closed form to fall back on - love the new Simulate feature!)&lt;/P&gt;
&lt;P&gt;Open and run the script. You must enter the alpha significance level of your test and the alternative hypothesis as the standard deviation for population 1 and 2. (Population 1 is the numerator of your F-test.) Then enter the candidate for your sample size and click Continue. Very fast way to evaluate the power with&amp;nbsp;different sample sizes.&lt;/P&gt;</description>
      <pubDate>Mon, 06 Mar 2017 22:17:42 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Sample-Size-and-Power-for-Testing-standard-deviations/m-p/36827#M21610</guid>
      <dc:creator>Mark_Bailey</dc:creator>
      <dc:date>2017-03-06T22:17:42Z</dc:date>
    </item>
    <item>
      <title>Re: Sample Size and Power for Testing standard deviations</title>
      <link>https://community.jmp.com/t5/Discussions/Sample-Size-and-Power-for-Testing-standard-deviations/m-p/36839#M21615</link>
      <description>&lt;P&gt;Unfortunately I don't have JMP Pro, so the Sumulate feature is not avaliable to me.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Mar 2017 06:37:02 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Sample-Size-and-Power-for-Testing-standard-deviations/m-p/36839#M21615</guid>
      <dc:creator>JesperJohansen</dc:creator>
      <dc:date>2017-03-07T06:37:02Z</dc:date>
    </item>
    <item>
      <title>Re: Sample Size and Power for Testing standard deviations</title>
      <link>https://community.jmp.com/t5/Discussions/Sample-Size-and-Power-for-Testing-standard-deviations/m-p/36840#M21616</link>
      <description>Hi Mark&lt;BR /&gt;This sounds great. You say that you are working on the script, but you also write "Open and run the script.". Should I have received it? I don't see it anywhere.&lt;BR /&gt;BR&lt;BR /&gt;Jesper&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 07 Mar 2017 06:39:39 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Sample-Size-and-Power-for-Testing-standard-deviations/m-p/36840#M21616</guid>
      <dc:creator>JesperJohansen</dc:creator>
      <dc:date>2017-03-07T06:39:39Z</dc:date>
    </item>
    <item>
      <title>Re: Sample Size and Power for Testing standard deviations</title>
      <link>https://community.jmp.com/t5/Discussions/Sample-Size-and-Power-for-Testing-standard-deviations/m-p/36841#M21617</link>
      <description>&lt;P&gt;I guess my question had two parts:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Can I fin the feature somewhere? The short answer is apparanetly no, but there are ways to work around this.&lt;/LI&gt;&lt;LI&gt;Why cant I fin this featrure anywhere? It seems like a peculiar omittance. I cant find the answer anywhere in litterrature either. Am I relly the one who might want to design a simple experiment to destinguish variances of two polulations?&lt;/LI&gt;&lt;/OL&gt;</description>
      <pubDate>Tue, 07 Mar 2017 06:43:28 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Sample-Size-and-Power-for-Testing-standard-deviations/m-p/36841#M21617</guid>
      <dc:creator>JesperJohansen</dc:creator>
      <dc:date>2017-03-07T06:43:28Z</dc:date>
    </item>
    <item>
      <title>Re: Sample Size and Power for Testing standard deviations</title>
      <link>https://community.jmp.com/t5/Discussions/Sample-Size-and-Power-for-Testing-standard-deviations/m-p/36844#M21620</link>
      <description>&lt;P&gt;I thought I attached it. Sorry about that. Again, it currently works in one direction&amp;nbsp;only, Enter a candidate size and leave the power missing, then click Continue. I hope to get it working in the other direction but for now you can get useful information as it is.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Edit: DO NOT USE THIS SCRIPT. I removed it from the post. It does not compute the power correctly for the lower one-sided test. I corrected the error and finished the estimation of the sample size, so now it works in both directions. See the new attached add-in.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Mar 2017 16:21:06 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Sample-Size-and-Power-for-Testing-standard-deviations/m-p/36844#M21620</guid>
      <dc:creator>Mark_Bailey</dc:creator>
      <dc:date>2017-03-07T16:21:06Z</dc:date>
    </item>
    <item>
      <title>Re: Sample Size and Power for Testing standard deviations</title>
      <link>https://community.jmp.com/t5/Discussions/Sample-Size-and-Power-for-Testing-standard-deviations/m-p/36846#M21622</link>
      <description>&lt;P&gt;Relly great. Thank you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The sentence "it currently works in one direction only" suggests that an update is coming which will work to estimate sample sice from power too?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I see you are "staff". Any reason not to implemet this functionality in the Sample size an power calculator for all users to enjoy?&lt;/P&gt;</description>
      <pubDate>Tue, 07 Mar 2017 11:15:46 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Sample-Size-and-Power-for-Testing-standard-deviations/m-p/36846#M21622</guid>
      <dc:creator>JesperJohansen</dc:creator>
      <dc:date>2017-03-07T11:15:46Z</dc:date>
    </item>
    <item>
      <title>Re: Sample Size and Power for Testing standard deviations</title>
      <link>https://community.jmp.com/t5/Discussions/Sample-Size-and-Power-for-Testing-standard-deviations/m-p/36847#M21623</link>
      <description>&lt;P&gt;Answer to first question: I am working on getting it perform in both directions to help you and anyone else who might use the script but it is not a high priority because you can get an answer easily and quickly with it working in only one direction.&lt;/P&gt;
&lt;P&gt;Answer to second question: I am staff but I work in SAS Education as a JMP instructor. It is up to JMP Development to decide if it should be implemented in the product. Of course, with a script&amp;nbsp;or add-in to do the work, it is a lower priority for them, too.&lt;/P&gt;
&lt;P&gt;Be patient.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Mar 2017 12:09:09 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Sample-Size-and-Power-for-Testing-standard-deviations/m-p/36847#M21623</guid>
      <dc:creator>Mark_Bailey</dc:creator>
      <dc:date>2017-03-07T12:09:09Z</dc:date>
    </item>
  </channel>
</rss>

