SSE {measures} | R Documentation |
Defined as: sum((response - truth)^2)
SSE(truth, response)
truth |
[numeric] vector of true values |
response |
[numeric] vector of predicted values |
n = 20
set.seed(123)
truth = rnorm(n)
response = rnorm(n)
SSE(truth, response)