<?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: How Mean Absolute Percentage Error %28MAPE%29 can be calculated in SAS miner%3F in SAS Data Science</title>
    <link>https://communities.sas.com/t5/SAS-Data-Science/How-Mean-Absolute-Percentage-Error-28MAPE-29-can-be-calculated/m-p/237030#M3435</link>
    <description>&lt;P&gt;&lt;FONT face="Verdana" size="2"&gt;Hello,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Verdana" size="2"&gt;mean absolute error (MAE) and mean absolute percentage error (MAPE) are not a part of standard regression output.&lt;BR /&gt;They are more commonly found in the output of time series forecasting (time series regression) procedures, such as the ones in SAS/ETS, SAS/HPF (Forecast Server).&lt;BR /&gt;MAPE is easy to compute of course but beware that the MAPE can only be computed with respect to data that are guaranteed to be strictly positive.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Verdana" size="2"&gt;I bumped into this paper (but cannot give any guarantee about its quality):&lt;/FONT&gt;&lt;/P&gt;
&lt;P align="LEFT"&gt;Using the Mean Absolute Percentage Error for Regression Models (Arnaud de Myttenaere: first author).&lt;/P&gt;
&lt;P align="LEFT"&gt;&lt;A href="https://www.elen.ucl.ac.be/Proceedings/esann/esannpdf/es2015-107.pdf" target="_blank"&gt;https://www.elen.ucl.ac.be/Proceedings/esann/esannpdf/es2015-107.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P align="LEFT"&gt;&lt;A href="https://hal.archives-ouvertes.fr/hal-01162980/document" target="_blank"&gt;https://hal.archives-ouvertes.fr/hal-01162980/document&lt;/A&gt;&lt;/P&gt;
&lt;P align="LEFT"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P align="LEFT"&gt;Koen&lt;/P&gt;</description>
    <pubDate>Mon, 30 Nov 2015 18:32:24 GMT</pubDate>
    <dc:creator>sbxkoenk</dc:creator>
    <dc:date>2015-11-30T18:32:24Z</dc:date>
    <item>
      <title>How Mean Absolute Percentage Error %28MAPE%29 can be calculated in SAS miner%3F</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/How-Mean-Absolute-Percentage-Error-28MAPE-29-can-be-calculated/m-p/236729#M3426</link>
      <description>&lt;P&gt;We ran linear regression on our dataset. We expect the regression node to output actual as wells as predicted values.&lt;/P&gt;&lt;P&gt;Now we want to calculate MAPE i.e. (actual-predicted)/actual.&lt;/P&gt;&lt;P&gt;Is there any options in SAS miner that would give this value?&lt;/P&gt;</description>
      <pubDate>Fri, 27 Nov 2015 13:44:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/How-Mean-Absolute-Percentage-Error-28MAPE-29-can-be-calculated/m-p/236729#M3426</guid>
      <dc:creator>prraj67</dc:creator>
      <dc:date>2015-11-27T13:44:52Z</dc:date>
    </item>
    <item>
      <title>Re: How Mean Absolute Percentage Error %28MAPE%29 can be calculated in SAS miner%3F</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/How-Mean-Absolute-Percentage-Error-28MAPE-29-can-be-calculated/m-p/237030#M3435</link>
      <description>&lt;P&gt;&lt;FONT face="Verdana" size="2"&gt;Hello,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Verdana" size="2"&gt;mean absolute error (MAE) and mean absolute percentage error (MAPE) are not a part of standard regression output.&lt;BR /&gt;They are more commonly found in the output of time series forecasting (time series regression) procedures, such as the ones in SAS/ETS, SAS/HPF (Forecast Server).&lt;BR /&gt;MAPE is easy to compute of course but beware that the MAPE can only be computed with respect to data that are guaranteed to be strictly positive.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Verdana" size="2"&gt;I bumped into this paper (but cannot give any guarantee about its quality):&lt;/FONT&gt;&lt;/P&gt;
&lt;P align="LEFT"&gt;Using the Mean Absolute Percentage Error for Regression Models (Arnaud de Myttenaere: first author).&lt;/P&gt;
&lt;P align="LEFT"&gt;&lt;A href="https://www.elen.ucl.ac.be/Proceedings/esann/esannpdf/es2015-107.pdf" target="_blank"&gt;https://www.elen.ucl.ac.be/Proceedings/esann/esannpdf/es2015-107.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P align="LEFT"&gt;&lt;A href="https://hal.archives-ouvertes.fr/hal-01162980/document" target="_blank"&gt;https://hal.archives-ouvertes.fr/hal-01162980/document&lt;/A&gt;&lt;/P&gt;
&lt;P align="LEFT"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P align="LEFT"&gt;Koen&lt;/P&gt;</description>
      <pubDate>Mon, 30 Nov 2015 18:32:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/How-Mean-Absolute-Percentage-Error-28MAPE-29-can-be-calculated/m-p/237030#M3435</guid>
      <dc:creator>sbxkoenk</dc:creator>
      <dc:date>2015-11-30T18:32:24Z</dc:date>
    </item>
    <item>
      <title>Re: How Mean Absolute Percentage Error %28MAPE%29 can be calculated in SAS miner%3F</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/How-Mean-Absolute-Percentage-Error-28MAPE-29-can-be-calculated/m-p/237168#M3449</link>
      <description>&lt;P&gt;You would have to calculate this in a SAS Code node. &amp;nbsp;If you connect your Regression node to a SAS Code node, then in the SAS Code node, the data set represented by the &amp;amp;em_import_data macro variable contains your actual and predicted target for each obervation. &amp;nbsp;So you could do something like:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data calc_mape;
&amp;nbsp; set &amp;amp;em_import_data;
&amp;nbsp; mape = %EM_RESIDUAL / %EM_Target;
&amp;nbsp;run;

proc means data=calc_mape sum;
&amp;nbsp; &amp;nbsp;var&amp;nbsp;mape;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Dec 2015 14:28:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/How-Mean-Absolute-Percentage-Error-28MAPE-29-can-be-calculated/m-p/237168#M3449</guid>
      <dc:creator>WendyCzika</dc:creator>
      <dc:date>2015-12-01T14:28:37Z</dc:date>
    </item>
  </channel>
</rss>

