<?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 generating predict Betas in a regression in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/generating-predict-Betas-in-a-regression/m-p/302973#M60770</link>
    <description>&lt;P&gt;I have a firm-date panel and wanted to generate predict value (beta hat) for s_score at the date level. So far, I have the below and wanted to ask you if you knew how to do this.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt; &lt;STRONG&gt;sort&lt;/STRONG&gt; data=b5; by date; &lt;STRONG&gt;run&lt;/STRONG&gt;;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt; &lt;STRONG&gt;reg&lt;/STRONG&gt; data=b5; by date; model mtb = size roa s_score/adjrsq;&lt;/P&gt;
&lt;P&gt;output out=o1 p=p residual=r; &lt;STRONG&gt;run&lt;/STRONG&gt;; &lt;STRONG&gt;quit&lt;/STRONG&gt;;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;when i do this, i get a p value next to every single firm date obs.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;essentially, i want a b to s_score at the date level.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you in advance,&lt;/P&gt;</description>
    <pubDate>Thu, 06 Oct 2016 15:42:39 GMT</pubDate>
    <dc:creator>aarony</dc:creator>
    <dc:date>2016-10-06T15:42:39Z</dc:date>
    <item>
      <title>generating predict Betas in a regression</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/generating-predict-Betas-in-a-regression/m-p/302973#M60770</link>
      <description>&lt;P&gt;I have a firm-date panel and wanted to generate predict value (beta hat) for s_score at the date level. So far, I have the below and wanted to ask you if you knew how to do this.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt; &lt;STRONG&gt;sort&lt;/STRONG&gt; data=b5; by date; &lt;STRONG&gt;run&lt;/STRONG&gt;;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt; &lt;STRONG&gt;reg&lt;/STRONG&gt; data=b5; by date; model mtb = size roa s_score/adjrsq;&lt;/P&gt;
&lt;P&gt;output out=o1 p=p residual=r; &lt;STRONG&gt;run&lt;/STRONG&gt;; &lt;STRONG&gt;quit&lt;/STRONG&gt;;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;when i do this, i get a p value next to every single firm date obs.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;essentially, i want a b to s_score at the date level.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you in advance,&lt;/P&gt;</description>
      <pubDate>Thu, 06 Oct 2016 15:42:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/generating-predict-Betas-in-a-regression/m-p/302973#M60770</guid>
      <dc:creator>aarony</dc:creator>
      <dc:date>2016-10-06T15:42:39Z</dc:date>
    </item>
    <item>
      <title>Re: generating predict Betas in a regression</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/generating-predict-Betas-in-a-regression/m-p/302983#M60771</link>
      <description>&lt;P&gt;You should also have parameter estimate for each date as well in the Parameter estimates.&lt;/P&gt;
&lt;P&gt;Do you mean that you want the parameter in an output data set? That would be from using the OUTEST= option on the Proc Reg statement.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Oct 2016 16:33:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/generating-predict-Betas-in-a-regression/m-p/302983#M60771</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2016-10-06T16:33:34Z</dc:date>
    </item>
    <item>
      <title>Re: generating predict Betas in a regression</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/generating-predict-Betas-in-a-regression/m-p/303158#M60782</link>
      <description>&lt;P&gt;To expand on&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13884"&gt;@ballardw﻿&lt;/a&gt;'s reply, the statistics that you are looking for are called "parameter estimates." That should help you with internet searches.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In addition to using the OUTEST= option, you should add the NOPRINT option to the PROC REG statement so that the screen is not filled with hundreds of tables/graphs that you don't need to see. The following statements create an output data set called ParamEst that contains all parameter estimates. You can use a WHERE clause to restrict the output it you only want the estimates for s_score.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc reg data=b5 outest=ParamEst noprint; 
   by date; 
   model mtb = size roa s_score / adjrsq;
quit; &lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 07 Oct 2016 13:30:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/generating-predict-Betas-in-a-regression/m-p/303158#M60782</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2016-10-07T13:30:54Z</dc:date>
    </item>
  </channel>
</rss>

