<?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: Power and Sample Size - SAS Task - Mean difference value in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Power-and-Sample-Size-SAS-Task-Mean-difference-value/m-p/775969#M38001</link>
    <description>&lt;P&gt;Thanks for your response.&lt;BR /&gt;&lt;BR /&gt;It won't run without a value in that field...And, the sample size changes when you input different mean difference values.&lt;/P&gt;</description>
    <pubDate>Fri, 22 Oct 2021 21:18:31 GMT</pubDate>
    <dc:creator>_maldini_</dc:creator>
    <dc:date>2021-10-22T21:18:31Z</dc:date>
    <item>
      <title>Power and Sample Size - SAS Task - Mean difference value</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Power-and-Sample-Size-SAS-Task-Mean-difference-value/m-p/775949#M37997</link>
      <description>&lt;P&gt;I am using SAS OnDemand for Academics w/ SAS Studio to perform a sample size calculation. There is a "Task" for "Power and Sample Size" with a "t-test" option.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For the mean (see image 1 below), there are 4 options to chose from:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Difference between means&lt;/LI&gt;
&lt;LI&gt;Group means&lt;/LI&gt;
&lt;LI&gt;Difference between means, null difference&lt;/LI&gt;
&lt;LI&gt;Group means, null difference&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2021-10-22 at 11.19.10 AM.png" style="width: 339px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/64968iB9A22166546D486F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screen Shot 2021-10-22 at 11.19.10 AM.png" alt="Screen Shot 2021-10-22 at 11.19.10 AM.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;If my hypothesis is that there is no difference between the means of 2 groups, should I select one of the "null difference" options?&lt;/P&gt;
&lt;P&gt;If so, then why does it ask me for a "Mean difference value"&amp;nbsp;(see image 2 below)? Wouldn't the "mean difference value" be 0? What value is this field asking for?&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2021-10-22 at 11.27.23 AM.png" style="width: 399px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/64970i77F26A07F835BA89/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screen Shot 2021-10-22 at 11.27.23 AM.png" alt="Screen Shot 2021-10-22 at 11.27.23 AM.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for the help.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Oct 2021 18:36:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Power-and-Sample-Size-SAS-Task-Mean-difference-value/m-p/775949#M37997</guid>
      <dc:creator>_maldini_</dc:creator>
      <dc:date>2021-10-22T18:36:54Z</dc:date>
    </item>
    <item>
      <title>Re: Power and Sample Size - SAS Task - Mean difference value</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Power-and-Sample-Size-SAS-Task-Mean-difference-value/m-p/775961#M37998</link>
      <description>&lt;P&gt;You would need to set the null difference to be 0.&lt;/P&gt;
&lt;P&gt;The mean difference refers to the two conjectured / sample group means.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Oct 2021 19:47:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Power-and-Sample-Size-SAS-Task-Mean-difference-value/m-p/775961#M37998</guid>
      <dc:creator>jiltao</dc:creator>
      <dc:date>2021-10-22T19:47:37Z</dc:date>
    </item>
    <item>
      <title>Re: Power and Sample Size - SAS Task - Mean difference value</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Power-and-Sample-Size-SAS-Task-Mean-difference-value/m-p/775962#M37999</link>
      <description>&amp;lt;The mean difference refers to the two conjectured / sample group means. &amp;gt;&lt;BR /&gt;&lt;BR /&gt;But why would I input a mean difference when I am testing for no difference? In other words, if the null difference is zero, why is it asking for a difference other than zero?</description>
      <pubDate>Fri, 22 Oct 2021 19:52:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Power-and-Sample-Size-SAS-Task-Mean-difference-value/m-p/775962#M37999</guid>
      <dc:creator>_maldini_</dc:creator>
      <dc:date>2021-10-22T19:52:03Z</dc:date>
    </item>
    <item>
      <title>Re: Power and Sample Size - SAS Task - Mean difference value</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Power-and-Sample-Size-SAS-Task-Mean-difference-value/m-p/775964#M38000</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/36911"&gt;@_maldini_&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&amp;lt;The mean difference refers to the two conjectured / sample group means. &amp;gt;&lt;BR /&gt;&lt;BR /&gt;But why would I input a mean difference when I am testing for no difference? In other words, if the null difference is zero, why is it asking for a difference other than zero?&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;What happens if you don't put anything in the mean difference box and run it?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I don't use the Task but have used Proc Power, the underlying procedure for this, and suspect that the entered mean differences only matter if you are actually testing for a difference such as with the "Difference between means" option.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Oct 2021 22:56:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Power-and-Sample-Size-SAS-Task-Mean-difference-value/m-p/775964#M38000</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2021-10-22T22:56:39Z</dc:date>
    </item>
    <item>
      <title>Re: Power and Sample Size - SAS Task - Mean difference value</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Power-and-Sample-Size-SAS-Task-Mean-difference-value/m-p/775969#M38001</link>
      <description>&lt;P&gt;Thanks for your response.&lt;BR /&gt;&lt;BR /&gt;It won't run without a value in that field...And, the sample size changes when you input different mean difference values.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Oct 2021 21:18:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Power-and-Sample-Size-SAS-Task-Mean-difference-value/m-p/775969#M38001</guid>
      <dc:creator>_maldini_</dc:creator>
      <dc:date>2021-10-22T21:18:31Z</dc:date>
    </item>
    <item>
      <title>Re: Power and Sample Size - SAS Task - Mean difference value</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Power-and-Sample-Size-SAS-Task-Mean-difference-value/m-p/775976#M38002</link>
      <description>&lt;P&gt;You do not have to provide difference in the means. You can provide the mean values themselves for the two groups instead. You will need to have some sort of observed / conjectured values for the group means in order to compute the power / sample size for testing whether in the population, the two group means are significantly different or not.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Oct 2021 21:39:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Power-and-Sample-Size-SAS-Task-Mean-difference-value/m-p/775976#M38002</guid>
      <dc:creator>jiltao</dc:creator>
      <dc:date>2021-10-22T21:39:53Z</dc:date>
    </item>
    <item>
      <title>Re: Power and Sample Size - SAS Task - Mean difference value</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Power-and-Sample-Size-SAS-Task-Mean-difference-value/m-p/776252#M38021</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/60873"&gt;@jiltao&lt;/a&gt;&amp;nbsp;&lt;SPAN style="font-family: inherit;"&gt;What I don't understand is why you would need to input a difference in the means or input the mean values themselves (w/ no difference between them?) if you are testing for no difference?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="inherit"&gt;The difference in the means is 0 when testing for null difference, correct? &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="inherit"&gt;The&amp;nbsp;&lt;/FONT&gt;group&lt;FONT face="inherit"&gt;&amp;nbsp;means could be any value, as long as they were the same value, correct?&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: inherit;"&gt;Examples: &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: inherit;"&gt;group 1: 10, group 2: 10&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="inherit"&gt;group 1: 100, group 2: 100&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc power uses the mean difference in the calculation, either as a result of the user inputting a mean difference or by subtracting one inputted mean from the other.&amp;nbsp;It makes sense to me that these values would be required if I was testing for a mean difference other than zero&amp;nbsp;(i.e., null difference), but not if I was testing for no difference.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What am I missing here?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Should I input the same values I would input if I was selecting "Difference between means" or "Group means", instead of selecting&amp;nbsp;"Difference between means, null difference" or "Group means, null difference"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for your help here!&lt;/P&gt;</description>
      <pubDate>Mon, 25 Oct 2021 17:31:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Power-and-Sample-Size-SAS-Task-Mean-difference-value/m-p/776252#M38021</guid>
      <dc:creator>_maldini_</dc:creator>
      <dc:date>2021-10-25T17:31:56Z</dc:date>
    </item>
    <item>
      <title>Re: Power and Sample Size - SAS Task - Mean difference value</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Power-and-Sample-Size-SAS-Task-Mean-difference-value/m-p/776322#M38024</link>
      <description>&lt;P&gt;This goes back to hypothesis testing in statistical analysis.&lt;/P&gt;
&lt;P&gt;You want to test if in the population, group1 mean is the same as the group2 mean. When you collect your data, you might have a sample mean of 15 for group1, and a sample mean of 17 for group 2. The question is, is this observed difference enough evidence to say the two groups have different means in the population? Or is the observed difference due to randomness and it does not show enough evidence to say the population means are different?&lt;/P&gt;
&lt;P&gt;You need to enter the sample means (15 and 17) and also a measure of variation in the data (stddev) so the software can test this hypothesis for you.&lt;/P&gt;
&lt;P&gt;For more information about the computational details please refer to the documentation below --&lt;/P&gt;
&lt;P&gt;&lt;A href="https://go.documentation.sas.com/doc/en/pgmsascdc/v_017/statug/statug_power_details81.htm" target="_blank"&gt;https://go.documentation.sas.com/doc/en/pgmsascdc/v_017/statug/statug_power_details81.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Jill&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Oct 2021 22:50:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Power-and-Sample-Size-SAS-Task-Mean-difference-value/m-p/776322#M38024</guid>
      <dc:creator>jiltao</dc:creator>
      <dc:date>2021-10-25T22:50:44Z</dc:date>
    </item>
  </channel>
</rss>

