<?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: Mianalyze and nonparametric test for trends with ordinal variables in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Mianalyze-and-nonparametric-test-for-trends-with-ordinal/m-p/770635#M37660</link>
    <description>&lt;P&gt;There isn't a good option here for combining the results from the JT test directly from Proc FREQ since it only reports J*.&amp;nbsp; One option might be that, since the JT statistic follows a standard normal distribution, you could hand-calculate the J and Var(J) in the &lt;A href="https://go.documentation.sas.com/doc/en/pgmsascdc/9.4_3.4/statug/statug_freq_details77.htm" target="_self"&gt;formula&lt;/A&gt;.&amp;nbsp; Once you had those you could feed them into Proc MIANALYZE using the MODELEFFECTS and STDERR statements.&amp;nbsp; I can't think of any reason why this wouldn't be valid given the distribution, but you may want to dig a little deeper in the literature to confirm that.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 27 Sep 2021 13:32:19 GMT</pubDate>
    <dc:creator>SAS_Rob</dc:creator>
    <dc:date>2021-09-27T13:32:19Z</dc:date>
    <item>
      <title>Mianalyze and nonparametric test for trends with ordinal variables</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Mianalyze-and-nonparametric-test-for-trends-with-ordinal/m-p/770619#M37659</link>
      <description>&lt;P&gt;Dear SAS users,&lt;/P&gt;
&lt;P&gt;I would like to test the trend for the severity of cancer prognosis (continuous) vs. an ordinal variable (e.g. education).&amp;nbsp;&lt;/P&gt;
&lt;P&gt;With a single dataset I would use a non parametric test such as jonkeree terpstra but having performed multiple imputation&amp;nbsp; I need also&amp;nbsp; to pool the results.&lt;/P&gt;
&lt;P&gt;I&amp;nbsp; used GLM with the estimate statement to obtain a standard error I can use with mianalyze, but I am not sure if I can do this for nonparametric data. I am also&amp;nbsp;&lt;SPAN style="font-family: inherit;"&gt;&amp;nbsp;not sure what approach would be appropriate with an ordinal variable. Could you please advise on this problem?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: inherit;"&gt;Thank you&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;title 'GLM by&amp;nbsp;&amp;amp;catvar';&lt;/P&gt;
&lt;P&gt;proc glm data=MI_FCS2 ;&lt;BR /&gt;by&amp;nbsp; _imputation_ ; &lt;BR /&gt;class &amp;amp;catvar; &lt;BR /&gt;model Prognosis = &amp;amp;catvar / solution;&lt;/P&gt;
&lt;P&gt;estimate 'edu3' intercept 1 &amp;amp;catvar 0 0 1; &lt;BR /&gt;estimate 'edu2' intercept 1 &amp;amp;catvar 0 1 0; &lt;BR /&gt;estimate 'edu1' intercept 1 &amp;amp;catvar 1 0 0; &lt;BR /&gt;estimate 'edu1-edu2'&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;amp;catvar 1 -1 0; &lt;BR /&gt;estimate 'edu2-edu3'&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;amp;catvar 0&amp;nbsp; 1 -1; &lt;BR /&gt;estimate '(edu1,edu2)-edu3' &amp;amp;catvar 0.5 0.5 -1;&lt;BR /&gt;ods output estimates=est_ds;&lt;BR /&gt;run;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Sep 2021 12:49:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Mianalyze-and-nonparametric-test-for-trends-with-ordinal/m-p/770619#M37659</guid>
      <dc:creator>Giampaolo</dc:creator>
      <dc:date>2021-09-27T12:49:52Z</dc:date>
    </item>
    <item>
      <title>Re: Mianalyze and nonparametric test for trends with ordinal variables</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Mianalyze-and-nonparametric-test-for-trends-with-ordinal/m-p/770635#M37660</link>
      <description>&lt;P&gt;There isn't a good option here for combining the results from the JT test directly from Proc FREQ since it only reports J*.&amp;nbsp; One option might be that, since the JT statistic follows a standard normal distribution, you could hand-calculate the J and Var(J) in the &lt;A href="https://go.documentation.sas.com/doc/en/pgmsascdc/9.4_3.4/statug/statug_freq_details77.htm" target="_self"&gt;formula&lt;/A&gt;.&amp;nbsp; Once you had those you could feed them into Proc MIANALYZE using the MODELEFFECTS and STDERR statements.&amp;nbsp; I can't think of any reason why this wouldn't be valid given the distribution, but you may want to dig a little deeper in the literature to confirm that.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Sep 2021 13:32:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Mianalyze-and-nonparametric-test-for-trends-with-ordinal/m-p/770635#M37660</guid>
      <dc:creator>SAS_Rob</dc:creator>
      <dc:date>2021-09-27T13:32:19Z</dc:date>
    </item>
    <item>
      <title>Re: Mianalyze and nonparametric test for trends with ordinal variables</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Mianalyze-and-nonparametric-test-for-trends-with-ordinal/m-p/770640#M37661</link>
      <description>Thank you so much!</description>
      <pubDate>Mon, 27 Sep 2021 13:50:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Mianalyze-and-nonparametric-test-for-trends-with-ordinal/m-p/770640#M37661</guid>
      <dc:creator>Giampaolo</dc:creator>
      <dc:date>2021-09-27T13:50:22Z</dc:date>
    </item>
  </channel>
</rss>

