yang ji
2012-Oct-03 04:30 UTC
[R] help: ks test fit Poisson-ness (D and p) with one sample data
for a silly question, wondering how to test fit with the one sample as follow. I have read _fitting distributions with R_, but that doesn't answer my specific question. inclined to use Kolmogorov-Smirnov D, and its associative p value. much appreciation! X20.001 232 93 84 185 336 417 228 199 2110 1411 612 1913 1314 3015 2516 3517 3518 2219 3420 1721 3022 5023 6024 9825 6226 6227 6728 5429 5830 5831 10732 7933 5634 6535 8936 11137 10638 11339 8840 9841 9242 4243 1944 545 1146 1547 1548 2449 350 251 052 453 154 9 [[alternative HTML version deleted]]
Rui Barradas
2012-Oct-03 17:17 UTC
[R] help: ks test fit Poisson-ness (D and p) with one sample data
Hello, Homework? We don't do homework. Why do you want the ks test and not, say, a chi-squared test? Tips: 1)ks is for contiuous data and 2) who told you this comes from a poisson population if it doesn't really seem so? Hope this helps, Rui Barradas Em 03-10-2012 05:30, yang ji escreveu:> for a silly question, wondering how to test fit with the one sample as follow. > I have read _fitting distributions with R_, but that doesn't answer my specific question. > inclined to use Kolmogorov-Smirnov D, and its associative p value. > much appreciation! > X20.001 232 93 84 185 336 417 228 199 2110 1411 612 1913 1314 3015 2516 3517 3518 2219 3420 1721 3022 5023 6024 9825 6226 6227 6728 5429 5830 5831 10732 7933 5634 6535 8936 11137 10638 11339 8840 9841 9242 4243 1944 545 1146 1547 1548 2449 350 251 052 453 154 9 > > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code.