<?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 State Fixed effects in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/State-Fixed-effects/m-p/373393#M19537</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am running a regression model that has 12 variables, and one state variable. For the State variable (numeric), I want to create a Fixed Effect for each State. Thus, I want to include in the model 49 new variables and leave one out as the reference State. How can I create these 49 variables so that I can include them in the model, please? Each oservation should have only one indicator for State. For example, Observation 1 from NY should have all 48 variables equal 0, and equals one for the NY indicator.&lt;/P&gt;&lt;P&gt;I am using SAS Enterprise guide, but can write the code and run it in SAS Base.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Altijani&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 05 Jul 2017 18:10:40 GMT</pubDate>
    <dc:creator>altijani</dc:creator>
    <dc:date>2017-07-05T18:10:40Z</dc:date>
    <item>
      <title>State Fixed effects</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/State-Fixed-effects/m-p/373393#M19537</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am running a regression model that has 12 variables, and one state variable. For the State variable (numeric), I want to create a Fixed Effect for each State. Thus, I want to include in the model 49 new variables and leave one out as the reference State. How can I create these 49 variables so that I can include them in the model, please? Each oservation should have only one indicator for State. For example, Observation 1 from NY should have all 48 variables equal 0, and equals one for the NY indicator.&lt;/P&gt;&lt;P&gt;I am using SAS Enterprise guide, but can write the code and run it in SAS Base.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Altijani&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jul 2017 18:10:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/State-Fixed-effects/m-p/373393#M19537</guid>
      <dc:creator>altijani</dc:creator>
      <dc:date>2017-07-05T18:10:40Z</dc:date>
    </item>
    <item>
      <title>Re: State Fixed effects</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/State-Fixed-effects/m-p/373397#M19538</link>
      <description>&lt;P&gt;Easiest method is probably the one described by Rick at:&amp;nbsp;&lt;A href="http://blogs.sas.com/content/iml/2016/02/22/create-dummy-variables-in-sas.html" target="_blank"&gt;http://blogs.sas.com/content/iml/2016/02/22/create-dummy-variables-in-sas.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Art, CEO, AnalystFinder.com&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jul 2017 18:17:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/State-Fixed-effects/m-p/373397#M19538</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2017-07-05T18:17:33Z</dc:date>
    </item>
  </channel>
</rss>

