R/weight_functions.R
ensemble_weights.Rd
Create weights based on various predictions, potentially using their errors with given constraints
ensemble_weights(return_predictions, errors, method = "simple_average")
tibble of stock_id, date, and various predictions
tibble of stock_id, date, and various prediction errors
method to use for ensemble weights. Possible values are:
simple_average: simple average of predictions
weighted_average: weighted average based on the inverse of average errors
error_covariance: using the covariance of errors to calculate weights
tibble with stock_id, date, and weight
if (FALSE) {
}