<?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: Bootstrapping in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Bootstrapping/m-p/438495#M69097</link>
    <description>Thank you for prompt response but it does not have a closed-form solution.&lt;BR /&gt;By bootstrapping, I am to estimate the sample size that will give me a&lt;BR /&gt;power of 90%. I know from the initial calculation I got 62. I am expected&lt;BR /&gt;to start with eg 30 run simulations 1000 times using the independent t-test&lt;BR /&gt;then check the p-value each time. if I reject that could be coded as 1 when&lt;BR /&gt;fail to reject, I code that as 0. I am to do that a 1000 times, then take&lt;BR /&gt;an average of the variables which is the power. I am to continue increasing&lt;BR /&gt;the sample size and the power is expected to increase as I do so. Then stop&lt;BR /&gt;at a sample size that gives me a power of 90%.&lt;BR /&gt;&lt;BR /&gt;I need a sas code to enable me so do.&lt;BR /&gt;&lt;BR /&gt;Thank you again.&lt;BR /&gt;</description>
    <pubDate>Mon, 19 Feb 2018 21:09:55 GMT</pubDate>
    <dc:creator>Uche_Okoro</dc:creator>
    <dc:date>2018-02-19T21:09:55Z</dc:date>
    <item>
      <title>Bootstrapping</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Bootstrapping/m-p/438453#M69094</link>
      <description>&lt;P&gt;I need help with the codes for determining sample size for independent t tests&amp;nbsp;by bootstrapping. I calculated the sample size by hand and got 62. My mu1=8, mu2=15 std dev.=12, alpha=0.05 and 1-beta=0.9.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Mon, 19 Feb 2018 18:57:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Bootstrapping/m-p/438453#M69094</guid>
      <dc:creator>Uche_Okoro</dc:creator>
      <dc:date>2018-02-19T18:57:52Z</dc:date>
    </item>
    <item>
      <title>Re: Bootstrapping</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Bootstrapping/m-p/438461#M69095</link>
      <description>&lt;P&gt;Please see the fully worked example here:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://documentation.sas.com/?docsetId=statug&amp;amp;docsetTarget=statug_power_gettingstarted02.htm&amp;amp;docsetVersion=14.3&amp;amp;locale=en" target="_blank"&gt;http://documentation.sas.com/?docsetId=statug&amp;amp;docsetTarget=statug_power_gettingstarted02.htm&amp;amp;docsetVersion=14.3&amp;amp;locale=en&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you have more specific issues with your PROC POWER, please post back with the code you tried and explain what issues you're having.&lt;/P&gt;</description>
      <pubDate>Mon, 19 Feb 2018 19:23:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Bootstrapping/m-p/438461#M69095</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-02-19T19:23:55Z</dc:date>
    </item>
    <item>
      <title>Re: Bootstrapping</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Bootstrapping/m-p/438495#M69097</link>
      <description>Thank you for prompt response but it does not have a closed-form solution.&lt;BR /&gt;By bootstrapping, I am to estimate the sample size that will give me a&lt;BR /&gt;power of 90%. I know from the initial calculation I got 62. I am expected&lt;BR /&gt;to start with eg 30 run simulations 1000 times using the independent t-test&lt;BR /&gt;then check the p-value each time. if I reject that could be coded as 1 when&lt;BR /&gt;fail to reject, I code that as 0. I am to do that a 1000 times, then take&lt;BR /&gt;an average of the variables which is the power. I am to continue increasing&lt;BR /&gt;the sample size and the power is expected to increase as I do so. Then stop&lt;BR /&gt;at a sample size that gives me a power of 90%.&lt;BR /&gt;&lt;BR /&gt;I need a sas code to enable me so do.&lt;BR /&gt;&lt;BR /&gt;Thank you again.&lt;BR /&gt;</description>
      <pubDate>Mon, 19 Feb 2018 21:09:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Bootstrapping/m-p/438495#M69097</guid>
      <dc:creator>Uche_Okoro</dc:creator>
      <dc:date>2018-02-19T21:09:55Z</dc:date>
    </item>
    <item>
      <title>Re: Bootstrapping</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Bootstrapping/m-p/438620#M69101</link>
      <description>&lt;P&gt;The general idea is shown in &lt;A href="https://blogs.sas.com/content/iml/2013/05/30/simulation-power.html" target="_self"&gt;"Using simulation to estimate&amp;nbsp;the power of a statistical&amp;nbsp;test."&lt;/A&gt;&amp;nbsp;That example uses simulation to generate the&amp;nbsp;many (re)samples, but you can replace the simulation step by using the bootstrap resampling. A general discussion of bootstrapping in SAS is available at &lt;A href="https://blogs.sas.com/content/iml/2016/08/10/bootstrap-confidence-interval-sas.html" target="_self"&gt;"Compute a bootstrap confidence interval in SAS"&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this is a MATCHED t-test, then you should use a permutation test, as shown in &lt;A href="https://blogs.sas.com/content/iml/2014/11/21/resampling-in-sas.html" target="_self"&gt;"Resampling and permutation tests in SAS"&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Feb 2018 12:29:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Bootstrapping/m-p/438620#M69101</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2018-02-20T12:29:40Z</dc:date>
    </item>
    <item>
      <title>Re: Bootstrapping</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Bootstrapping/m-p/438622#M69102</link>
      <description>&lt;P&gt;If you have SAS 9.4M5, you can use the new BOOTSTRAP statement&amp;nbsp;in PROC TTEST:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://go.documentation.sas.com/?docsetId=statug&amp;amp;docsetTarget=statug_ttest_syntax02.htm&amp;amp;docsetVersion=14.3&amp;amp;locale=en" target="_blank"&gt;http://go.documentation.sas.com/?docsetId=statug&amp;amp;docsetTarget=statug_ttest_syntax02.htm&amp;amp;docsetVersion=14.3&amp;amp;locale=en&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Feb 2018 12:35:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Bootstrapping/m-p/438622#M69102</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2018-02-20T12:35:28Z</dc:date>
    </item>
  </channel>
</rss>

