<?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 Dummy variable in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Dummy-variable/m-p/351609#M18426</link>
    <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am asking for your advice,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have 3 dummy variables with 1/0. These are called :Afirm ,Bfirm ,Cfirm.&lt;/P&gt;&lt;P&gt;I also have a variable called FIRMS&amp;nbsp;that have 3 options:1,2,3. When Afirm=1 than &lt;SPAN&gt;FIRMS&lt;/SPAN&gt;=1, &lt;SPAN&gt;When bfirm=1 than FIRMS=2,&amp;nbsp;When cfirm=1 than FIRMS=3.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If I run a regression, I understand the meaning of the coeffient of&amp;nbsp;Afirm ,Bfirm ,Cfirm. But is it any meaning for the variable FIRMS?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;What is preferable to add in the regression in order to get the difference between the firms?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks for your help!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 20 Apr 2017 11:02:45 GMT</pubDate>
    <dc:creator>yael</dc:creator>
    <dc:date>2017-04-20T11:02:45Z</dc:date>
    <item>
      <title>Dummy variable</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Dummy-variable/m-p/351609#M18426</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am asking for your advice,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have 3 dummy variables with 1/0. These are called :Afirm ,Bfirm ,Cfirm.&lt;/P&gt;&lt;P&gt;I also have a variable called FIRMS&amp;nbsp;that have 3 options:1,2,3. When Afirm=1 than &lt;SPAN&gt;FIRMS&lt;/SPAN&gt;=1, &lt;SPAN&gt;When bfirm=1 than FIRMS=2,&amp;nbsp;When cfirm=1 than FIRMS=3.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If I run a regression, I understand the meaning of the coeffient of&amp;nbsp;Afirm ,Bfirm ,Cfirm. But is it any meaning for the variable FIRMS?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;What is preferable to add in the regression in order to get the difference between the firms?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks for your help!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Apr 2017 11:02:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Dummy-variable/m-p/351609#M18426</guid>
      <dc:creator>yael</dc:creator>
      <dc:date>2017-04-20T11:02:45Z</dc:date>
    </item>
    <item>
      <title>Re: Dummy variable</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Dummy-variable/m-p/351716#M18439</link>
      <description>&lt;P&gt;It sounds like FIRMS tells you all you need to know. Just use a CLASS statement in a regression procedure, like this:&lt;/P&gt;
&lt;P&gt;CLASS FIRMS;&lt;/P&gt;
&lt;P&gt;MODEL Y = FIRMS ...;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It is not necessary to use the dummy variables in regression. If you are using a SAS procedure (such as PROC REG) that does not support the CLASS statement, you can generate a design matrix (which will have either 3 or 4 columns) by following the advice in the article &lt;A href="http://blogs.sas.com/content/iml/2016/02/24/create-a-design-matrix-in-sas.html" target="_self"&gt;"Four ways to create a design matrix in SAS."&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Apr 2017 14:45:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Dummy-variable/m-p/351716#M18439</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2017-04-20T14:45:46Z</dc:date>
    </item>
  </channel>
</rss>

