<?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: Creating lead in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/Creating-lead/m-p/639421#M21672</link>
    <description>&lt;P&gt;Post a data step with datalines that reflects your dataset. Tell us which variables need to get a lead, and under what criteria (groups?)&lt;/P&gt;</description>
    <pubDate>Mon, 13 Apr 2020 09:01:03 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2020-04-13T09:01:03Z</dc:date>
    <item>
      <title>Creating lead</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Creating-lead/m-p/639417#M21669</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I want to create a lead for next days observations in my varmax model. Not for forecasting but for predicting. How can this be done?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Apr 2020 08:21:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Creating-lead/m-p/639417#M21669</guid>
      <dc:creator>SAScph</dc:creator>
      <dc:date>2020-04-13T08:21:06Z</dc:date>
    </item>
    <item>
      <title>Re: Creating lead</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Creating-lead/m-p/639418#M21670</link>
      <description>&lt;P&gt;What does your data look like?&lt;/P&gt;</description>
      <pubDate>Mon, 13 Apr 2020 08:37:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Creating-lead/m-p/639418#M21670</guid>
      <dc:creator>PeterClemmensen</dc:creator>
      <dc:date>2020-04-13T08:37:04Z</dc:date>
    </item>
    <item>
      <title>Re: Creating lead</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Creating-lead/m-p/639420#M21671</link>
      <description>&lt;P&gt;its daily visitors and weather variables. I want to see if next days weather can determine next days visitors&lt;/P&gt;</description>
      <pubDate>Mon, 13 Apr 2020 08:59:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Creating-lead/m-p/639420#M21671</guid>
      <dc:creator>SAScph</dc:creator>
      <dc:date>2020-04-13T08:59:03Z</dc:date>
    </item>
    <item>
      <title>Re: Creating lead</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Creating-lead/m-p/639421#M21672</link>
      <description>&lt;P&gt;Post a data step with datalines that reflects your dataset. Tell us which variables need to get a lead, and under what criteria (groups?)&lt;/P&gt;</description>
      <pubDate>Mon, 13 Apr 2020 09:01:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Creating-lead/m-p/639421#M21672</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-04-13T09:01:03Z</dc:date>
    </item>
    <item>
      <title>Re: Creating lead</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Creating-lead/m-p/639509#M21677</link>
      <description>&lt;P&gt;Since you've provided the idea of what your data looks like, I can provide the idea of what the program would look like.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data want;
   set have;
   set have (firstobs=2 keep=visitors weather rename=(visitors=nextday_visitors weather=nextday_weather));
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Since the final observation has no values for "next day", it should be thrown out.&amp;nbsp; This program happens to accomplish that.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Apr 2020 16:11:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Creating-lead/m-p/639509#M21677</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2020-04-13T16:11:17Z</dc:date>
    </item>
  </channel>
</rss>

