<?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 Proc Forecast MAPE Calculation in SAS Forecasting and Econometrics</title>
    <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Proc-Forecast-MAPE-Calculation/m-p/239504#M1998</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have been new with forecasting procedures in SAS. I have been forecasting my data based on 60 data points that I have from Jan'11 to Dec'15 (Monthly data).&lt;/P&gt;&lt;P&gt;I am using "outfitstats" option to calculate the stats for my results. Now this option calculates MAPE based on residuals of all 60 data points nowever I just want to calculate MAPE using just last 6 or 12 Datapoint . Is there a way to limit the datapoints for these stats calculation&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Dinesh&lt;/P&gt;</description>
    <pubDate>Wed, 16 Dec 2015 13:39:33 GMT</pubDate>
    <dc:creator>dinesh_ltjd2</dc:creator>
    <dc:date>2015-12-16T13:39:33Z</dc:date>
    <item>
      <title>Proc Forecast MAPE Calculation</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Proc-Forecast-MAPE-Calculation/m-p/239504#M1998</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have been new with forecasting procedures in SAS. I have been forecasting my data based on 60 data points that I have from Jan'11 to Dec'15 (Monthly data).&lt;/P&gt;&lt;P&gt;I am using "outfitstats" option to calculate the stats for my results. Now this option calculates MAPE based on residuals of all 60 data points nowever I just want to calculate MAPE using just last 6 or 12 Datapoint . Is there a way to limit the datapoints for these stats calculation&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Dinesh&lt;/P&gt;</description>
      <pubDate>Wed, 16 Dec 2015 13:39:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Proc-Forecast-MAPE-Calculation/m-p/239504#M1998</guid>
      <dc:creator>dinesh_ltjd2</dc:creator>
      <dc:date>2015-12-16T13:39:33Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Forecast MAPE Calculation</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Proc-Forecast-MAPE-Calculation/m-p/240873#M1999</link>
      <description>&lt;P&gt;Hi Dinesh,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Are you using PROC FORECAST as the title suggests?&lt;/P&gt;
&lt;P&gt;I wouldn't use PROC FORECAST. The FORECAST procedure is obsolete and has been superseded by newer SAS/ETS procedures.&lt;/P&gt;
&lt;P&gt;See this link for the alternatives:&lt;/P&gt;
&lt;P&gt;SAS/ETS(R) 14.1 User's Guide&lt;BR /&gt;Overview: FORECAST Procedure&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/etsug/68148/HTML/default/viewer.htm#etsug_forecast_overview.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/etsug/68148/HTML/default/viewer.htm#etsug_forecast_overview.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This said ...&amp;nbsp;the SAS/ETS forecasting procedures and the SAS Forecast Server procedures (PROC HPFxxxxx) can output goodness-of-fit statistics for the&amp;nbsp;FIT region (range/period), for the&amp;nbsp;HOLD-OUT region&amp;nbsp;(if any) and for the FORECAST region (which happens only if the BACK= option is greater than zero).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you want&amp;nbsp;MAPE (Mean Absolute Percent Error) for only a subset of one of these regions, then you will have to program it. Very simple for MAPE. See Statistics of Fit in SAS/ETS(R) 14.1 User's Guide:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/etsug/68148/HTML/default/viewer.htm#etsug_tffordet_sect048.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/etsug/68148/HTML/default/viewer.htm#etsug_tffordet_sect048.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In the Time Series Forecasting Menu System (TSFS), you can choose what you want though. It's called an 'evaluation range' in that application. TSFS is part of SAS/ETS.&lt;/P&gt;
&lt;P&gt;Evaluation Range&lt;/P&gt;
&lt;P&gt;... is the current period of evaluation setting. This is the range of data that will be used to calculate the goodness-of-fit statistics for models fit to the series.&lt;/P&gt;
&lt;P&gt;See Part IV. Time Series Forecasting System in the SAS/ETS(R) 14.1 User's Guide&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/etsug/68148/HTML/default/viewer.htm#pt04.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/etsug/68148/HTML/default/viewer.htm#pt04.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Kind regards,&lt;/P&gt;
&lt;P&gt;Koen&lt;/P&gt;</description>
      <pubDate>Fri, 25 Dec 2015 22:36:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Proc-Forecast-MAPE-Calculation/m-p/240873#M1999</guid>
      <dc:creator>sbxkoenk</dc:creator>
      <dc:date>2015-12-25T22:36:37Z</dc:date>
    </item>
  </channel>
</rss>

