📄 mfe_pricef_errtables.m
字号:
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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -