Think about Loose Coupling  
PerlMonks 
Comment on 
( #3333=superdoc: print w/ replies, xml )  Need Help?? 
Statistics::Descriptive::LogScaleNot long ago I asked a question that's still unanswered here, on Stackoverflow, and by repeated cpan and google searches. So I couldn't resist and started out a github project to cover this need. My module provides a Statistics::Descriptive::Fullcompatible interface, however it doesn't keep all the data. Instead, data is divided into logarithmic intervals and hit counts are stored for each interval. Thus statistical distribution's properties can be roughly calculated without using lots of memory. Synopsis
Current stateThe module is still in development, but at least it shows consistent results for some common distributions. There's example/summary.pl to demonstrate percentiles, sum, etc. and examples/sample_generator.pl for quick and dirty random data generation (it's REALLY dirty, but it works). It follows Statistics::Descriptive::Full interface as close as possible. Currently, mode and frequency_distribution are still unimplemented. I've also added standardized and central moments (i.e. expectations of arbitrary power of given random variable). Why this moduleThe module was initially targeted at performance analysis. Knowing that 99% of requests finished in 0.1s + 0.01s looks more useful than just having an average request time 0.1s + 1s (standard deviation) which is what I observed not once trying to "analyze" our web applications' performance. However, a broader usage may exist, e.g. some longrunning application may want to keep track of various useful numbers without leaking. Ideally, this module could also become a short way of saying "I'm not sure why I need statistics, but it's nice to have, and simple." For those who know why they need statistics, there's R. ControversySome moments I'm not sure about.
Before things go horribly wrongI'm planning to release the module to CPAN in the near future, so please tell me if I'm missing something. UPDATE: I admit I couldn't wait any more and uploaded the module to CPAN.

