
4 Jul
2011
4 Jul
'11
8:42 p.m.
I've updated this a bit. Here's the link to the doc: https://svn.boost.org/svn/boost/sandbox/accumulator_ecdf/libs/accumulators/e... It computes fairly straightforward but commonly used statistics .e.g typedef double float_; accumulator_set< int, stats<ecdf::tag::cdf<float_> >
acc;
acc( 1 ); acc( 2 ); acc( 2 ); acc( 3 ); acc( 3 ); acc( 3 ); // percentage of sample observations less than equal to 1: float_ y = ecdf::cdf<float_>( acc , 1 ); Also note in directory /aux_ there is an auxiliary tool for assessing convergence of a random generator to a stated statistical distribution. Here's an example: https://svn.boost.org/svn/boost/sandbox/accumulator_ecdf/libs/accumulators/e... Please send feedback. Thanks.