MAKE A MEME View Large Image KS2 Example.png en An example of the two-sample Kolmogorov-Smirnov test Matlab code provided below 2013-03-21 16 02 12 own Bscan <source lang 'matlab'> Matlab code for two-sample Kolmogorov-Smirnov visualization Generate random samples ...
View Original:KS2 Example.png (602x495)
Download: Original    Medium    Small Thumb
Courtesy of:commons.wikimedia.org More Like This
Keywords: KS2 Example.png en An example of the two-sample Kolmogorov-Smirnov test Matlab code provided below 2013-03-21 16 02 12 own Bscan <source lang 'matlab'> Matlab code for two-sample Kolmogorov-Smirnov visualization Generate random samples NumSamps 50; mean1 0 5; sd1 1; mean2 0 0; sd2 1 1; samples1 mean1 + sd1 randn NumSamps 1 ; samples2 mean2 + sd2 randn NumSamps 1 ; Get emprical cdfs f1 x1 ecdf samples1 ; f2 x2 ecdf samples2 ; Plot the two ecdfs figure; hold on; stairs x1 f1 'b-' 'LineWidth' 2 ; stairs x2 f2 'r-' 'LineWidth' 2 ; set gca 'FontSize' 12 Increase font size grid on; box on; Add grid to figure xlim -4 4 </source> cc-zero Uploaded with UploadWizard Kolmogorov-Smirnov test
Terms of Use   Search of the Day