powered by
Reduction of Error
RE(yhat, y, yc_bar)
Model outputs in the validation set
Observations in the validation set
Mean observations in the calibration set
RE value
# NOT RUN { x <- rnorm(100) y <- rnorm(100) yc_bar <- mean(x[1:50]) RE(x[51:100], y[51:100], yc_bar) # }
Run the code above in your browser using DataLab