R/portfolio_objects.R
calculate_errors.Rd
Calculate errors between predictions and actual returns
calculate_errors(predictions, actual_returns)
Predictions to be evaluated
Actual returns
List with Mean Squared Error (MSE), Root Mean Squared Error (RMSE), Mean Absolute Error (MAE), and Hit Ratio