<?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 Comparing observed/predicted from different models. (Mean Absolute Deviation (MAD) or Mean Absolute Error (MAE))? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Comparing-observed-predicted-from-different-models-Mean-Absolute/m-p/346508#M59724</link>
    <description>&lt;P&gt;I'm using the neural platform to calculate a model that makes predictions from some observed data and want to compare the performance of that model to other models (not from JMP). To compare the different models, I want to compare the observed data and the predictions from the different models.&lt;/P&gt;&lt;P&gt;The R2 is not a good measure because it checks for any linear relationship between the observed and predicted values y=ax+b (y=observation) and (x=prediction) and I am only interested in the case where a=1 and b=0.&lt;/P&gt;&lt;P&gt;(- Question: Does it matter is I look at "observed vs. predicted" or "predicted vs. observed"?)&lt;/P&gt;&lt;P&gt;So, I'm looking at RMSE and MAD rather than R2. (Question: Is there another measure that could be used?)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- Now, looking at the JMP manual I find the following definition:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Mean Abs Dev&lt;/STRONG&gt;: &lt;EM&gt;The average of the absolute values of the differences between the response and the predicted response. &lt;/EM&gt;(All factors are continuous).&lt;/P&gt;&lt;P&gt;When I interpret "response" as the observed value and "predicted response" as the model prediction this would translate in the the equation sum(|x_i-y_i|)/n where n is the number of observations.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, looking at sources in the internet, this quantity is called &lt;STRONG&gt;mean absolute error&lt;/STRONG&gt;:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;In &lt;A title="Statistics" href="https://en.wikipedia.org/wiki/Statistics" target="_blank" rel="noopener"&gt;statistics&lt;/A&gt;, &lt;STRONG&gt;mean absolute error&lt;/STRONG&gt; (&lt;STRONG&gt;MAE&lt;/STRONG&gt;) is a measure of &lt;A title="Error (statistics)" href="https://en.wikipedia.org/wiki/Error_(statistics)" target="_blank" rel="noopener"&gt;errors&lt;/A&gt; between paired observations expressing the same phenomenon. Examples of Y versus X include comparisons of predicted versus observed,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://en.wikipedia.org/wiki/Mean_absolute_error" target="_self"&gt;wikipedia&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The same &lt;A href="https://medium.com/human-in-a-machine-world/mae-and-rmse-which-metric-is-better-e60ac3bde13d" target="_self"&gt;here&lt;/A&gt;:&lt;/P&gt;&lt;P class="hg hh dv hi b eu iy hk hl ex iz hn ho hp ja hr hs ht jb hv hw hx jc hz ia ib do es"&gt;&lt;STRONG&gt;Mean Absolute Error (MAE): &lt;/STRONG&gt;&lt;EM&gt;MAE measures the average magnitude of the errors in a set of predictions, without considering their direction. It’s the average over the test sample of the absolute differences between prediction and actual observation where all individual differences have equal weight.&lt;/EM&gt;&lt;/P&gt;&lt;P class="hg hh dv hi b eu iy hk hl ex iz hn ho hp ja hr hs ht jb hv hw hx jc hz ia ib do es"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="hg hh dv hi b eu iy hk hl ex iz hn ho hp ja hr hs ht jb hv hw hx jc hz ia ib do es"&gt;According to &lt;A href="https://en.wikipedia.org/wiki/Average_absolute_deviation" target="_self"&gt;wikipedia&lt;/A&gt; the &lt;STRONG&gt;MAD&lt;/STRONG&gt; (around a central point) is something slightly different:&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mwe-math-element"&gt;&lt;SPAN class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"&gt;m ( X ) {\displaystyle m(X)} &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;sum(|x_i-m(X)|)/n where m is a "central tendency" (e.g. mean, median).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Question: Is there no generally accepted definition of MAD and MAE, do I misunderstand something...???&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class="dg dh je"&gt;&lt;DIV class="jq s jr js"&gt;&lt;DIV class="jt ju s"&gt;&lt;DIV class="jl jm t u v jn aj bm jo jp"&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P class="hg hh dv hi b eu hj hk hl ex hm hn ho hp hq hr hs ht hu hv hw hx hy hz ia ib do es"&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 09 Jun 2023 00:27:16 GMT</pubDate>
    <dc:creator>matthias_bruchh</dc:creator>
    <dc:date>2023-06-09T00:27:16Z</dc:date>
    <item>
      <title>Comparing observed/predicted from different models. (Mean Absolute Deviation (MAD) or Mean Absolute Error (MAE))?</title>
      <link>https://community.jmp.com/t5/Discussions/Comparing-observed-predicted-from-different-models-Mean-Absolute/m-p/346508#M59724</link>
      <description>&lt;P&gt;I'm using the neural platform to calculate a model that makes predictions from some observed data and want to compare the performance of that model to other models (not from JMP). To compare the different models, I want to compare the observed data and the predictions from the different models.&lt;/P&gt;&lt;P&gt;The R2 is not a good measure because it checks for any linear relationship between the observed and predicted values y=ax+b (y=observation) and (x=prediction) and I am only interested in the case where a=1 and b=0.&lt;/P&gt;&lt;P&gt;(- Question: Does it matter is I look at "observed vs. predicted" or "predicted vs. observed"?)&lt;/P&gt;&lt;P&gt;So, I'm looking at RMSE and MAD rather than R2. (Question: Is there another measure that could be used?)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- Now, looking at the JMP manual I find the following definition:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Mean Abs Dev&lt;/STRONG&gt;: &lt;EM&gt;The average of the absolute values of the differences between the response and the predicted response. &lt;/EM&gt;(All factors are continuous).&lt;/P&gt;&lt;P&gt;When I interpret "response" as the observed value and "predicted response" as the model prediction this would translate in the the equation sum(|x_i-y_i|)/n where n is the number of observations.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, looking at sources in the internet, this quantity is called &lt;STRONG&gt;mean absolute error&lt;/STRONG&gt;:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;In &lt;A title="Statistics" href="https://en.wikipedia.org/wiki/Statistics" target="_blank" rel="noopener"&gt;statistics&lt;/A&gt;, &lt;STRONG&gt;mean absolute error&lt;/STRONG&gt; (&lt;STRONG&gt;MAE&lt;/STRONG&gt;) is a measure of &lt;A title="Error (statistics)" href="https://en.wikipedia.org/wiki/Error_(statistics)" target="_blank" rel="noopener"&gt;errors&lt;/A&gt; between paired observations expressing the same phenomenon. Examples of Y versus X include comparisons of predicted versus observed,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://en.wikipedia.org/wiki/Mean_absolute_error" target="_self"&gt;wikipedia&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The same &lt;A href="https://medium.com/human-in-a-machine-world/mae-and-rmse-which-metric-is-better-e60ac3bde13d" target="_self"&gt;here&lt;/A&gt;:&lt;/P&gt;&lt;P class="hg hh dv hi b eu iy hk hl ex iz hn ho hp ja hr hs ht jb hv hw hx jc hz ia ib do es"&gt;&lt;STRONG&gt;Mean Absolute Error (MAE): &lt;/STRONG&gt;&lt;EM&gt;MAE measures the average magnitude of the errors in a set of predictions, without considering their direction. It’s the average over the test sample of the absolute differences between prediction and actual observation where all individual differences have equal weight.&lt;/EM&gt;&lt;/P&gt;&lt;P class="hg hh dv hi b eu iy hk hl ex iz hn ho hp ja hr hs ht jb hv hw hx jc hz ia ib do es"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="hg hh dv hi b eu iy hk hl ex iz hn ho hp ja hr hs ht jb hv hw hx jc hz ia ib do es"&gt;According to &lt;A href="https://en.wikipedia.org/wiki/Average_absolute_deviation" target="_self"&gt;wikipedia&lt;/A&gt; the &lt;STRONG&gt;MAD&lt;/STRONG&gt; (around a central point) is something slightly different:&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mwe-math-element"&gt;&lt;SPAN class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"&gt;m ( X ) {\displaystyle m(X)} &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;sum(|x_i-m(X)|)/n where m is a "central tendency" (e.g. mean, median).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Question: Is there no generally accepted definition of MAD and MAE, do I misunderstand something...???&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class="dg dh je"&gt;&lt;DIV class="jq s jr js"&gt;&lt;DIV class="jt ju s"&gt;&lt;DIV class="jl jm t u v jn aj bm jo jp"&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P class="hg hh dv hi b eu hj hk hl ex hm hn ho hp hq hr hs ht hu hv hw hx hy hz ia ib do es"&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2023 00:27:16 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Comparing-observed-predicted-from-different-models-Mean-Absolute/m-p/346508#M59724</guid>
      <dc:creator>matthias_bruchh</dc:creator>
      <dc:date>2023-06-09T00:27:16Z</dc:date>
    </item>
  </channel>
</rss>

