<?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: Was told to figure out a SAS question without a dataset using POWER? in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Was-told-to-figure-out-a-SAS-question-without-a-dataset-using/m-p/792730#M38851</link>
    <description>Well, I want to first start of by saying that even though I don't know you, I love you. My instructor provided 0 context and I had no idea how to form this code using SAS. I was starting to get to the point of manually doing the calculation. I really appreciate your explanation and your code worked perfectly to give me the n value. I am however, having issues with the second question. I'm not certain if the structure of code you provided me with the second survey format.&lt;BR /&gt;&lt;BR /&gt;A researcher would like to examine whether there is a relationship between recent influenza vaccination (this season: yes/no) and a history of having the flu in the past 3 years (yes/no). She would like to detect a minimum difference in proportions of .10, and she expects a proportion of 0.35 in the reference group. She wants to limit falsely rejecting the null to 1%, and falsely rejecting the alternative hypothesis to 90%. What is the minimum sample size per group, given these criteria?&lt;BR /&gt;&lt;BR /&gt;1) To detect a minimum difference of 0.10 (i.e., between 0.35 and 0.45) the minimum sample size per group is</description>
    <pubDate>Thu, 27 Jan 2022 02:05:17 GMT</pubDate>
    <dc:creator>saza</dc:creator>
    <dc:date>2022-01-27T02:05:17Z</dc:date>
    <item>
      <title>Was told to figure out a SAS question without a dataset using POWER?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Was-told-to-figure-out-a-SAS-question-without-a-dataset-using/m-p/792694#M38845</link>
      <description>&lt;P&gt;&lt;SPAN&gt;You are designing a survey in which you plan to ask participants about weight and caffeine consumption. You want to find out if there is a difference in mean weight of participants who consume caffeine on a daily basis and those who don’t. Based on data previously collected on the population of interest, you estimate that the standard deviation of weight will be 15 pounds in both groups.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;You want 85% power to be able to detect a 10-pound difference between the groups. The desired significance level is 0.05. How many participants from each group do you need to achieve this?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jan 2022 22:11:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Was-told-to-figure-out-a-SAS-question-without-a-dataset-using/m-p/792694#M38845</guid>
      <dc:creator>saza</dc:creator>
      <dc:date>2022-01-26T22:11:18Z</dc:date>
    </item>
    <item>
      <title>Re: Was told to figure out a SAS question without a dataset using POWER?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Was-told-to-figure-out-a-SAS-question-without-a-dataset-using/m-p/792695#M38846</link>
      <description>&lt;P&gt;PROC POWER can do this&lt;/P&gt;
&lt;P&gt;Example: &lt;A href="http://documentation.sas.com/doc/en/pgmmvacdc/9.4/statug/statug_power_examples01.htm" target="_blank"&gt;http://documentation.sas.com/doc/en/pgmmvacdc/9.4/statug/statug_power_examples01.htm&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jan 2022 22:15:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Was-told-to-figure-out-a-SAS-question-without-a-dataset-using/m-p/792695#M38846</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2022-01-26T22:15:21Z</dc:date>
    </item>
    <item>
      <title>Re: Was told to figure out a SAS question without a dataset using POWER?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Was-told-to-figure-out-a-SAS-question-without-a-dataset-using/m-p/792700#M38847</link>
      <description>PROC POWER doesn't take a data set, it takes numbers...one of the few. See the examples in the documentation or see if you can find some beginner tutorials on Lexjansen.com&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://www.lexjansen.com/wuss/2016/105_Final_Paper_PDF.pdf" target="_blank"&gt;https://www.lexjansen.com/wuss/2016/105_Final_Paper_PDF.pdf&lt;/A&gt;</description>
      <pubDate>Wed, 26 Jan 2022 22:40:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Was-told-to-figure-out-a-SAS-question-without-a-dataset-using/m-p/792700#M38847</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2022-01-26T22:40:55Z</dc:date>
    </item>
    <item>
      <title>Re: Was told to figure out a SAS question without a dataset using POWER?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Was-told-to-figure-out-a-SAS-question-without-a-dataset-using/m-p/792714#M38848</link>
      <description>&lt;P&gt;Lets deconstruct your question:&lt;/P&gt;
&lt;P&gt;"mean weight of participants who consume caffeine on a daily basis and those who don’t" &amp;gt; Sounds like you might want to use a T-test so points to a TWOSAMPLEMEANS Proc power.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;"detect a 10-pound difference between the groups" looks like a MEANDIFF&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;"standard deviation of weight will be 15 pounds" looks like a STDDEV, both groups with same StdDev will have same variance so a test of differences would be Test=Diff&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So the last bit is what is the actual question? Do you want to determine the overall sample size or the number that should be in each group (seems likely)&lt;/P&gt;
&lt;P&gt;Perhaps:&lt;/P&gt;
&lt;PRE&gt;Proc power;
twosamplemeans 
   test=diff
   stddev=15
   meandiff=10
   power=.85
   npergroup=. 
;
run;

&lt;/PRE&gt;
&lt;P&gt;Using defaults, such as alpha. The deconstruction is sort of a rough map of using Proc Power. The first is to determine the time to statistical test(s) the data may be used for. That will give you the main options in the documentation and match them up to the values you have (or estimate, or assume). Note that the value you look for , such a N or Npergroup or Power or whatever must be included and indicated as missing. ONE thing missing. Each type of sample has a variety of what may be needed as a minimum to work with. There are methods to examine multiple values such as Power=.8 .85 .95&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jan 2022 00:13:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Was-told-to-figure-out-a-SAS-question-without-a-dataset-using/m-p/792714#M38848</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2022-01-27T00:13:03Z</dc:date>
    </item>
    <item>
      <title>Re: Was told to figure out a SAS question without a dataset using POWER?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Was-told-to-figure-out-a-SAS-question-without-a-dataset-using/m-p/792730#M38851</link>
      <description>Well, I want to first start of by saying that even though I don't know you, I love you. My instructor provided 0 context and I had no idea how to form this code using SAS. I was starting to get to the point of manually doing the calculation. I really appreciate your explanation and your code worked perfectly to give me the n value. I am however, having issues with the second question. I'm not certain if the structure of code you provided me with the second survey format.&lt;BR /&gt;&lt;BR /&gt;A researcher would like to examine whether there is a relationship between recent influenza vaccination (this season: yes/no) and a history of having the flu in the past 3 years (yes/no). She would like to detect a minimum difference in proportions of .10, and she expects a proportion of 0.35 in the reference group. She wants to limit falsely rejecting the null to 1%, and falsely rejecting the alternative hypothesis to 90%. What is the minimum sample size per group, given these criteria?&lt;BR /&gt;&lt;BR /&gt;1) To detect a minimum difference of 0.10 (i.e., between 0.35 and 0.45) the minimum sample size per group is</description>
      <pubDate>Thu, 27 Jan 2022 02:05:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Was-told-to-figure-out-a-SAS-question-without-a-dataset-using/m-p/792730#M38851</guid>
      <dc:creator>saza</dc:creator>
      <dc:date>2022-01-27T02:05:17Z</dc:date>
    </item>
    <item>
      <title>Re: Was told to figure out a SAS question without a dataset using POWER?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Was-told-to-figure-out-a-SAS-question-without-a-dataset-using/m-p/792743#M38852</link>
      <description>&lt;P&gt;Google is your friend.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.google.com/search?q=%40sas.com+proc+power+difference+in+proportions" target="_blank"&gt;https://www.google.com/search?q=%40sas.com+proc+power+difference+in+proportions&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Try this link:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://stats.oarc.ucla.edu/sas/dae/two-independent-proportions-power-analysis/" target="_blank"&gt;https://stats.oarc.ucla.edu/sas/dae/two-independent-proportions-power-analysis/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jan 2022 04:35:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Was-told-to-figure-out-a-SAS-question-without-a-dataset-using/m-p/792743#M38852</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2022-01-27T04:35:11Z</dc:date>
    </item>
  </channel>
</rss>

