mfe_pricef_errtables.m
来自「Modeling and Forecasting Electricity Loa」· M 代码 · 共 29 行
M
29 行
function mfe_pricef_errtables(MDE,MWE,DRMSE,WRMSE,MeDE,MeWE,datad);
%MFE_PRICEF_ERRTABLES Auxiliary routine for STARTARX, -GARCH, -TARX.
% MFE_PRICEF_ERRTABLES(MDE,MWE,DRMSE,WRMSE,MEDE,MEWE,DATAD) displays
% a table with MDE, MWE, DRMSE, WRMSE, MeDE and MeWE forecasting errors.
% DATAD is a vector of dates.
%
% Reference(s):
% [1] R.Weron (2007) "Modeling and Forecasting Electricity Loads and
% Prices: A Statistical Approach", Wiley, Chichester.
% Written by Adam Misiorek and Rafal Weron (2006.09.22)
% Copyright (c) 2006 by Rafal Weron
if any(~isnan(MDE))
disp('---------------------------------------------------')
disp(' Day MDE[%] MeDE[%]')
disp('---------------------------------------------------')
for i=1:length(MDE)
disp(sprintf(' %d %6.2f %6.2f',datad(i),MDE(i)*100,MeDE(i)*100))
end
end
if any(~isnan(MWE))
disp('===================================================')
disp(' Week MWE[%] MeWE[%] WRMSE')
disp('---------------------------------------------------')
for i=1:length(MWE)
disp(sprintf(' %d %6.2f %6.2f %6.2f',i,MWE(i)*100,MeWE(i)*100,WRMSE(i)))
end
end
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?