<?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: Non parametric Cuzick test for trend in SAS in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Non-parametric-Cuzick-test-for-trend-in-SAS/m-p/444938#M23353</link>
    <description>&lt;P&gt;Is is possible for you to post the link (that you've shared in the following message) again? For some reason, it opens the same message window.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;
&lt;P&gt;Ashwini&lt;/P&gt;</description>
    <pubDate>Mon, 12 Mar 2018 20:49:43 GMT</pubDate>
    <dc:creator>Ashwini_uci</dc:creator>
    <dc:date>2018-03-12T20:49:43Z</dc:date>
    <item>
      <title>Non parametric Cuzick test for trend in SAS</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Non-parametric-Cuzick-test-for-trend-in-SAS/m-p/431145#M22673</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I have used following code to obtain percentages for some cardiac procedure complications, over the period of 10 years.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000FF"&gt;proc freq data=library.CRT;&amp;nbsp;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;tables (died complication1 complimortality majorcompli majcomplimortality hemreqtrans) *year /chisq;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;where crt51=1;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;Title 'Table 2- yearwise- 0051';&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;run;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I got the ouput that look like this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="trend.JPG" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/18112i04E1CC493B084EC7/image-size/large?v=v2&amp;amp;px=999" role="button" title="trend.JPG" alt="trend.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To test the trend I need to obtain the &lt;FONT color="#FF0000"&gt;&lt;U&gt;p value &lt;/U&gt;&amp;nbsp;( to compare 10 counts of percentages over 10 years)&lt;/FONT&gt;,by using &lt;FONT color="#FF0000"&gt;&lt;U&gt;Cuzick test for trend in SAS.&lt;/U&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;Is there any easy/simple way without using any macro to accomplish this in SAS? I have never used this test before.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any help would be greatly appreciated!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Ashwini&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jan 2018 01:04:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Non-parametric-Cuzick-test-for-trend-in-SAS/m-p/431145#M22673</guid>
      <dc:creator>Ashwini_uci</dc:creator>
      <dc:date>2018-01-26T01:04:14Z</dc:date>
    </item>
    <item>
      <title>Re: Non parametric Cuzick test for trend in SAS</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Non-parametric-Cuzick-test-for-trend-in-SAS/m-p/431313#M22682</link>
      <description>&lt;P&gt;If you have access to the SAS/IML language, you can &lt;A href="https://blogs.sas.com/content/iml/2011/03/09/translating-a-matlab-program-into-the-sasiml-language-a-case-study.html" target="_self"&gt;use this blog post and program to get started.&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jan 2018 15:54:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Non-parametric-Cuzick-test-for-trend-in-SAS/m-p/431313#M22682</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2018-01-26T15:54:12Z</dc:date>
    </item>
    <item>
      <title>Re: Non parametric Cuzick test for trend in SAS</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Non-parametric-Cuzick-test-for-trend-in-SAS/m-p/431435#M22690</link>
      <description>&lt;P&gt;You would probably do better with the stratum adjusted Spearman rank correlation coefficient. It is hidden in proc freq as described here:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://documentation.sas.com/?docsetId=statug&amp;amp;docsetTarget=statug_freq_details90.htm&amp;amp;docsetVersion=14.3&amp;amp;locale=en" target="_blank"&gt;http://documentation.sas.com/?docsetId=statug&amp;amp;docsetTarget=statug_freq_details90.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;To get the p-value for your data, create a dataset with columns &lt;EM&gt;Complication&lt;/EM&gt;, &lt;EM&gt;Year&lt;/EM&gt;, and &lt;EM&gt;Value&lt;/EM&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then run the program:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc freq data=myData;
table Complication * Year * Value / scores=ridit cmh1 noprint;
ods output cmh=stratSpearman;
run;

proc print data=stratSpearman noobs; where statistic=1; run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;(untested)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Mar 2018 03:45:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Non-parametric-Cuzick-test-for-trend-in-SAS/m-p/431435#M22690</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2018-03-13T03:45:54Z</dc:date>
    </item>
    <item>
      <title>Re: Non parametric Cuzick test for trend in SAS</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Non-parametric-Cuzick-test-for-trend-in-SAS/m-p/444935#M23352</link>
      <description>&lt;P&gt;Thank you! This was helpful!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Ashwini&lt;/P&gt;</description>
      <pubDate>Mon, 12 Mar 2018 20:46:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Non-parametric-Cuzick-test-for-trend-in-SAS/m-p/444935#M23352</guid>
      <dc:creator>Ashwini_uci</dc:creator>
      <dc:date>2018-03-12T20:46:42Z</dc:date>
    </item>
    <item>
      <title>Re: Non parametric Cuzick test for trend in SAS</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Non-parametric-Cuzick-test-for-trend-in-SAS/m-p/444938#M23353</link>
      <description>&lt;P&gt;Is is possible for you to post the link (that you've shared in the following message) again? For some reason, it opens the same message window.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;
&lt;P&gt;Ashwini&lt;/P&gt;</description>
      <pubDate>Mon, 12 Mar 2018 20:49:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Non-parametric-Cuzick-test-for-trend-in-SAS/m-p/444938#M23353</guid>
      <dc:creator>Ashwini_uci</dc:creator>
      <dc:date>2018-03-12T20:49:43Z</dc:date>
    </item>
    <item>
      <title>Re: Non parametric Cuzick test for trend in SAS</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Non-parametric-Cuzick-test-for-trend-in-SAS/m-p/445011#M23355</link>
      <description>&lt;P&gt;Sorry. I corrected the link.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Mar 2018 03:46:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Non-parametric-Cuzick-test-for-trend-in-SAS/m-p/445011#M23355</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2018-03-13T03:46:37Z</dc:date>
    </item>
    <item>
      <title>Re: Non parametric Cuzick test for trend in SAS</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Non-parametric-Cuzick-test-for-trend-in-SAS/m-p/457543#M23862</link>
      <description>&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Wed, 25 Apr 2018 21:54:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Non-parametric-Cuzick-test-for-trend-in-SAS/m-p/457543#M23862</guid>
      <dc:creator>Ashwini_uci</dc:creator>
      <dc:date>2018-04-25T21:54:58Z</dc:date>
    </item>
  </channel>
</rss>

