<?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: panel data regression with fixed effects in SAS Forecasting and Econometrics</title>
    <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/panel-data-regression-with-fixed-effects/m-p/632880#M3773</link>
    <description>&lt;P&gt;dear&amp;nbsp;&lt;A href="https://communities.sas.com/t5/user/viewprofilepage/user-id/265249" target="_blank" rel="noopener"&gt;xyz0505&lt;/A&gt;&lt;/P&gt;&lt;P&gt;greeting of the day&lt;/P&gt;&lt;P&gt;when i run the panel regression with the code suggested by you.&amp;nbsp;&lt;/P&gt;&lt;P&gt;But, i got the following error.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc panel data=Model_file;&lt;BR /&gt;35 model Y = X1- X13 / fixtwo;&lt;BR /&gt;36 id year Industry;&lt;BR /&gt;37 run;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ERROR: Unable to create an instance of the TKEPAN TK Extension.&lt;/STRONG&gt;&lt;BR /&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;BR /&gt;NOTE: PROCEDURE PANEL used (Total process time):&lt;BR /&gt;real time 0.09 seconds&lt;BR /&gt;cpu time 0.00 seconds&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am not able to understand it .&amp;nbsp;&lt;/P&gt;&lt;P&gt;please help me in this regard&lt;/P&gt;&lt;P&gt;thanks in advance&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 18 Mar 2020 08:53:17 GMT</pubDate>
    <dc:creator>srikanthyadav44</dc:creator>
    <dc:date>2020-03-18T08:53:17Z</dc:date>
    <item>
      <title>panel data regression with fixed effects</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/panel-data-regression-with-fixed-effects/m-p/629036#M3757</link>
      <description>&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;i have to perform panel data regression with industry-fixed effects and year fixed effects&lt;/P&gt;&lt;P&gt;my sample is having&amp;nbsp; cross-section of companies and time series of years. moreover, industry classification of each company is also mentioned in the data set.&amp;nbsp;&lt;/P&gt;&lt;P&gt;the format of my data set is as follows.&amp;nbsp;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;company_name&lt;/TD&gt;&lt;TD&gt;year&lt;/TD&gt;&lt;TD&gt;industry_code&lt;/TD&gt;&lt;TD&gt;y&lt;/TD&gt;&lt;TD&gt;x1&lt;/TD&gt;&lt;TD&gt;x2&lt;/TD&gt;&lt;TD&gt;x3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;20 Microns Ltd&lt;/TD&gt;&lt;TD&gt;2011&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;956.5&lt;/TD&gt;&lt;TD&gt;69.8&lt;/TD&gt;&lt;TD&gt;610.1&lt;/TD&gt;&lt;TD&gt;542.7&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;20 Microns Ltd.&lt;/TD&gt;&lt;TD&gt;2012&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;82.3&lt;/TD&gt;&lt;TD&gt;5.1&lt;/TD&gt;&lt;TD&gt;142.8&lt;/TD&gt;&lt;TD&gt;281.8&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;20 Microns Ltd.&lt;/TD&gt;&lt;TD&gt;2013&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;-25.3&lt;/TD&gt;&lt;TD&gt;-38.2&lt;/TD&gt;&lt;TD&gt;-98.7&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lt;TD&gt;-174.9&lt;/TD&gt;&lt;TD&gt;1.2&lt;/TD&gt;&lt;TD&gt;-519.6&lt;/TD&gt;&lt;TD&gt;232.9&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;3I Infotech Ltd.&lt;/TD&gt;&lt;TD&gt;2016&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;-828.7&lt;/TD&gt;&lt;TD&gt;542.1&lt;/TD&gt;&lt;TD&gt;-1084.5&lt;/TD&gt;&lt;TD&gt;2738.2&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;industry fixed effects is to be estimated based on industry code and time series fixed effects has to be estimated based on year&lt;/P&gt;&lt;P&gt;please suggest&amp;nbsp; me SAS code&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks in advance&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Mar 2020 07:36:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/panel-data-regression-with-fixed-effects/m-p/629036#M3757</guid>
      <dc:creator>srikanthyadav44</dc:creator>
      <dc:date>2020-03-03T07:36:52Z</dc:date>
    </item>
    <item>
      <title>Re: panel data regression with fixed effects</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/panel-data-regression-with-fixed-effects/m-p/629957#M3766</link>
      <description>&lt;P&gt;If you can specify an assumed response distribution, then you can fit an appropriate model that takes account of the correlation among the observations within each company by using PROC GEE. You could fit a model that allows you to see if there are differences among the industries and differences (or trend) over time. For example, something like the following can test for industry differences and a linear trend over time, assuming that the response is normally distributed and an autoregressive correlation structure within companies. Note that validity of the GEE model requires a large number of clusters (level of SUBJECT=), so more would be needed than you show in your example data.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc gee;
class company_name industry_code;
model y=industry_code year  x1-x3 / type3;
repeated subject=company_name / type=ar;
run;

&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 05 Mar 2020 21:17:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/panel-data-regression-with-fixed-effects/m-p/629957#M3766</guid>
      <dc:creator>StatDave</dc:creator>
      <dc:date>2020-03-05T21:17:20Z</dc:date>
    </item>
    <item>
      <title>Re: panel data regression with fixed effects</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/panel-data-regression-with-fixed-effects/m-p/630114#M3767</link>
      <description>&lt;P&gt;I'm not sure what you want, for cross section, you just want industry fix effect only or you want both industry and company effect???&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For the first one you can do:&lt;/P&gt;
&lt;P&gt;proc panel data=your_data_name;&lt;BR /&gt;&amp;nbsp; id industry year;&lt;BR /&gt;&amp;nbsp; model y = x1 x2 x3 / fixtwo;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="background-color: transparent; color: #333333; font-family: &amp;amp;quot; helevticaneue-light&amp;amp;quot;,&amp;amp;quot;helvetica neue&amp;amp;quot;,helvetica,arial,sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; padding: 0px; margin: 0px;"&gt;For the second one there's no built in model, you can add all dummies to the pooled model:&lt;/P&gt;
&lt;P style="background-color: transparent; color: #333333; font-family: &amp;amp;quot; helevticaneue-light&amp;amp;quot;,&amp;amp;quot;helvetica neue&amp;amp;quot;,helvetica,arial,sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; padding: 0px; margin: 0px;"&gt;proc panel data=your_data_name;&lt;BR style="cursor: text;" /&gt;&amp;nbsp; id company_name year;&lt;/P&gt;
&lt;P style="background-color: transparent; color: #333333; font-family: &amp;amp;quot; helevticaneue-light&amp;amp;quot;,&amp;amp;quot;helvetica neue&amp;amp;quot;,helvetica,arial,sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; padding: 0px; margin: 0px;"&gt;&amp;nbsp; class&amp;nbsp;&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #333333; cursor: text; font-family: 'HelevticaNeue-light','Helvetica Neue',Helvetica,Arial,sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;company_name year&amp;nbsp;industry;&lt;/SPAN&gt;&lt;BR style="cursor: text;" /&gt;&amp;nbsp; model y = x1 x2 x3 &lt;SPAN style="background-color: transparent; color: #333333; cursor: text; display: inline; float: none; font-family: &amp;amp;quot; helevticaneue-light&amp;amp;quot;,&amp;amp;quot;helvetica neue&amp;amp;quot;,helvetica,arial,sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; line-height: 16.8px; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;company_name year&amp;nbsp;industry&lt;/SPAN&gt;/ pooled;&lt;BR style="cursor: text;" /&gt;run;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Mar 2020 15:52:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/panel-data-regression-with-fixed-effects/m-p/630114#M3767</guid>
      <dc:creator>xyz0505</dc:creator>
      <dc:date>2020-03-06T15:52:43Z</dc:date>
    </item>
    <item>
      <title>Re: panel data regression with fixed effects</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/panel-data-regression-with-fixed-effects/m-p/630604#M3770</link>
      <description>Dear Mr.xyz0505&lt;BR /&gt;I want both industry and year fixed effects, but not company fixed effects.&lt;BR /&gt;When I use proc panel, I am getting error, because, industry code is repeated for more than one company in the same year.&lt;BR /&gt;It is becoming repeated measures panel data and I don't know how to handle it.&lt;BR /&gt;Please help me in this regard.</description>
      <pubDate>Mon, 09 Mar 2020 10:47:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/panel-data-regression-with-fixed-effects/m-p/630604#M3770</guid>
      <dc:creator>srikanthyadav44</dc:creator>
      <dc:date>2020-03-09T10:47:04Z</dc:date>
    </item>
    <item>
      <title>Re: panel data regression with fixed effects</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/panel-data-regression-with-fixed-effects/m-p/631246#M3772</link>
      <description>&lt;P&gt;The error indicate you may need to sort the data first.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc sort data=your_data;&lt;BR /&gt;by industry year;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;PROC PANEL assumes you've already sorted data by cross section first then time.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Mar 2020 15:05:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/panel-data-regression-with-fixed-effects/m-p/631246#M3772</guid>
      <dc:creator>xyz0505</dc:creator>
      <dc:date>2020-03-11T15:05:01Z</dc:date>
    </item>
    <item>
      <title>Re: panel data regression with fixed effects</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/panel-data-regression-with-fixed-effects/m-p/632880#M3773</link>
      <description>&lt;P&gt;dear&amp;nbsp;&lt;A href="https://communities.sas.com/t5/user/viewprofilepage/user-id/265249" target="_blank" rel="noopener"&gt;xyz0505&lt;/A&gt;&lt;/P&gt;&lt;P&gt;greeting of the day&lt;/P&gt;&lt;P&gt;when i run the panel regression with the code suggested by you.&amp;nbsp;&lt;/P&gt;&lt;P&gt;But, i got the following error.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc panel data=Model_file;&lt;BR /&gt;35 model Y = X1- X13 / fixtwo;&lt;BR /&gt;36 id year Industry;&lt;BR /&gt;37 run;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ERROR: Unable to create an instance of the TKEPAN TK Extension.&lt;/STRONG&gt;&lt;BR /&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;BR /&gt;NOTE: PROCEDURE PANEL used (Total process time):&lt;BR /&gt;real time 0.09 seconds&lt;BR /&gt;cpu time 0.00 seconds&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am not able to understand it .&amp;nbsp;&lt;/P&gt;&lt;P&gt;please help me in this regard&lt;/P&gt;&lt;P&gt;thanks in advance&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Mar 2020 08:53:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/panel-data-regression-with-fixed-effects/m-p/632880#M3773</guid>
      <dc:creator>srikanthyadav44</dc:creator>
      <dc:date>2020-03-18T08:53:17Z</dc:date>
    </item>
    <item>
      <title>Re: panel data regression with fixed effects</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/panel-data-regression-with-fixed-effects/m-p/632955#M3774</link>
      <description>&lt;P&gt;This is a system error, can you check your SAS and whether it has the ETS license? By the way I just noticed your industry id has duplicated time sequence. Proc Panel suppose you id time look like:&lt;/P&gt;
&lt;TABLE style="border-collapse: collapse; width: 96pt;" border="0" width="128" cellspacing="0" cellpadding="0"&gt;&lt;COLGROUP&gt;&lt;COL style="width: 48pt;" span="2" width="64" /&gt; &lt;/COLGROUP&gt;
&lt;TBODY&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD width="64" height="20" style="margin: 0px; border: 0px #000000; width: 48pt; height: 15pt; background-color: transparent;"&gt;&lt;FONT face="Calibri" color="#000000"&gt;id&lt;/FONT&gt;&lt;/TD&gt;
&lt;TD width="64" style="margin: 0px; border: 0px #000000; width: 48pt; background-color: transparent;"&gt;&lt;FONT face="Calibri" color="#000000"&gt;time&lt;/FONT&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD height="20" style="margin: 0px; border: 0px #000000; height: 15pt; background-color: transparent;"&gt;&lt;FONT face="Calibri" color="#000000"&gt;1&lt;/FONT&gt;&lt;/TD&gt;
&lt;TD style="margin: 0px; border: 0px #000000; background-color: transparent;"&gt;&lt;FONT face="Calibri" color="#000000"&gt;1&lt;/FONT&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD height="20" style="margin: 0px; border: 0px #000000; height: 15pt; background-color: transparent;"&gt;&lt;FONT face="Calibri" color="#000000"&gt;1&lt;/FONT&gt;&lt;/TD&gt;
&lt;TD style="margin: 0px; border: 0px #000000; background-color: transparent;"&gt;&lt;FONT face="Calibri" color="#000000"&gt;2&lt;/FONT&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD height="20" style="margin: 0px; border: 0px #000000; height: 15pt; background-color: transparent;"&gt;&lt;FONT face="Calibri" color="#000000"&gt;1&lt;/FONT&gt;&lt;/TD&gt;
&lt;TD style="margin: 0px; border: 0px #000000; background-color: transparent;"&gt;&lt;FONT face="Calibri" color="#000000"&gt;3&lt;/FONT&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD height="20" style="margin: 0px; border: 0px #000000; height: 15pt; background-color: transparent;"&gt;&lt;FONT face="Calibri" color="#000000"&gt;1&lt;/FONT&gt;&lt;/TD&gt;
&lt;TD style="margin: 0px; border: 0px #000000; background-color: transparent;"&gt;&lt;FONT face="Calibri" color="#000000"&gt;4&lt;/FONT&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD height="20" style="margin: 0px; border: 0px #000000; height: 15pt; background-color: transparent;"&gt;&lt;FONT face="Calibri" color="#000000"&gt;2&lt;/FONT&gt;&lt;/TD&gt;
&lt;TD style="margin: 0px; border: 0px #000000; background-color: transparent;"&gt;&lt;FONT face="Calibri" color="#000000"&gt;1&lt;/FONT&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD height="20" style="margin: 0px; border: 0px #000000; height: 15pt; background-color: transparent;"&gt;&lt;FONT face="Calibri" color="#000000"&gt;2&lt;/FONT&gt;&lt;/TD&gt;
&lt;TD style="margin: 0px; border: 0px #000000; background-color: transparent;"&gt;&lt;FONT face="Calibri" color="#000000"&gt;2&lt;/FONT&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD height="20" style="margin: 0px; border: 0px #000000; height: 15pt; background-color: transparent;"&gt;&lt;FONT face="Calibri" color="#000000"&gt;2&lt;/FONT&gt;&lt;/TD&gt;
&lt;TD style="margin: 0px; border: 0px #000000; background-color: transparent;"&gt;&lt;FONT face="Calibri" color="#000000"&gt;3&lt;/FONT&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD height="20" style="margin: 0px; border: 0px #000000; height: 15pt; background-color: transparent;"&gt;&lt;FONT face="Calibri" color="#000000"&gt;2&lt;/FONT&gt;&lt;/TD&gt;
&lt;TD style="margin: 0px; border: 0px #000000; background-color: transparent;"&gt;&lt;FONT face="Calibri" color="#000000"&gt;4&lt;/FONT&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD height="20" style="margin: 0px; border: 0px #000000; height: 15pt; background-color: transparent;"&gt;&lt;FONT face="Calibri" color="#000000"&gt;…&lt;/FONT&gt;&lt;/TD&gt;
&lt;TD style="margin: 0px; border: 0px #000000; background-color: transparent;"&gt;&lt;FONT face="Calibri" color="#000000"&gt;…&lt;/FONT&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;If you have duplicated time periods in one industry I suggest you use dummy directly. Also in proc panel the id statement requires cross section id comes first and then time id:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;data testdat;&lt;BR /&gt;input company_name $ year industry_code y x1 x2 x3;&lt;BR /&gt;datalines;&lt;BR /&gt;20_Microns_Ltd 2011 1 956.5 69.8 610.1 542.7&lt;BR /&gt;20_Microns_Ltd 2012 1 82.3 5.1 142.8 281.8&lt;BR /&gt;20_Microns_Ltd 2013 1 -25.3 -38.2 -98.7 123&lt;BR /&gt;20_Microns_Ltd 2014 1 413.7 26.1 130.4 65.8&lt;BR /&gt;7Seas_Entertai 2011 2 -121.2 100.9 -96.5 88&lt;BR /&gt;7Seas_Entertai 2012 2 -20.9 -80.7 18.6 246&lt;BR /&gt;7Seas_Entertai 2013 2 -20.9 -80.7 18.6 246&lt;BR /&gt;7Seas_Entertai 2014 2 -2.8 -21.8 -104.8 41.4&lt;BR /&gt;7Seas_Entertai 2015 2 7871.9 1086.5 5092.9 5177.8&lt;BR /&gt;A_B_B_India_Ltd. 2011 3 -5687.4 -686 -4771.1 1111.3&lt;BR /&gt;A_B_B_India_Ltd. 2012 3 678.6 -263.9 -134.7 657.5&lt;BR /&gt;A_B_B_India_Ltd. 2013 3 3450.1 26.3 1066.3 1654.9&lt;BR /&gt;A_B_B_India_Ltd. 2014 3 1010.7 -41.6 1379.2 41.8&lt;BR /&gt;A_B_B_India_Ltd. 2015 3 4309.7 88.4 -2329.2 6173.1&lt;BR /&gt;3I_Infotech_Ltd. 2011 1 4309.7 88.4 -2329.2 6173.1&lt;BR /&gt;3I_Infotech_Ltd. 2012 1 39.2 -636 -20 235.2&lt;BR /&gt;3I_Infotech_Ltd. 2013 1 1056.3 32.1 611.9 555.8&lt;BR /&gt;3I_Infotech_Ltd. 2014 1 887.9 56.9 992.2 3359.1&lt;BR /&gt;3I_Infotech_Ltd. 2015 1 -174.9 1.2 -519.6 232.9&lt;BR /&gt;3I_Infotech_Ltd. 2016 1 -828.7 542.1 -1084.5 2738.2&lt;BR /&gt;run;&lt;BR /&gt;proc sort data=testdat;&lt;BR /&gt;by &lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #333333; cursor: text; font-family: Arial,Helvetica,sans-serif; font-size: 16px; font-style: normal; font-variant: normal; font-weight: 300; letter-spacing: normal; line-height: 27.42px; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;company_name&lt;/SPAN&gt; year;&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;proc panel data=testdat;&lt;BR /&gt;id company_name year;&lt;BR /&gt;class industry_code year;&lt;BR /&gt;model y = x1 x2 year industry_code/ pooled;&lt;BR /&gt;run;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Mar 2020 13:33:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/panel-data-regression-with-fixed-effects/m-p/632955#M3774</guid>
      <dc:creator>xyz0505</dc:creator>
      <dc:date>2020-03-18T13:33:52Z</dc:date>
    </item>
    <item>
      <title>Re: panel data regression with fixed effects</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/panel-data-regression-with-fixed-effects/m-p/633929#M3779</link>
      <description>dear Mr. xyz0505&lt;BR /&gt;thank you for your wonderful suggestion to use dummy variables for the industries groups to capture the fixed effects.&lt;BR /&gt;As we know, we cannot introduce the dummy variables for all the groups of industries present in the sample, because it leads to dummy variable trap.&lt;BR /&gt;here, i have two alternative ways&lt;BR /&gt;1. select one industry group as reference group and not introduce dummy variable to that reference group; or&lt;BR /&gt;2. introduce all the dummy variables, but not include constant in the model,&lt;BR /&gt;&lt;BR /&gt;can be please suggest me which alternative is better.&lt;BR /&gt;thanks in advance.&lt;BR /&gt;</description>
      <pubDate>Sun, 22 Mar 2020 12:11:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/panel-data-regression-with-fixed-effects/m-p/633929#M3779</guid>
      <dc:creator>srikanthyadav44</dc:creator>
      <dc:date>2020-03-22T12:11:34Z</dc:date>
    </item>
    <item>
      <title>Re: panel data regression with fixed effects</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/panel-data-regression-with-fixed-effects/m-p/634254#M3781</link>
      <description>&lt;P&gt;PROC PANEL drop the redundant dummies for you.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Mar 2020 19:42:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/panel-data-regression-with-fixed-effects/m-p/634254#M3781</guid>
      <dc:creator>xyz0505</dc:creator>
      <dc:date>2020-03-23T19:42:49Z</dc:date>
    </item>
  </channel>
</rss>

