Mean Absolute Percentage Error in R

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
Without context, it is very hard to respond.
 
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!
 
Namaste & G'day Postulate: A strongly-knit team wins on average over a less knit one Fundamentals: - Two teams face off with 4 players each - A polo team consists of players that each have assigned to them a measure of their ability (called a "Handicap" - 10 is highest, -2 lowest) I attempted to measure close-knitness of a team in terms of standard deviation (SD) of handicaps of the players. Failure: It turns out that, more often than, a team with a higher SD wins. In my language, that...
Hi all, I've been a roulette player for more than 10 years (although I took time off here and there) and it's only now that I'm trying to understand the physics of the game. Basically my strategy in roulette is to divide the wheel roughly into two halves (let's call them A and B). My theory is that in roulette there will invariably be variance. In other words, if A comes up 5 times in a row, B will be due to come up soon. However I have been proven wrong many times, and I have seen some...
Back
Top