<?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 calculation in cohort study in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Power-calculation-in-cohort-study/m-p/436142#M23024</link>
    <description>&lt;P&gt;WHere's the rest of the code? The PROC POWER statement for starters?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;73 &lt;STRONG&gt;proc groupweights=&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And the rest of that code doesn't look close to correct.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;See&amp;nbsp;the documentation&amp;nbsp;reference here:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://documentation.sas.com/?docsetId=statug&amp;amp;docsetTarget=statug_power_toc.htm&amp;amp;docsetVersion=14.3&amp;amp;locale=en" target="_blank"&gt;http://documentation.sas.com/?docsetId=statug&amp;amp;docsetTarget=statug_power_toc.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;See the examples&amp;nbsp;section for various full examples.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/187617"&gt;@emma19901&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;Hi, I am trying to calculate power for a hypothetical&amp;nbsp;cohort study, I have run in multiple times this code but I still receive the same error 180-322.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks in advance!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;groupweights=(1 9)/*Divide ntotal 9 to 1 between the groups =&amp;gt; n2=9*n1, where n1 = exposed sample size &amp;amp; n2 = unexposed sample size*/&lt;BR /&gt;ntotal=120000 /*120,000 total participants in the study*/&lt;BR /&gt;power=.; /*Calculate power*/&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV class="sasSource"&gt;OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;72&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;73 proc groupweights=(1|9)/*Divide ntotal 9 to 1 between the groups =&amp;gt; n2=9*n1, where n1 = exposed sample size &amp;amp; n2 =&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;73 ! unexposed sample size*/&lt;/DIV&gt;
&lt;DIV class="sasError"&gt;ERROR: Procedure GROUPWEIGHTS not found.&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;74 ntotal=120000 /*120,000 total participants in the study*/&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;75 power=.; /*Calculate power*/&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;76&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;77 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;&lt;/DIV&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 12 Feb 2018 03:55:30 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2018-02-12T03:55:30Z</dc:date>
    <item>
      <title>Power calculation in cohort study</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Power-calculation-in-cohort-study/m-p/436140#M23023</link>
      <description>&lt;P&gt;Hi, I am trying to calculate power for a hypothetical&amp;nbsp;cohort study, I have run in multiple times this code but I still receive the same error 180-322.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;groupweights=(1 9)/*Divide ntotal 9 to 1 between the groups =&amp;gt; n2=9*n1, where n1 = exposed sample size &amp;amp; n2 = unexposed sample size*/&lt;BR /&gt;ntotal=120000 /*120,000 total participants in the study*/&lt;BR /&gt;power=.; /*Calculate power*/&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class="sasSource"&gt;OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;72&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;73 proc groupweights=(1|9)/*Divide ntotal 9 to 1 between the groups =&amp;gt; n2=9*n1, where n1 = exposed sample size &amp;amp; n2 =&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;73 ! unexposed sample size*/&lt;/DIV&gt;&lt;DIV class="sasError"&gt;ERROR: Procedure GROUPWEIGHTS not found.&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;74 ntotal=120000 /*120,000 total participants in the study*/&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;75 power=.; /*Calculate power*/&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;76&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;77 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;&lt;/DIV&gt;</description>
      <pubDate>Mon, 12 Feb 2018 03:44:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Power-calculation-in-cohort-study/m-p/436140#M23023</guid>
      <dc:creator>emma19901</dc:creator>
      <dc:date>2018-02-12T03:44:31Z</dc:date>
    </item>
    <item>
      <title>Re: Power calculation in cohort study</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Power-calculation-in-cohort-study/m-p/436142#M23024</link>
      <description>&lt;P&gt;WHere's the rest of the code? The PROC POWER statement for starters?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;73 &lt;STRONG&gt;proc groupweights=&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And the rest of that code doesn't look close to correct.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;See&amp;nbsp;the documentation&amp;nbsp;reference here:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://documentation.sas.com/?docsetId=statug&amp;amp;docsetTarget=statug_power_toc.htm&amp;amp;docsetVersion=14.3&amp;amp;locale=en" target="_blank"&gt;http://documentation.sas.com/?docsetId=statug&amp;amp;docsetTarget=statug_power_toc.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;See the examples&amp;nbsp;section for various full examples.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/187617"&gt;@emma19901&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;Hi, I am trying to calculate power for a hypothetical&amp;nbsp;cohort study, I have run in multiple times this code but I still receive the same error 180-322.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks in advance!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;groupweights=(1 9)/*Divide ntotal 9 to 1 between the groups =&amp;gt; n2=9*n1, where n1 = exposed sample size &amp;amp; n2 = unexposed sample size*/&lt;BR /&gt;ntotal=120000 /*120,000 total participants in the study*/&lt;BR /&gt;power=.; /*Calculate power*/&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV class="sasSource"&gt;OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;72&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;73 proc groupweights=(1|9)/*Divide ntotal 9 to 1 between the groups =&amp;gt; n2=9*n1, where n1 = exposed sample size &amp;amp; n2 =&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;73 ! unexposed sample size*/&lt;/DIV&gt;
&lt;DIV class="sasError"&gt;ERROR: Procedure GROUPWEIGHTS not found.&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;74 ntotal=120000 /*120,000 total participants in the study*/&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;75 power=.; /*Calculate power*/&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;76&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;77 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;&lt;/DIV&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Feb 2018 03:55:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Power-calculation-in-cohort-study/m-p/436142#M23024</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-02-12T03:55:30Z</dc:date>
    </item>
  </channel>
</rss>

