Mean Absolute Percentage Error in R

  • Context: Undergrad 
  • Thread starter Thread starter Darth Frodo
  • Start date Start date
  • Tags Tags
    Absolute Error Mean
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
5 replies · 6K views
Darth Frodo
Messages
211
Reaction score
1
Hi all,

I'm trying to calculate the M.A.P.E. using the accuracy() function in SDMtools.

I have an output of 10.69. I'm not sure if this is 10.69% or 1069% as previously in a different model I had gotten an output of 0.34.

If anyone is familiar with this, I would appreciate any help.

Thanks.
 
Physics news on Phys.org
Well I assumed the answer would be objective given that you are always required to enter the observed and predicted values.

Regardless, what context would you like?
 
You are using something called SDMtools. I would hope that there would be a description of the units, etc. of its input and output. Without such a description, 10.69 has no meaning.
 
I thought about this for a day, and it's been a long time since I've used R. However, using accuracy() does not return a MAPE. However, the package for time series and linear modeling, (I think it's simply called Forecast package, been awhile) does return a MAPE and if you are using that then your answer would be in a percentage.
 
Yeah MarneMath, I think you're right. Thanks!