Re: fit a BinomialDistribution to exptl data?
- To: mathgroup at smc.vnet.net
- Subject: [mg80727] Re: fit a BinomialDistribution to exptl data?
- From: P_ter <peter_van_summeren at yahoo.co.uk>
- Date: Thu, 30 Aug 2007 02:34:27 -0400 (EDT)
This fitting with Mathematica is quite impressive for me. But it is not enough just to fit.
I did in R with the package gamlss {n,p=.2} experiment with one sample. The results were nearly the same (correction for sample size).
I give some {n,p} results from Ray's program:
{3.88, 3.25186},{23.9666, 0.161892},{22, 0.176364}
{3.965, 2.99877},{16.2707, 0.24369},{16, 0.247813}
{3.775, 3.16018},{23.1784, 0.162867},{21, 0.179762}
It is very instructive to see how the results vary from sample to sample. And this is for fitting!
It could be a very nice demonstration for findFit: to see the difference between the theoretical distribution, the sample and the found distribution.
Very impressive what one can do with a few lines of code!
with friendly greetings,
P_ter