kstest.m

来自「kriging 在国外的网站上下的!!」· M 代码 · 共 21 行

M
21
字号
function [d, prob] = kstest (data) 

%	   [d, prob] = kstest (data) 
%
%	KOLMOGOROV-SMIRNOV ONE SAMPLE TEST 
%	USING STANDARD NORMAL DISTRIBUTION
%
% Function based on the ksone.f Fortran Numerical Recipes routine.
% The ksone.f subroutine has been modified to be linked with the 
% matlab environment through ksoneg.f.
%
% data: variable samples
% d:    K-S statistique D corresponding to the maximum difference
%	between the sample distribution and the normat distribution
% prob: significance level of d.  Small values of prob show that the 
%	cumulative sample distribution is significantly different 
% 	from the normal one.
%
% Critical values of d are given in TABLE B of 
% Legengre, L. et Legendre, P. (1984) 蒫ologie num閞ique, Presse de 
%	l'Universit

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?