mean_square_error: Mean Square Error used as an assessment tool

View source: R/mean_square_error.R

mean_square_errorR Documentation

Mean Square Error used as an assessment tool

Description

Mean Square Error used as an assessment tool

Usage

mean_square_error(y, ypre)

Arguments

y<-

c(5:20) - vector representing number of true values

ypre<-

predict(lm(y ~ x)) - vector denoting values of number of y predicted values.

Value

MSE is the is the average squares of the “errors”


ecrc/exageostatR documentation built on June 9, 2025, 9:06 p.m.