Learn R Programming

gstar (version 0.1.0)

performance: Calculate performance of prediction or forecasting

Description

Calculate performance of prediction or forecasting

Usage

performance(object, testing = NULL, ...)

Arguments

object

an object of class "gstar".

testing

a dataframe or matrix or xts object that contain testing data. Please be noted, if you fill the differencing order in the model estimation, you do not need difference your data anymore because we already cover that in this function

...

further arguments passed to or from other methods.

Value

  • MSE fol all data - Mean Square Error for all the data combined

  • MSE fol each location - Mean Square Error for each spatial location

  • MAPE fol all data - Mean Absolute Percentage Error for all the data combined

  • MAPE fol each location - Mean Absolute Percentage Error for each spatial location