Displaying 1 result from an estimated 1 matches for "dhist".
Did you mean:
hist
2011 Feb 19
3
Kolmogorov-smirnov test
...000, 12, 2.5);d # normal distribution d
par(mfrow=c(2,2), las=1)
ahist<-hist(a, breaks=1:25, prob=T, ylim=c(0,0.4));box() # histograms of a
bhist<-hist(b, breaks=1:25, prob=T, ylim=c(0,0.4));box() # histograms of b
chist<-hist(c, breaks=1:25, prob=T, ylim=c(0,0.4));box() # histograms of c
dhist<-hist(d, breaks=1:25, prob=T, ylim=c(0,0.4));box() # histograms of d
ks.test(c(a,b), c(c,d), alternative="two.sided") # kolmogorov-smirnov on
continuous data
ks.test(c(ahist$density, bhist$density), c(chist$density, dhist$density),
alternative="two.sided") # kolmogorov-smirn...