Code covered by the BSD License  

Highlights from
plotcdfkuiper

Be the first to rate this file! 5 Downloads (last 30 days) File Size: 2.14 KB File ID: #21280
image thumbnail

plotcdfkuiper

by Stephen Bocquet

 

31 Aug 2008 (Updated 02 Sep 2008)

Plot cumulative distribution and apply Kuiper test.

| Watch this File

File Information
Description

plotcdfkuiper(x,a,b,cdf,varargin)

Plot the cumulative probability distribution for a set of variates x between limits a,b and compare with the theoretical cumulative distribution function using the Kuiper test.

cdf = handle for cumulative distribution function
varargin contains parameters for cdf
plot limits and cdf are optional inputs

The Kuiper test is similar to the Kolmogorov-Smirnov test, but the Kolmogorov-Smirnov test is most sensitive around the median and less sensitive at the tails of the distribution, whereas the Kuiper test is
equally sensitive to all values of x.

Acknowledgements

The author wishes to acknowledge the following in the creation of this submission:
CDFPLOT, kupiertest

MATLAB release MATLAB 7.6 (R2008a)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
statistics Stephen Bocquet 22 Oct 2008 10:16:55
probability Stephen Bocquet 22 Oct 2008 10:16:55
kuiper Stephen Bocquet 22 Oct 2008 10:16:55
plot Stephen Bocquet 22 Oct 2008 10:16:55
cumulative distribution Stephen Bocquet 22 Oct 2008 10:16:55
cdf Stephen Bocquet 22 Oct 2008 10:16:55
cdf bhushan pawar 02 Oct 2011 03:00:58

Contact us at files@mathworks.com