<?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 Fama and French (Multiple Regression) in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Fama-and-French-Multiple-Regression/m-p/733231#M228502</link>
    <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;/* Multiple Regression */

data fflib.temp2;
set fflib.famafrenchvariables;                    
by date;
array y[36] AAREIT_SP_Equity -- SUN_SP_Equity;         
do varNum = 1 to dim(y);
   varName = vname(y[varNum]);  
   Reit_rp = y[varNum];           
   output;
end;
drop AAREIT_SP_Equity -- SUN_SP_Equity;
run;
proc sort data=fflib.temp2;  by varName;  run;
ods output ParameterEstimates = fflib.ffparam5yrs
	(keep= varName Variable Estimate) ;
proc autoreg data=fflib.temp2;
     by varName;
     model Reit_rp = Mkt_rp smb hml/ dwprob;
     test Mkt_rp = 1;
     output out=fflib.famafrenchoutput p=p r=r ucl=u lcl=l alphacli=.10;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I am having problems doing a multiple regression for fama and french. The above are my codes and these codes only regress mkt_rp. How should i amend this to regress mkt_rp, smb and hml.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank you&lt;/P&gt;</description>
    <pubDate>Wed, 14 Apr 2021 08:19:12 GMT</pubDate>
    <dc:creator>igsteo</dc:creator>
    <dc:date>2021-04-14T08:19:12Z</dc:date>
    <item>
      <title>Fama and French (Multiple Regression)</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Fama-and-French-Multiple-Regression/m-p/733231#M228502</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;/* Multiple Regression */

data fflib.temp2;
set fflib.famafrenchvariables;                    
by date;
array y[36] AAREIT_SP_Equity -- SUN_SP_Equity;         
do varNum = 1 to dim(y);
   varName = vname(y[varNum]);  
   Reit_rp = y[varNum];           
   output;
end;
drop AAREIT_SP_Equity -- SUN_SP_Equity;
run;
proc sort data=fflib.temp2;  by varName;  run;
ods output ParameterEstimates = fflib.ffparam5yrs
	(keep= varName Variable Estimate) ;
proc autoreg data=fflib.temp2;
     by varName;
     model Reit_rp = Mkt_rp smb hml/ dwprob;
     test Mkt_rp = 1;
     output out=fflib.famafrenchoutput p=p r=r ucl=u lcl=l alphacli=.10;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I am having problems doing a multiple regression for fama and french. The above are my codes and these codes only regress mkt_rp. How should i amend this to regress mkt_rp, smb and hml.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank you&lt;/P&gt;</description>
      <pubDate>Wed, 14 Apr 2021 08:19:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Fama-and-French-Multiple-Regression/m-p/733231#M228502</guid>
      <dc:creator>igsteo</dc:creator>
      <dc:date>2021-04-14T08:19:12Z</dc:date>
    </item>
    <item>
      <title>Re: Fama and French (Multiple Regression)</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Fama-and-French-Multiple-Regression/m-p/733351#M228520</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Do you mean that you do not get parameter estimates for the explanatory variables&amp;nbsp;&lt;SPAN&gt;smb and hml?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;In the picture of your dataset, the two variables (smb and hml) are constant. That's maybe / probably why.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;It would be better to include the LOG. That is more telling than just the code.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Koen&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Apr 2021 14:46:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Fama-and-French-Multiple-Regression/m-p/733351#M228520</guid>
      <dc:creator>sbxkoenk</dc:creator>
      <dc:date>2021-04-13T14:46:46Z</dc:date>
    </item>
  </channel>
</rss>

