<?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 GLM vs. PROC REG   with categorical predictor in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-GLM-vs-PROC-REG-with-categorical-predictor/m-p/439954#M23198</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/117244"&gt;@tam_el&lt;/a&gt; wrote:&lt;BR /&gt;Thank you, Understood now, I should explicitly create a dummy variable for categorical predictor before applying PROC REG.&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;No.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You should use PROC GLM. Much simpler, you do not have to create dummy variables when you use PROC GLM, and you get the exact same answer as if you created the dummy variable and then ran PROC REG.&lt;/P&gt;</description>
    <pubDate>Sat, 24 Feb 2018 16:14:09 GMT</pubDate>
    <dc:creator>PaigeMiller</dc:creator>
    <dc:date>2018-02-24T16:14:09Z</dc:date>
    <item>
      <title>PROC GLM vs. PROC REG   with categorical predictor</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-GLM-vs-PROC-REG-with-categorical-predictor/m-p/439946#M23195</link>
      <description>&lt;P&gt;I confused between PROC GLM and REG, I read about the difference but still don't have the ability&amp;nbsp;to answer a question like:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Q:&amp;nbsp;&lt;STRONG&gt;A linear model has the following characteristics:&lt;/STRONG&gt;&lt;BR /&gt;- A dependent variable (y)&lt;BR /&gt;- Three continuous predictor variables (x1-x3)&lt;BR /&gt;- One categorical predictor variable (c1with 3 levels)&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Which SAS program fits this model?&lt;/STRONG&gt;&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="240-Q49" style="width: 388px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/18798i06B6C14790E2B504/image-size/large?v=v2&amp;amp;px=999" role="button" title="240-Q49" alt="240-Q49" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My answer is C,&amp;nbsp;but I the right answer is D. Why?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 24 Feb 2018 15:06:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-GLM-vs-PROC-REG-with-categorical-predictor/m-p/439946#M23195</guid>
      <dc:creator>tam_el</dc:creator>
      <dc:date>2018-02-24T15:06:56Z</dc:date>
    </item>
    <item>
      <title>Re: PROC GLM vs. PROC REG   with categorical predictor</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-GLM-vs-PROC-REG-with-categorical-predictor/m-p/439948#M23196</link>
      <description>&lt;P&gt;Because, as you can see from the &lt;A href="http://documentation.sas.com/?docsetId=statug&amp;amp;docsetVersion=14.2&amp;amp;docsetTarget=statug_reg_syntax.htm&amp;amp;locale=en" target="_self"&gt;Syntax page of the PROC REG Documentation&lt;/A&gt;, PROC REG does not support a class statement.&lt;/P&gt;</description>
      <pubDate>Sat, 24 Feb 2018 15:23:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-GLM-vs-PROC-REG-with-categorical-predictor/m-p/439948#M23196</guid>
      <dc:creator>PeterClemmensen</dc:creator>
      <dc:date>2018-02-24T15:23:07Z</dc:date>
    </item>
    <item>
      <title>Re: PROC GLM vs. PROC REG   with categorical predictor</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-GLM-vs-PROC-REG-with-categorical-predictor/m-p/439949#M23197</link>
      <description>Thank you, Understood now, I should explicitly create a dummy variable for categorical predictor before applying PROC REG.</description>
      <pubDate>Sat, 24 Feb 2018 15:32:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-GLM-vs-PROC-REG-with-categorical-predictor/m-p/439949#M23197</guid>
      <dc:creator>tam_el</dc:creator>
      <dc:date>2018-02-24T15:32:55Z</dc:date>
    </item>
    <item>
      <title>Re: PROC GLM vs. PROC REG   with categorical predictor</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-GLM-vs-PROC-REG-with-categorical-predictor/m-p/439954#M23198</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/117244"&gt;@tam_el&lt;/a&gt; wrote:&lt;BR /&gt;Thank you, Understood now, I should explicitly create a dummy variable for categorical predictor before applying PROC REG.&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;No.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You should use PROC GLM. Much simpler, you do not have to create dummy variables when you use PROC GLM, and you get the exact same answer as if you created the dummy variable and then ran PROC REG.&lt;/P&gt;</description>
      <pubDate>Sat, 24 Feb 2018 16:14:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-GLM-vs-PROC-REG-with-categorical-predictor/m-p/439954#M23198</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2018-02-24T16:14:09Z</dc:date>
    </item>
  </channel>
</rss>

