foremeas1: Calculate MSE and MAE for actual and forecast values

View source: R/foremeas1.R

foremeas1R Documentation

Calculate MSE and MAE for actual and forecast values

Description

The inputs are the actual and the forecast values. We calculate the Mean Square Error (MSE) and Mean Absolute Error (MAE)

Usage

foremeas1(actx, forex)

Arguments

actx

actual values

forex

forecast values

Details

MSE = mean((act-fore)^2), MAE = mean(abs(act-fore))

Value

MSE

Mean square error

MAE

Mean absolute error

Author(s)

c( person( "Erin", "Hodgess", email = "erinm.hodgess@gmail.com", role = c("aut", "cre") ) )


disagg2 documentation built on April 12, 2025, 1:47 a.m.

Related to foremeas1 in disagg2...