Loss functions in regression models: Impact on profits and risk in day-ahead electricity trading
研究了回归模型估计中使用的损失函数对日前电力交易利润和风险的影响,发现结合绝对误差和价格方向惩罚的损失函数能带来更优的交易决策。
We study the impact of the loss function used to estimate the parameters of a regression-type model on profits and risk in day-ahead electricity trading. To provide practical insights, we consider a strategy that incorporates battery storage and includes realistic operating costs in the calculation of revenues. Using 2021-2024 data from the German market as the testing ground, we provide evidence that minimizing a loss function that combines absolute errors with a quadratic penalty for price spread predictions of the opposite sign is the preferred option. Forecasts based on the introduced directional loss function repeatedly and in the majority of cases yield trading decisions that outperform those based on predictions from models estimated using squared, absolute, percentage, or asymmetric losses, as measured by the Sharpe ratio and profits per trade.