Type: Package
Title: Calculating Multiple Performance Metrics of a Prediction Model
Version: 0.2.1
Author: Dr. Sandip Garai [aut, cre]
Maintainer: Dr. Sandip Garai <sandipnicksandy@gmail.com>
Description: Provides a function to calculate multiple performance metrics for actual and predicted values. In total eight metrics will be calculated for particular actual and predicted series. Helps to describe a Statistical model's performance in predicting a data. Also helps to compare various models' performance. The metrics are Root Mean Squared Error (RMSE), Relative Root Mean Squared Error (RRMSE), Mean absolute Error (MAE), Mean absolute percentage error (MAPE), Mean Absolute Scaled Error (MASE), Nash-Sutcliffe Efficiency (NSE), Willmott’s Index (WI), and Legates and McCabe Index (LME). Among them, first five are expected to be lesser whereas, the last three are greater the better. More details can be found from Garai and Paul (2023) <doi:10.1016/j.iswa.2023.200202> and Garai et al. (2024) <doi:10.1007/s11063-024-11552-w>.
License: GPL-3
Encoding: UTF-8
NeedsCompilation: no
RoxygenNote: 7.3.1
Packaged: 2024-03-12 09:33:32 UTC; Administrator
Repository: CRAN
Date/Publication: 2024-03-12 12:30:19 UTC

Calculating Multiple Performance Metrics of a Prediction Model

Description

This provides a function to calculate multiple performance metrics for actual and predicted values.

Usage

all_metrics(actual, predicted)

Arguments

actual

This is the actual time series values

predicted

This is the predicted values of a time series using a model

Value

References

Examples

actual <- c(1.5, 2.3, 25, 52, 14)
predicted <- c(1.2, 10, 3.5, 4.3, 5.6)
# Inside the function 1st specify actual then predicted
print(all_metrics(actual, predicted))