<?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 About a BY statement in PROC Aprima_ ERROR: Forecasting was not performed because estimation was not done. in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/About-a-BY-statement-in-PROC-Aprima-ERROR-Forecasting-was-not/m-p/200056#M10717</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am running following data set:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;PROC arima data= actuals_1c;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;identify var=wrty_ut_sum nlag=8;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;by product_line;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;run;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;estimate P=1 Q=1; RUN;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;Forecast out= forecast_ARIMA(rename=(forecast=forecast_arima)) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;lead=78 id=date interval=week.7 ; run;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;quit;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then the estimation is not done and I get the &lt;SPAN style="color: #ff0000;"&gt;ERROR: Forecasting was not performed because estimation was not done.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am pretty sure is due to the BY statement on the PROC Arima, however I have tried different ways to fix it but I am not successful. I need the BY due to after this I am working with groups.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help or idea would be great :smileygrin:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ERIKA G&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 04 Jun 2015 19:40:40 GMT</pubDate>
    <dc:creator>ERIKAGARCIA</dc:creator>
    <dc:date>2015-06-04T19:40:40Z</dc:date>
    <item>
      <title>About a BY statement in PROC Aprima_ ERROR: Forecasting was not performed because estimation was not done.</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/About-a-BY-statement-in-PROC-Aprima-ERROR-Forecasting-was-not/m-p/200056#M10717</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am running following data set:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;PROC arima data= actuals_1c;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;identify var=wrty_ut_sum nlag=8;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;by product_line;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;run;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;estimate P=1 Q=1; RUN;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;Forecast out= forecast_ARIMA(rename=(forecast=forecast_arima)) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;lead=78 id=date interval=week.7 ; run;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;quit;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then the estimation is not done and I get the &lt;SPAN style="color: #ff0000;"&gt;ERROR: Forecasting was not performed because estimation was not done.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am pretty sure is due to the BY statement on the PROC Arima, however I have tried different ways to fix it but I am not successful. I need the BY due to after this I am working with groups.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help or idea would be great :smileygrin:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ERIKA G&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jun 2015 19:40:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/About-a-BY-statement-in-PROC-Aprima-ERROR-Forecasting-was-not/m-p/200056#M10717</guid>
      <dc:creator>ERIKAGARCIA</dc:creator>
      <dc:date>2015-06-04T19:40:40Z</dc:date>
    </item>
    <item>
      <title>Re: About a BY statement in PROC Aprima_ ERROR: Forecasting was not performed because estimation was not done.</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/About-a-BY-statement-in-PROC-Aprima-ERROR-Forecasting-was-not/m-p/200057#M10718</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think it is because for some of your by groups the&amp;nbsp; estimation of the model failed.&lt;/P&gt;&lt;P&gt;Does each by group contain enough observations?&lt;/P&gt;&lt;P&gt;What else do you have in the log window?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jun 2015 20:30:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/About-a-BY-statement-in-PROC-Aprima-ERROR-Forecasting-was-not/m-p/200057#M10718</guid>
      <dc:creator>gergely_batho</dc:creator>
      <dc:date>2015-06-04T20:30:11Z</dc:date>
    </item>
  </channel>
</rss>

