Non-Conformity Score Computation Function
ncs_compute(type, pred, truth, coefs = NULL)Type of non-conformity score to compute. Options include 'absolute_error', 'raw_error', 'relative_error', 'relative_error2', and 'heterogeneous_error'.
a numeric vector of predicted values
a numeric vector of true values
a numeric vector of coefficients for the heterogeneous error model. Must be of length 2, where the first element is the intercept and the second element is the slope.