<?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 How to do diagnosis of residual of ANOVA in Surveyreg? (Trend analysis) in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-do-diagnosis-of-residual-of-ANOVA-in-Surveyreg-Trend/m-p/697659#M33662</link>
    <description>&lt;P&gt;&lt;SPAN&gt;I am analyzing a temporal trend(&lt;/SPAN&gt;&lt;CODE&gt;yr&lt;/CODE&gt;&lt;SPAN&gt;) of certain exposure(&lt;/SPAN&gt;&lt;CODE&gt;a b &amp;amp; c&lt;/CODE&gt;&lt;SPAN&gt;) by using the NHANES. I draw a plot with the median of each exposure and visually see a trend.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;My code is like this:&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;proc suveyreg data=a;
   stratum stra;
   cluster clus;
   weight wt;
   model a=yr/anova;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I&lt;SPAN&gt;&amp;nbsp;am not sure if this is an appropriate approach because the exposures are right-skewed. Can somebody tell me how to get the normality test of the residual in ANOVA while using&amp;nbsp;&lt;/SPAN&gt;&lt;CODE&gt;proc surveyreg&lt;/CODE&gt;&lt;SPAN&gt;? Should I use log-transformed exposure in the model? &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I don't know if I can use Kruskal-Wallis test here.&amp;nbsp; Is there any survey-related procedure that could conduct the test? But I think maybe &lt;CODE&gt;proc surveyreg&lt;/CODE&gt;is more suitable based on the research question. Am I wrong?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks!&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 09 Nov 2020 16:31:09 GMT</pubDate>
    <dc:creator>ChristinaMa96</dc:creator>
    <dc:date>2020-11-09T16:31:09Z</dc:date>
    <item>
      <title>How to do diagnosis of residual of ANOVA in Surveyreg? (Trend analysis)</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-do-diagnosis-of-residual-of-ANOVA-in-Surveyreg-Trend/m-p/697659#M33662</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I am analyzing a temporal trend(&lt;/SPAN&gt;&lt;CODE&gt;yr&lt;/CODE&gt;&lt;SPAN&gt;) of certain exposure(&lt;/SPAN&gt;&lt;CODE&gt;a b &amp;amp; c&lt;/CODE&gt;&lt;SPAN&gt;) by using the NHANES. I draw a plot with the median of each exposure and visually see a trend.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;My code is like this:&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;proc suveyreg data=a;
   stratum stra;
   cluster clus;
   weight wt;
   model a=yr/anova;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I&lt;SPAN&gt;&amp;nbsp;am not sure if this is an appropriate approach because the exposures are right-skewed. Can somebody tell me how to get the normality test of the residual in ANOVA while using&amp;nbsp;&lt;/SPAN&gt;&lt;CODE&gt;proc surveyreg&lt;/CODE&gt;&lt;SPAN&gt;? Should I use log-transformed exposure in the model? &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I don't know if I can use Kruskal-Wallis test here.&amp;nbsp; Is there any survey-related procedure that could conduct the test? But I think maybe &lt;CODE&gt;proc surveyreg&lt;/CODE&gt;is more suitable based on the research question. Am I wrong?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Nov 2020 16:31:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-do-diagnosis-of-residual-of-ANOVA-in-Surveyreg-Trend/m-p/697659#M33662</guid>
      <dc:creator>ChristinaMa96</dc:creator>
      <dc:date>2020-11-09T16:31:09Z</dc:date>
    </item>
  </channel>
</rss>

