Skip to contents

This function helps to average the predicted residuals based on certain criteria. The default function is averaging. TODO: we will be averaging residuals based on ML precision for each residual prediction.

Usage

debias.average(residuals, by_product_accuracy = NULL)

Arguments

residuals

vector: predicted residuals across products.

by_product_accuracy

vector: the out-of-sample RMSE for each product.

Value

numeric: an averaged residual.

Author

Dongchen Zhang