<?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 industry and year fixed effects in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/industry-and-year-fixed-effects/m-p/564395#M27853</link>
    <description>&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you please help me in running my regression equation with industry and year fixed effects. I tried looking at the other posts, but could not gather much about the same. I have two independent variables and want to append industry and year fixed effects in the regression model:&lt;/P&gt;&lt;P&gt;Dependent variable: Y&lt;/P&gt;&lt;P&gt;Independent variables: X1 and X2&lt;/P&gt;&lt;P&gt;Fixed Effects: Industry and Year fixed effects&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Aman&lt;/P&gt;</description>
    <pubDate>Fri, 07 Jun 2019 07:57:15 GMT</pubDate>
    <dc:creator>amanjot_42</dc:creator>
    <dc:date>2019-06-07T07:57:15Z</dc:date>
    <item>
      <title>industry and year fixed effects</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/industry-and-year-fixed-effects/m-p/564395#M27853</link>
      <description>&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you please help me in running my regression equation with industry and year fixed effects. I tried looking at the other posts, but could not gather much about the same. I have two independent variables and want to append industry and year fixed effects in the regression model:&lt;/P&gt;&lt;P&gt;Dependent variable: Y&lt;/P&gt;&lt;P&gt;Independent variables: X1 and X2&lt;/P&gt;&lt;P&gt;Fixed Effects: Industry and Year fixed effects&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Aman&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jun 2019 07:57:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/industry-and-year-fixed-effects/m-p/564395#M27853</guid>
      <dc:creator>amanjot_42</dc:creator>
      <dc:date>2019-06-07T07:57:15Z</dc:date>
    </item>
    <item>
      <title>Re: industry and year fixed effects</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/industry-and-year-fixed-effects/m-p/564641#M27854</link>
      <description>&lt;P&gt;I assume that X1 and X2 are also fixed effects, but Industry and Year are categorical variables? If so, try using PROC GLM like this&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc glm data=Have;
class Industry Year;
model Y = X1 X2 Industry Year / solution;
run;
quit;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;If you want to discuss details, we can use one of the data sets that SAS distributes:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc glm data=Sashelp.Cars(where=(Type^='Hybrid'));
class Origin Type;
model MPG_City = Horsepower EngineSize Origin Type / solution;
run;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 08 Jun 2019 10:27:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/industry-and-year-fixed-effects/m-p/564641#M27854</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2019-06-08T10:27:23Z</dc:date>
    </item>
    <item>
      <title>Re: industry and year fixed effects</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/industry-and-year-fixed-effects/m-p/564838#M27859</link>
      <description>hi,&lt;BR /&gt;thanks for your reply,&amp;nbsp;after running the code, the screen goes blank with no further updations or results?!&lt;BR /&gt;</description>
      <pubDate>Mon, 10 Jun 2019 09:26:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/industry-and-year-fixed-effects/m-p/564838#M27859</guid>
      <dc:creator>amanjot_42</dc:creator>
      <dc:date>2019-06-10T09:26:59Z</dc:date>
    </item>
    <item>
      <title>Re: industry and year fixed effects</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/industry-and-year-fixed-effects/m-p/564846#M27860</link>
      <description>&lt;P&gt;Please post the exact code you submitted and also the SAS log. My guess is that you have a syntax error.&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jun 2019 10:15:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/industry-and-year-fixed-effects/m-p/564846#M27860</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2019-06-10T10:15:39Z</dc:date>
    </item>
    <item>
      <title>Re: industry and year fixed effects</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/industry-and-year-fixed-effects/m-p/564872#M27862</link>
      <description>Hi,&lt;BR /&gt;I am using the following code:&lt;BR /&gt;proc glm data=Have;&lt;BR /&gt;class Industry Year;&lt;BR /&gt;model Y = X1 X2 Industry Year / solution;output out=result r=residuals;run;&lt;BR /&gt;quit;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 10 Jun 2019 12:13:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/industry-and-year-fixed-effects/m-p/564872#M27862</guid>
      <dc:creator>amanjot_42</dc:creator>
      <dc:date>2019-06-10T12:13:59Z</dc:date>
    </item>
    <item>
      <title>Re: industry and year fixed effects</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/industry-and-year-fixed-effects/m-p/564883#M27863</link>
      <description>&lt;P&gt;That code will work if your data set is named HAVE and it contains variables named&amp;nbsp;&lt;SPAN&gt;Y, X1, X2, Industry, and Year. (And Industry and Year have a relatively small number of levels.)&amp;nbsp; Unless you are excluding the ODS output, the procedure will display tables.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If your data set or variables have a different name, there will be an error message in the SAS log, so please post the entire SAS log, as requested previously, so that we can see the exact code you submitted and the SAS notes, warnings, and errors.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jun 2019 12:42:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/industry-and-year-fixed-effects/m-p/564883#M27863</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2019-06-10T12:42:03Z</dc:date>
    </item>
  </channel>
</rss>

