<?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: Proc Reg models in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/Proc-Reg-models/m-p/719766#M27683</link>
    <description>&lt;P&gt;Use &lt;STRONG&gt;proc glm&lt;/STRONG&gt; and define &lt;EM&gt;race&lt;/EM&gt; as a class variable. BTW, that particular form of &lt;EM&gt;regression&lt;/EM&gt; is called Analysis of Variance (ANOVA).&lt;/P&gt;</description>
    <pubDate>Wed, 17 Feb 2021 00:22:35 GMT</pubDate>
    <dc:creator>PGStats</dc:creator>
    <dc:date>2021-02-17T00:22:35Z</dc:date>
    <item>
      <title>Proc Reg models</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Proc-Reg-models/m-p/719758#M27681</link>
      <description>&lt;P&gt;I want to write a code to create a regression model. the outcome is continuous, but the independent variable is categorical.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried this code:&lt;/P&gt;&lt;P&gt;proc reg;&lt;BR /&gt;model cognitive = race;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but it is considering race as a continuous variable.&lt;/P&gt;&lt;P&gt;how can I tell SAS that race is categorical?&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have 2 races&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Jado_0-1613517188958.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/54820iBED42C2EB8BDEC4B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Jado_0-1613517188958.png" alt="Jado_0-1613517188958.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Feb 2021 23:13:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Proc-Reg-models/m-p/719758#M27681</guid>
      <dc:creator>Jado</dc:creator>
      <dc:date>2021-02-16T23:13:48Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Reg models</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Proc-Reg-models/m-p/719765#M27682</link>
      <description>&lt;P&gt;Use GLM instead:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;proc glm;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;class race;&lt;BR /&gt;&lt;SPAN&gt;model cognitive = race;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;run;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Feb 2021 00:19:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Proc-Reg-models/m-p/719765#M27682</guid>
      <dc:creator>qoit</dc:creator>
      <dc:date>2021-02-17T00:19:05Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Reg models</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Proc-Reg-models/m-p/719766#M27683</link>
      <description>&lt;P&gt;Use &lt;STRONG&gt;proc glm&lt;/STRONG&gt; and define &lt;EM&gt;race&lt;/EM&gt; as a class variable. BTW, that particular form of &lt;EM&gt;regression&lt;/EM&gt; is called Analysis of Variance (ANOVA).&lt;/P&gt;</description>
      <pubDate>Wed, 17 Feb 2021 00:22:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Proc-Reg-models/m-p/719766#M27683</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2021-02-17T00:22:35Z</dc:date>
    </item>
  </channel>
</rss>

