<?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 Estimation for Percentages - Difference Between Two Estimates in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Sample-Size-Estimation-for-Percentages-Difference-Between-Two/m-p/172855#M8958</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The PROC is either Power or GLMPower.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also you may find a Wizard in the Sas Programs folder (at least in Windows) titled SAS Power and Sample Size.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 13 Dec 2013 16:38:45 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2013-12-13T16:38:45Z</dc:date>
    <item>
      <title>Sample Size Estimation for Percentages - Difference Between Two Estimates</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Sample-Size-Estimation-for-Percentages-Difference-Between-Two/m-p/172854#M8957</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all--&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;I work in direct marketing analytics and I have been using a free app called "Plan-alyser"&amp;nbsp; to determine if the required sample sizes&amp;nbsp; needed to ensure a pre-specified difference between two test response rates can be considered significant.&amp;nbsp; Going forward I would like to use SAS to determine this. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Plan-alyser asks the user to input the required information:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Estimated response rate for the control panel. &lt;/P&gt;&lt;P&gt;2. Estimated response rate for the test panel &lt;/P&gt;&lt;P&gt;3. The Condidence level&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How would I replicate this in SAS so I get an output which would determine a value for:&lt;/P&gt;&lt;P&gt;1. The control and test panel sample sizes required for the conditions listed above. &lt;/P&gt;&lt;P&gt;2. The percentage point difference in response&amp;nbsp; that is considered significant &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a "Proc" or something else in SAS that will give me this desired output?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any assistance is appreciated. Thanks!! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Dec 2013 15:23:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Sample-Size-Estimation-for-Percentages-Difference-Between-Two/m-p/172854#M8957</guid>
      <dc:creator>Mgarret</dc:creator>
      <dc:date>2013-12-13T15:23:41Z</dc:date>
    </item>
    <item>
      <title>Re: Sample Size Estimation for Percentages - Difference Between Two Estimates</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Sample-Size-Estimation-for-Percentages-Difference-Between-Two/m-p/172855#M8958</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The PROC is either Power or GLMPower.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also you may find a Wizard in the Sas Programs folder (at least in Windows) titled SAS Power and Sample Size.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Dec 2013 16:38:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Sample-Size-Estimation-for-Percentages-Difference-Between-Two/m-p/172855#M8958</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2013-12-13T16:38:45Z</dc:date>
    </item>
    <item>
      <title>Re: Sample Size Estimation for Percentages - Difference Between Two Estimates</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Sample-Size-Estimation-for-Percentages-Difference-Between-Two/m-p/172856#M8959</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use PROC SURVEYSELECT to do sample size partition in SAS.&lt;/P&gt;&lt;P&gt;Here is sample code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Proc SurveySelect Data = datasetname Out = outdatasetname&lt;/P&gt;&lt;P&gt;Method = SRS /*SRS means Simple random sample*/&lt;/P&gt;&lt;P&gt;Seed = 07271987 /*this is a random &amp;amp; optional number, but in future if you want to generate the same sample with raw data then you need to re mention this seed number*/&lt;/P&gt;&lt;P&gt;Sampsize = 150; /*you can use samprate = .5 (50%)*/&lt;/P&gt;&lt;P&gt;Strata Variablename /*Doing Stratified sample*/&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 15 Dec 2013 04:38:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Sample-Size-Estimation-for-Percentages-Difference-Between-Two/m-p/172856#M8959</guid>
      <dc:creator>NareshAbburi</dc:creator>
      <dc:date>2013-12-15T04:38:08Z</dc:date>
    </item>
    <item>
      <title>Re: Sample Size Estimation for Percentages - Difference Between Two Estimates</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Sample-Size-Estimation-for-Percentages-Difference-Between-Two/m-p/172857#M8960</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think this might help:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc power;&lt;/P&gt;&lt;P&gt;&amp;nbsp; TwoSampleFreq Test = Fisher Dist = Exact_Cond Method=Walters&lt;/P&gt;&lt;P&gt;&amp;nbsp; Alpha = 0.05&lt;/P&gt;&lt;P&gt;&amp;nbsp; Sides = 2&lt;/P&gt;&lt;P&gt;&amp;nbsp; GroupProportions = (p1 p2)&lt;/P&gt;&lt;P&gt;&amp;nbsp; Power = 0.8&lt;/P&gt;&lt;P&gt;&amp;nbsp; NTotal = .&lt;/P&gt;&lt;P&gt;&amp;nbsp; ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where p1 and p2 are the two proportions&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 15 Dec 2013 14:32:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Sample-Size-Estimation-for-Percentages-Difference-Between-Two/m-p/172857#M8960</guid>
      <dc:creator>BlueNose</dc:creator>
      <dc:date>2013-12-15T14:32:34Z</dc:date>
    </item>
    <item>
      <title>Re: Sample Size Estimation for Percentages - Difference Between Two Estimates</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Sample-Size-Estimation-for-Percentages-Difference-Between-Two/m-p/172858#M8961</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Great! I will try this out. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Dec 2013 15:27:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Sample-Size-Estimation-for-Percentages-Difference-Between-Two/m-p/172858#M8961</guid>
      <dc:creator>Mgarret</dc:creator>
      <dc:date>2013-12-16T15:27:36Z</dc:date>
    </item>
    <item>
      <title>Re: Sample Size Estimation for Percentages - Difference Between Two Estimates</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Sample-Size-Estimation-for-Percentages-Difference-Between-Two/m-p/172859#M8962</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is good to know but what I really need to know is if the sample size between the test and control based on&amp;nbsp; two proportions is statistically significant or not.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Dec 2013 21:03:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Sample-Size-Estimation-for-Percentages-Difference-Between-Two/m-p/172859#M8962</guid>
      <dc:creator>Mgarret</dc:creator>
      <dc:date>2013-12-16T21:03:53Z</dc:date>
    </item>
    <item>
      <title>Re: Sample Size Estimation for Percentages - Difference Between Two Estimates</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Sample-Size-Estimation-for-Percentages-Difference-Between-Two/m-p/172860#M8963</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;This is good to know but what I really need to know is if the sample size between the test and control based on&amp;nbsp; two proportions is statistically significant or not. &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Dec 2013 21:04:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Sample-Size-Estimation-for-Percentages-Difference-Between-Two/m-p/172860#M8963</guid>
      <dc:creator>Mgarret</dc:creator>
      <dc:date>2013-12-16T21:04:26Z</dc:date>
    </item>
    <item>
      <title>Re: Sample Size Estimation for Percentages - Difference Between Two Estimates</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Sample-Size-Estimation-for-Percentages-Difference-Between-Two/m-p/172861#M8964</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;And quick question is &lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt; Power = &lt;/SPAN&gt; the same as entering the confidence interval? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Dec 2013 23:14:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Sample-Size-Estimation-for-Percentages-Difference-Between-Two/m-p/172861#M8964</guid>
      <dc:creator>Mgarret</dc:creator>
      <dc:date>2013-12-16T23:14:33Z</dc:date>
    </item>
    <item>
      <title>Re: Sample Size Estimation for Percentages - Difference Between Two Estimates</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Sample-Size-Estimation-for-Percentages-Difference-Between-Two/m-p/172862#M8965</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There seems to be a lot of confusion here.&amp;nbsp; Why would you want to know if the sample size is significantly different?&amp;nbsp; I would think that you want to know if the proportions are significantly different, given the specified sample size.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sometimes Wikipedia is your friend.&amp;nbsp; The definition of statistical power there is in big bold letters--it is the probability that we conclude that the null hypothesis is false given that the null hypothesis is truly false.&amp;nbsp; Given that, power= in PROC POWER is not the same as entering a confidence interval.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve Denham&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Dec 2013 18:29:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Sample-Size-Estimation-for-Percentages-Difference-Between-Two/m-p/172862#M8965</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2013-12-17T18:29:51Z</dc:date>
    </item>
  </channel>
</rss>

