<?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: autocorrelation for multiple firm year observation in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/autocorrelation-for-multiple-firm-year-observation/m-p/511595#M2203</link>
    <description>I don’t know what the math behind that is... do you have any reference? Never seen that done before.</description>
    <pubDate>Fri, 09 Nov 2018 03:55:05 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2018-11-09T03:55:05Z</dc:date>
    <item>
      <title>autocorrelation for multiple firm year observation</title>
      <link>https://communities.sas.com/t5/New-SAS-User/autocorrelation-for-multiple-firm-year-observation/m-p/511581#M2197</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I need to do autocorrelation for multiple firm year observation for the whole data. I know how to do it for a data with single firm with multiple observation but not multiple&amp;nbsp;firm-year. here is an example (profit is the dependent variable, cash and size is the independent variable).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;input&lt;/SPAN&gt; firm &lt;SPAN&gt;$&lt;/SPAN&gt; &lt;SPAN&gt;year&lt;/SPAN&gt; profit cash size&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;data&lt;/SPAN&gt; work&lt;SPAN&gt;.ac;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;SPAN&gt;datalines;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;A 2001 76 45 443345&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;A 2002 76 65 456&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;A 2003 85 45 678&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;A 2004 95 76 345&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;A 2005 45 76 567&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;B 2001 34 87 567&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;B 2002 87 34 345&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;B 2003 56 65 353&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;B 2004 43 23 356&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;B 2005 45 54 546&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;C 2001 87 23 123&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;C 2002 35 54 234&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;C 2003 34 23 546&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;C 2004 87 54 234&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;C 2005 45 23 123&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;D 2001 76 54 456&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;D 2002 45 23 678&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;D 2003 76 12 345&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;D 2004 56 54 234&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;D 2005 34 23 123&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Nov 2018 05:56:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/autocorrelation-for-multiple-firm-year-observation/m-p/511581#M2197</guid>
      <dc:creator>Takdir</dc:creator>
      <dc:date>2018-11-09T05:56:25Z</dc:date>
    </item>
    <item>
      <title>Re: autocorrelation for multiple firm year observation</title>
      <link>https://communities.sas.com/t5/New-SAS-User/autocorrelation-for-multiple-firm-year-observation/m-p/511583#M2199</link>
      <description>So you need to account for multiple companies at once or need it done for each firm individually? &lt;BR /&gt;</description>
      <pubDate>Fri, 09 Nov 2018 02:43:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/autocorrelation-for-multiple-firm-year-observation/m-p/511583#M2199</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-11-09T02:43:28Z</dc:date>
    </item>
    <item>
      <title>Re: autocorrelation for multiple firm year observation</title>
      <link>https://communities.sas.com/t5/New-SAS-User/autocorrelation-for-multiple-firm-year-observation/m-p/511585#M2200</link>
      <description>&lt;P&gt;multiple company at once. there thousands of firm in actual data.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Nov 2018 02:47:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/autocorrelation-for-multiple-firm-year-observation/m-p/511585#M2200</guid>
      <dc:creator>Takdir</dc:creator>
      <dc:date>2018-11-09T02:47:35Z</dc:date>
    </item>
    <item>
      <title>Re: autocorrelation for multiple firm year observation</title>
      <link>https://communities.sas.com/t5/New-SAS-User/autocorrelation-for-multiple-firm-year-observation/m-p/511595#M2203</link>
      <description>I don’t know what the math behind that is... do you have any reference? Never seen that done before.</description>
      <pubDate>Fri, 09 Nov 2018 03:55:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/autocorrelation-for-multiple-firm-year-observation/m-p/511595#M2203</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-11-09T03:55:05Z</dc:date>
    </item>
    <item>
      <title>Re: autocorrelation for multiple firm year observation</title>
      <link>https://communities.sas.com/t5/New-SAS-User/autocorrelation-for-multiple-firm-year-observation/m-p/511601#M2205</link>
      <description>&lt;P&gt;proc autoreg (in SAS/ETS) would be the perfect tool for this. Something like:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc autoreg data=ac;&lt;/P&gt;
&lt;P&gt;class firm;&lt;/P&gt;
&lt;P&gt;model profit = firm / nlag=1;&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Nov 2018 05:41:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/autocorrelation-for-multiple-firm-year-observation/m-p/511601#M2205</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2018-11-09T05:41:24Z</dc:date>
    </item>
    <item>
      <title>Re: autocorrelation for multiple firm year observation</title>
      <link>https://communities.sas.com/t5/New-SAS-User/autocorrelation-for-multiple-firm-year-observation/m-p/511602#M2206</link>
      <description>&lt;P&gt;&lt;SPAN&gt;profit is the dependent variable, cash and size is the independent variable.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;will it make any changes in the code?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Nov 2018 05:57:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/autocorrelation-for-multiple-firm-year-observation/m-p/511602#M2206</guid>
      <dc:creator>Takdir</dc:creator>
      <dc:date>2018-11-09T05:57:29Z</dc:date>
    </item>
    <item>
      <title>Re: autocorrelation for multiple firm year observation</title>
      <link>https://communities.sas.com/t5/New-SAS-User/autocorrelation-for-multiple-firm-year-observation/m-p/511604#M2208</link>
      <description>&lt;P&gt;You can specify any linear model, as you would in proc glm.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://documentation.sas.com/?docsetId=etsug&amp;amp;docsetTarget=etsug_autoreg_gettingstarted01.htm&amp;amp;docsetVersion=14.3&amp;amp;locale=en" target="_self"&gt;Look at the documentation.&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Nov 2018 06:12:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/autocorrelation-for-multiple-firm-year-observation/m-p/511604#M2208</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2018-11-09T06:12:11Z</dc:date>
    </item>
  </channel>
</rss>

