measures (version 0.2)

MEDSE: Median of squared errors

Description

Defined as: median((response - truth)^2).

Usage

MEDSE(truth, response)

Arguments

truth

[numeric] vector of true values

response

[numeric] vector of predicted values

Examples

Run this code
# NOT RUN {
n = 20
set.seed(123)
truth = rnorm(n)
response = rnorm(n)
MEDSE(truth, response)
# }

Run the code above in your browser using DataLab