Home > freetb4matlab > statistics > distributions > kolmogorov_smirnov_cdf.m

kolmogorov_smirnov_cdf

PURPOSE ^

% Return the CDF at @var{x} of the Kolmogorov-Smirnov distribution,

SYNOPSIS ^

function cdf = kolmogorov_smirnov_cdf (x, tol)

DESCRIPTION ^

% -*- texinfo -*-
% @deftypefn {Function File} {} kolmogorov_smirnov_cdf (@var{x}, @var{tol})
% Return the CDF at @var{x} of the Kolmogorov-Smirnov distribution,
% @tex
% $$ Q(x) = \sum_{k=-\infty}^\infty (-1)^k \exp(-2 k^2 x^2) $$
% @end tex
% @ifnottex
% @example
% @group
%          Inf
% Q(x) =   SUM    (-1)^k exp(-2 k^2 x^2)
%        k = -Inf
% @end group
% @end example
% @end ifnottex
%
% @noindent
% for @var{x} > 0.
%
% The optional parameter @var{tol} specifies the precision up to which
% the series should be evaluated;  the default is @var{tol} = @code{eps}.
% @end deftypefn

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Fri 22-May-2009 15:13:00 by m2html © 2003