<?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 Lagged Variables for a Linear Model in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Lagged-Variables-for-a-Linear-Model/m-p/38577#M4669</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm making a linear model and I want to include lagged variables in it. It should be something like&amp;nbsp;&amp;nbsp; Y= B0 + B1X1 + B2X2 + B3Y&lt;SPAN style="font-size: 8pt;"&gt;(i-1) &lt;SPAN style="font-size: 10pt;"&gt;+ B4Y&lt;SPAN style="font-size: 8pt;"&gt;(i-7)&lt;SPAN style="font-size: 10pt;"&gt; + B5X1&lt;SPAN style="font-size: 8pt;"&gt;(i-1)&lt;SPAN style="font-size: 10pt;"&gt; + B6X1&lt;SPAN style="font-size: 8pt;"&gt;(i-2)&lt;SPAN style="font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Does anyone know how I can set this up in Enterprise Guide?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Thanks!&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 31 Oct 2011 17:42:05 GMT</pubDate>
    <dc:creator>IdanE</dc:creator>
    <dc:date>2011-10-31T17:42:05Z</dc:date>
    <item>
      <title>Lagged Variables for a Linear Model</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Lagged-Variables-for-a-Linear-Model/m-p/38577#M4669</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm making a linear model and I want to include lagged variables in it. It should be something like&amp;nbsp;&amp;nbsp; Y= B0 + B1X1 + B2X2 + B3Y&lt;SPAN style="font-size: 8pt;"&gt;(i-1) &lt;SPAN style="font-size: 10pt;"&gt;+ B4Y&lt;SPAN style="font-size: 8pt;"&gt;(i-7)&lt;SPAN style="font-size: 10pt;"&gt; + B5X1&lt;SPAN style="font-size: 8pt;"&gt;(i-1)&lt;SPAN style="font-size: 10pt;"&gt; + B6X1&lt;SPAN style="font-size: 8pt;"&gt;(i-2)&lt;SPAN style="font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Does anyone know how I can set this up in Enterprise Guide?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Thanks!&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Oct 2011 17:42:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Lagged-Variables-for-a-Linear-Model/m-p/38577#M4669</guid>
      <dc:creator>IdanE</dc:creator>
      <dc:date>2011-10-31T17:42:05Z</dc:date>
    </item>
    <item>
      <title>Lagged Variables for a Linear Model</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Lagged-Variables-for-a-Linear-Model/m-p/38578#M4670</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If your lags are in different (prior) records, then you are going to have to write data step code to create them.&amp;nbsp; The data transformations in EGuide use PROC SQL.&amp;nbsp; SQL is "memoryless" and does not support the LAG function.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Oct 2011 18:54:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Lagged-Variables-for-a-Linear-Model/m-p/38578#M4670</guid>
      <dc:creator>Doc_Duke</dc:creator>
      <dc:date>2011-10-31T18:54:02Z</dc:date>
    </item>
  </channel>
</rss>

