<?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 Multiple Regressions - Slope and Intercept in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Multiple-Regressions-Slope-and-Intercept/m-p/229678#M54414</link>
    <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hello guys,&lt;/P&gt;&lt;P&gt;I'm doing my master thesis which consists on performing &lt;STRONG&gt;thousands of simple linear regressions&lt;/STRONG&gt; around earnings announcements. So, I have several earnings announcements (the date of each earning announcement is&amp;nbsp;the&amp;nbsp;day 0) which I have to &lt;STRONG&gt;regress from day0-300 to day0-46, on the market index&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have 3 datasets, the Market dataset (returns on S&amp;amp;P), the CRSP dataset (returns on stocks) and the Earnings dataset.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To run each regression, I start with an observation from the Earnings datset from which I get an earning announcement date&amp;nbsp;which is linked to a specific company. And then, I perform the regression based on the estimation range mentioned before (using the time-series from Market dataset and CRSP dataset). The Earnings dataset and the CRSP dataset should be linked by PERMNO.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The objective is to add to&lt;STRONG&gt;&amp;nbsp;every observation&lt;/STRONG&gt; in the Earnings dataset an &lt;STRONG&gt;intercept and a slope&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;To start, can you tell me how can I perform multilple simple linear regressions and extract just the intercept and the slope for each of them?&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance, hope you can help me!&lt;/P&gt;</description>
    <pubDate>Tue, 13 Oct 2015 11:50:51 GMT</pubDate>
    <dc:creator>diogofor</dc:creator>
    <dc:date>2015-10-13T11:50:51Z</dc:date>
    <item>
      <title>Multiple Regressions - Slope and Intercept</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Multiple-Regressions-Slope-and-Intercept/m-p/229678#M54414</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hello guys,&lt;/P&gt;&lt;P&gt;I'm doing my master thesis which consists on performing &lt;STRONG&gt;thousands of simple linear regressions&lt;/STRONG&gt; around earnings announcements. So, I have several earnings announcements (the date of each earning announcement is&amp;nbsp;the&amp;nbsp;day 0) which I have to &lt;STRONG&gt;regress from day0-300 to day0-46, on the market index&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have 3 datasets, the Market dataset (returns on S&amp;amp;P), the CRSP dataset (returns on stocks) and the Earnings dataset.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To run each regression, I start with an observation from the Earnings datset from which I get an earning announcement date&amp;nbsp;which is linked to a specific company. And then, I perform the regression based on the estimation range mentioned before (using the time-series from Market dataset and CRSP dataset). The Earnings dataset and the CRSP dataset should be linked by PERMNO.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The objective is to add to&lt;STRONG&gt;&amp;nbsp;every observation&lt;/STRONG&gt; in the Earnings dataset an &lt;STRONG&gt;intercept and a slope&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;To start, can you tell me how can I perform multilple simple linear regressions and extract just the intercept and the slope for each of them?&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance, hope you can help me!&lt;/P&gt;</description>
      <pubDate>Tue, 13 Oct 2015 11:50:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Multiple-Regressions-Slope-and-Intercept/m-p/229678#M54414</guid>
      <dc:creator>diogofor</dc:creator>
      <dc:date>2015-10-13T11:50:51Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Regressions - Slope and Intercept</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Multiple-Regressions-Slope-and-Intercept/m-p/229682#M54415</link>
      <description>&lt;P&gt;In PROC REG, you can use the BY statement to perform the regression multiple (thousands of) times, and the OUTEST option will create a dataset that contains the slopes and intercepts.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Oct 2015 12:27:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Multiple-Regressions-Slope-and-Intercept/m-p/229682#M54415</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2015-10-13T12:27:01Z</dc:date>
    </item>
  </channel>
</rss>

