Displaying 1 result from an estimated 1 matches for "vectorsentence".
2011 Apr 27
3
Kolmogorov-Smirnov test
...; indicate that distribution
function (empirical and teoretical) coincide but low p-value indicate that i
can reject hypotezis H0. For another side this p-value is most higer than
p-value from second test (2.2e-16). Which result, test is most propertly?
matr = rbind(c(1,2))
layout(matr)
# length vectorSentence = 11999
vectorSentence <- c(....)
vectorLength <- length(vectorSentence)
# assume that we have a table(vectorSentence)
# 1 2 3 4 5 6 7 8 9
# 512 1878 2400 2572 1875 1206 721 520 315
# Poisson parameter
param <- fitdistr(vectorSentence, "poisson")...