edftests.m
来自「Modeling and Forecasting Electricity Loa」· M 代码 · 共 13 行
M
13 行
function [A2,D]=edftests(x,params,dist);
%EDFTESTS Empirical distribution function (edf) goodness-of-fit statistics.
% [A2,D]=EDFTESTS(X,PARAMS,DIST) computes the Anderson-Darling A2 and
% Kolmogorov (Kolmogorov-Smirnov) D goodness-of-fit statistics for data
% vector X and a vector of estimated parameters PARAMS of distribution
% DIST ('Gaussian', 'hyperbolic', 'NIG', 'stable').
%
% Reference(s):
% [1] R.B.D扐gostino, M.A.Stephens (1986) "Goodness-of-Fit Techniques",
% Marcel Dekker, New York.
% [2] K.Burnecki, A.Misiorek, R.Weron (2005) "Loss distributions", in
% "Statistical Tools for Finance and Insurance", P.Cizek, W.Haerdle,
% R.Weron (eds), Springer, Berlin, pp. 289
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?