ISS-Analytics / pls-predict

PLS-PM estimation and prediction library
GNU General Public License v3.0
8 stars 12 forks source link

How to handle MAPE with actuals of 0? #4

Closed soumyaray closed 8 years ago

soumyaray commented 8 years ago

How should we handle MAPE computation if 0s are encountered in the actual data?

soumyaray commented 8 years ago

what was your solution here, btw?

NicholasDanks commented 8 years ago

Use mean of Actual Value instead of Actual Value Ie. 1/n [ sum [ (mean(Actual) - Forecast) / mean(Actuals) ]]

NicholasDanks commented 8 years ago

Use MAPE with na.rm = TRUE and report retrun residual histos