<?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: adjusting proc glm for ANOVA in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/adjusting-proc-glm-for-ANOVA/m-p/922500#M83379</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thank you for your response.&lt;/P&gt;&lt;P&gt;I named case/control group "risk_factor" in my data. It has 0(control) and 1(case) codes.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I used "risk_factor" in SAS.&lt;/P&gt;</description>
    <pubDate>Mon, 01 Apr 2024 21:01:22 GMT</pubDate>
    <dc:creator>Manije72</dc:creator>
    <dc:date>2024-04-01T21:01:22Z</dc:date>
    <item>
      <title>adjusting proc glm for ANOVA</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/adjusting-proc-glm-for-ANOVA/m-p/922471#M83376</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would appreciate it if you could answer my question quickly.&lt;/P&gt;&lt;P&gt;I want to see the dietary iron among case (patient) and control (healthy). The variable for disease is risk factor. I want to adjust sex, alcohol (yes/no), drug (yes/no), and BMI. Is this the correct code?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt; &lt;STRONG&gt;glm&lt;/STRONG&gt; data=SS;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; class risk factor sex alcohol drugs;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; model Iron= risk factor sex alcohol drugs BMI_A / solution;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; lsmeans risk factor/ stderr pdiff cov out=adjmeans;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Apr 2024 17:28:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/adjusting-proc-glm-for-ANOVA/m-p/922471#M83376</guid>
      <dc:creator>Manije72</dc:creator>
      <dc:date>2024-04-01T17:28:24Z</dc:date>
    </item>
    <item>
      <title>Re: adjusting proc glm for ANOVA</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/adjusting-proc-glm-for-ANOVA/m-p/922490#M83377</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/439159"&gt;@Manije72&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would appreciate it if you could answer my question quickly.&lt;/P&gt;
&lt;P&gt;I want to see the dietary iron among case (patient) and control (healthy). The variable for disease is risk factor. I want to adjust sex, alcohol (yes/no), drug (yes/no), and BMI. Is this the correct code?&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt; &lt;STRONG&gt;glm&lt;/STRONG&gt; data=SS;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; class risk factor sex alcohol drugs;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; model Iron= risk factor sex alcohol drugs BMI_A / solution;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; lsmeans risk factor/ stderr pdiff cov out=adjmeans;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;If you want to compare the dietary iron between case and control, this is a categorical variable which I do not see in your model.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also "risk factor" is not a valid variable name in SAS, so it can't be used like that (although risk_factor is a valid variable name).&lt;/P&gt;</description>
      <pubDate>Mon, 01 Apr 2024 20:04:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/adjusting-proc-glm-for-ANOVA/m-p/922490#M83377</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2024-04-01T20:04:29Z</dc:date>
    </item>
    <item>
      <title>Re: adjusting proc glm for ANOVA</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/adjusting-proc-glm-for-ANOVA/m-p/922498#M83378</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your response.&lt;/P&gt;&lt;P&gt;I named "patients/healthy) as "risk factor" in my data. It has 0(healthy) and 1(patients) code.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Apr 2024 20:57:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/adjusting-proc-glm-for-ANOVA/m-p/922498#M83378</guid>
      <dc:creator>Manije72</dc:creator>
      <dc:date>2024-04-01T20:57:10Z</dc:date>
    </item>
    <item>
      <title>Re: adjusting proc glm for ANOVA</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/adjusting-proc-glm-for-ANOVA/m-p/922500#M83379</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thank you for your response.&lt;/P&gt;&lt;P&gt;I named case/control group "risk_factor" in my data. It has 0(control) and 1(case) codes.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I used "risk_factor" in SAS.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Apr 2024 21:01:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/adjusting-proc-glm-for-ANOVA/m-p/922500#M83379</guid>
      <dc:creator>Manije72</dc:creator>
      <dc:date>2024-04-01T21:01:22Z</dc:date>
    </item>
    <item>
      <title>Re: adjusting proc glm for ANOVA</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/adjusting-proc-glm-for-ANOVA/m-p/922505#M83380</link>
      <description>&lt;P&gt;When you have a variable name in your data such as risk_factor, please use that variable name in your text as well, possibly with other descriptions. Do not make us guess what variable you are referring to.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;With that understanding, your code looks reasonable to me.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Apr 2024 21:49:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/adjusting-proc-glm-for-ANOVA/m-p/922505#M83380</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2024-04-01T21:49:14Z</dc:date>
    </item>
  </channel>
</rss>

