<?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 Is there a .fit &amp;amp; .predict equivalent in SAS, specially when using proc autoreg in SAS Data Science</title>
    <link>https://communities.sas.com/t5/SAS-Data-Science/Is-there-a-fit-amp-predict-equivalent-in-SAS-specially-when/m-p/724307#M8600</link>
    <description>&lt;P&gt;I'm trying to design a multivariate time series model using proc autoreg. However, being new to SAS and having gone through the documentation of SAS, I'm having a hard time understanding if there's something similar to .fit &amp;amp; .predict step, like in python.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example, if I want my model to fit on 500 rows of data and I want it to predict for the next 'n' time steps, how is that to be achieved, using proc autoreg.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 07 Mar 2021 20:37:40 GMT</pubDate>
    <dc:creator>arpit971</dc:creator>
    <dc:date>2021-03-07T20:37:40Z</dc:date>
    <item>
      <title>Is there a .fit &amp; .predict equivalent in SAS, specially when using proc autoreg</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/Is-there-a-fit-amp-predict-equivalent-in-SAS-specially-when/m-p/724307#M8600</link>
      <description>&lt;P&gt;I'm trying to design a multivariate time series model using proc autoreg. However, being new to SAS and having gone through the documentation of SAS, I'm having a hard time understanding if there's something similar to .fit &amp;amp; .predict step, like in python.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example, if I want my model to fit on 500 rows of data and I want it to predict for the next 'n' time steps, how is that to be achieved, using proc autoreg.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 07 Mar 2021 20:37:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/Is-there-a-fit-amp-predict-equivalent-in-SAS-specially-when/m-p/724307#M8600</guid>
      <dc:creator>arpit971</dc:creator>
      <dc:date>2021-03-07T20:37:40Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a .fit &amp; .predict equivalent in SAS, specially when using proc autoreg</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/Is-there-a-fit-amp-predict-equivalent-in-SAS-specially-when/m-p/724344#M8601</link>
      <description>&lt;P&gt;Does this help?&lt;/P&gt;
&lt;P&gt;&lt;A href="https://documentation.sas.com/?cdcId=pgmsascdc&amp;amp;cdcVersion=9.4_3.4&amp;amp;docsetId=etsug&amp;amp;docsetTarget=etsug_autoreg_gettingstarted06.htm&amp;amp;locale=en"&gt;https://documentation.sas.com/?cdcId=pgmsascdc&amp;amp;cdcVersion=9.4_3.4&amp;amp;docsetId=etsug&amp;amp;docsetTarget=etsug_autoreg_gettingstarted06.htm&amp;amp;locale=en&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For non time series, there's PROC SCORE and PLM which are analogous to predict (fit would be the PROC itself and the model is stored to an item store). &amp;nbsp;Time series data is always a bit different though and I think it varies a bit by PROC. The method above is an old, tested and true but also just works.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/372753"&gt;@arpit971&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;I'm trying to design a multivariate time series model using proc autoreg. However, being new to SAS and having gone through the documentation of SAS, I'm having a hard time understanding if there's something similar to .fit &amp;amp; .predict step, like in python.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For example, if I want my model to fit on 500 rows of data and I want it to predict for the next 'n' time steps, how is that to be achieved, using proc autoreg.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Mar 2021 03:24:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/Is-there-a-fit-amp-predict-equivalent-in-SAS-specially-when/m-p/724344#M8601</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2021-03-08T03:24:25Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a .fit &amp; .predict equivalent in SAS, specially when using proc autoreg</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/Is-there-a-fit-amp-predict-equivalent-in-SAS-specially-when/m-p/724364#M8602</link>
      <description>&lt;P&gt;Thank you. This certainly helps a lot.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was kind of doing the same thing but at the same time wondering if there's a better way to do this other than assigning null values to the dependent variable in the test period.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was wondering if you could also help and redirect me to something similar to a &lt;STRONG&gt;recursive training&lt;/STRONG&gt; a model in SAS; if there are some examples I could refer to. The goal is to further analyze how the model forecasts could be improved for a relatively shorter 'n' time step prediction.&lt;/P&gt;</description>
      <pubDate>Mon, 08 Mar 2021 05:52:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/Is-there-a-fit-amp-predict-equivalent-in-SAS-specially-when/m-p/724364#M8602</guid>
      <dc:creator>arpit971</dc:creator>
      <dc:date>2021-03-08T05:52:21Z</dc:date>
    </item>
  </channel>
</rss>

