<?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: Avearage adjusted R square in FamaMacbeth regression in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Avearage-adjusted-R-square-in-FamaMacbeth-regression/m-p/184832#M9581</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Wait, you mean the Finance/Wall Street is doing something that doesn't make sense? &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 31 Dec 2013 15:41:58 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2013-12-31T15:41:58Z</dc:date>
    <item>
      <title>Avearage adjusted R square in FamaMacbeth regression</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Avearage-adjusted-R-square-in-FamaMacbeth-regression/m-p/184829#M9578</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good days to everyone here. I wish to run regression using Fama Macbeth approach. I obtained the following macro program:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%macro&amp;nbsp; FamaMacbeth(dset, depvar, indvars);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/******run cross-sectional regressions by fyear for all firms and report the means. ****/&lt;BR /&gt;proc sort data=&amp;amp;dset.; by fyear ; run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ods listing close;&lt;BR /&gt;ods output parameterestimates=pe;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc reg data=&amp;amp;dset. ;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; by fyear;&lt;BR /&gt;model &amp;amp;depvar. = &amp;amp;indvars.; run;&lt;BR /&gt;quit;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ods listing;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc means data=pe mean std t probt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var estimate; class variable;&lt;BR /&gt;title "Fama Macbeth estimates";&lt;BR /&gt;ods output summary=summary parameterestimates=pe;&lt;BR /&gt;run;&lt;BR /&gt;%mend;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can get the average estimates of the coefficient, t statistics and so on. However, the average adjusted R square ( = sum of adjusted R square for all the years divided by number of year)&amp;nbsp; is not shown.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wish to seek for helps on how to get the average adjusted R square from SAS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you and hope to get the reply sooner.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;mspak&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Dec 2013 06:37:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Avearage-adjusted-R-square-in-FamaMacbeth-regression/m-p/184829#M9578</guid>
      <dc:creator>mspak</dc:creator>
      <dc:date>2013-12-31T06:37:49Z</dc:date>
    </item>
    <item>
      <title>Re: Avearage adjusted R square in FamaMacbeth regression</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Avearage-adjusted-R-square-in-FamaMacbeth-regression/m-p/184830#M9579</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Without going into a lot of matrix algebra, how is such a value meaningful?&amp;nbsp; Averages of proportions (which is what an Rsquare is) are not good estimators.&amp;nbsp; Consider that one of your adjusted R squares refers to a year with a LOT of residual variation, and consequently, the average Rsquare will be considerably lower than what is seen in all other years.&amp;nbsp; Does an average even make sense here?&amp;nbsp; Wouldn't something like (total explained variability summed over all years)/(total variability summed over all years) be a better estimate?&amp;nbsp; And that assumes that there is no covariance between years.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not really helpful with the question posed, but it is something you ought to think about, in my opinion.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve Denham&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Dec 2013 13:14:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Avearage-adjusted-R-square-in-FamaMacbeth-regression/m-p/184830#M9579</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2013-12-31T13:14:58Z</dc:date>
    </item>
    <item>
      <title>Re: Avearage adjusted R square in FamaMacbeth regression</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Avearage-adjusted-R-square-in-FamaMacbeth-regression/m-p/184831#M9580</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Steve,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your suggestion. My method is suggested by prior researchers. I have to run OLS for each year. The program will provide me with adjusted R-square for each model (each year). I have 12 years in my dataset, then I will have 12 regressions. All of the estimates (parameters) will be averaged over 12, same as to the adjusted R-square. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I found the following program is workable for calculating the average adjusted R square:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data &lt;BR /&gt;MSE (drop=label2 cValue2 nValue2 cValue1) &lt;BR /&gt;RSquare (drop=label1 cValue1 cValue2 nValue1) &lt;BR /&gt;AdjRSQ (drop=label1 cValue1 cValue2 nValue1); &lt;BR /&gt;set fitstats; &lt;BR /&gt;if label1 = "Root MSE" then output MSE;&lt;BR /&gt;if label2 = "R-Square" then output RSquare;&lt;BR /&gt;if label2 = "Adj R-Sq" then output AdjRSq;&lt;BR /&gt;run; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA mse1 (drop=label1); set mse;&lt;BR /&gt;RENAME nValue1 = MSE;&lt;BR /&gt;RUN;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA RSquare1 (drop=label2); set RSquare;&lt;BR /&gt;RENAME nValue2 = RSquare;&lt;BR /&gt;RUN;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA AdjRSq1 (drop=label2); set AdjRSq;&lt;BR /&gt;RENAME nValue2 = AdjRSq;&lt;BR /&gt;RUN;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data stat; &lt;BR /&gt;merge mse1 RSquare1 AdjRSq1;&lt;BR /&gt;by fyear model dependent; run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc transpose data= stat&lt;BR /&gt;out=stat1; id fyear; &lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA STAT2 (keep=_NAME_ average); SET STAT1;&lt;BR /&gt;average = MEAN(of _:);&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc print data=stat2;&lt;BR /&gt;title 'Average Fit statistic of Fama Macbeth regression';&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your comment. I also provide the program for reference (to others).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;mspak&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Dec 2013 15:19:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Avearage-adjusted-R-square-in-FamaMacbeth-regression/m-p/184831#M9580</guid>
      <dc:creator>mspak</dc:creator>
      <dc:date>2013-12-31T15:19:02Z</dc:date>
    </item>
    <item>
      <title>Re: Avearage adjusted R square in FamaMacbeth regression</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Avearage-adjusted-R-square-in-FamaMacbeth-regression/m-p/184832#M9581</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Wait, you mean the Finance/Wall Street is doing something that doesn't make sense? &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Dec 2013 15:41:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Avearage-adjusted-R-square-in-FamaMacbeth-regression/m-p/184832#M9581</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2013-12-31T15:41:58Z</dc:date>
    </item>
    <item>
      <title>Re: Avearage adjusted R square in FamaMacbeth regression</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Avearage-adjusted-R-square-in-FamaMacbeth-regression/m-p/184833#M9582</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's what happens when you hire physics majors to do non-Bayesian statistics... &lt;img id="smileywink" class="emoticon emoticon-smileywink" src="https://communities.sas.com/i/smilies/16x16_smiley-wink.png" alt="Smiley Wink" title="Smiley Wink" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve Denham&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Dec 2013 15:46:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Avearage-adjusted-R-square-in-FamaMacbeth-regression/m-p/184833#M9582</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2013-12-31T15:46:25Z</dc:date>
    </item>
    <item>
      <title>Re: Avearage adjusted R square in FamaMacbeth regression</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Avearage-adjusted-R-square-in-FamaMacbeth-regression/m-p/184834#M9583</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Steve,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not majoring in econometrics. I am doing corporate finance (with firm-year observations) research, therefore, we normally don't use a very advanced method. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is no perfect method in the the world. Most of the time, due to the limitation of data, we can't apply a very sophisticated method with many lags. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Happy New Year to you &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mspak&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jan 2014 02:52:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Avearage-adjusted-R-square-in-FamaMacbeth-regression/m-p/184834#M9583</guid>
      <dc:creator>mspak</dc:creator>
      <dc:date>2014-01-01T02:52:11Z</dc:date>
    </item>
    <item>
      <title>Re: Avearage adjusted R square in FamaMacbeth regression</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Avearage-adjusted-R-square-in-FamaMacbeth-regression/m-p/184835#M9584</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If any offense from my comments, I sincerely apologize.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think Reeza and I were making an observation that sometimes methods become "standard" and there may be technical problems that weren't originally recognized.&amp;nbsp; It's very common in the field where I work (pharmaceutical and medical device safety). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Happy New Year to you as well, Mspak.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve Denham&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jan 2014 14:03:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Avearage-adjusted-R-square-in-FamaMacbeth-regression/m-p/184835#M9584</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2014-01-02T14:03:11Z</dc:date>
    </item>
  </channel>
</rss>

