Hello, the other day I had to compare empirical cumulative distribution functions with analytical ones, and I came up with the attached function file to plot the differences, like for example
p=normcdf(randn(1e6,1),0,0.9); plot_deviation_from_uniform_cdf(p,5) figure p=normcdf(randn(1e6,1),0.1,1); plot_deviation_from_uniform_cdf(p,5) figure p=expcdf(exprnd(2,1e6,1),0.5); plot_deviation_from_uniform_cdf(p,4) Do you think it could be useful in any package? If so, I'd document and submit it. Later, Alex -- Dr. Alexander Klein, Diplom-Mathematiker Physiologisches Institut der JLU-Gießen Aulweg 129 35392 Gießen http://www.med.uni-giessen.de/physio/
plot_deviation_from_uniform_cdf.m
Description: Binary data
------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev