Welcome to the Monastery | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Besides checking (as other threads have pointed out) CPAN search (http://search.cpan.org), with keywords like 'statistics, deviation etc', another idea springs to mind as you mention that your arrays are huge. If you build your array piecewise (one element at a time o in chunks) you could calculate at the same time the statistiscal quantities your are interested in. Each time you update the array you calculate the new quantities based on previous ones. For example:
A simple "statistical array" class could be set up to package the prevous thing. Adding up two arrays would "add up" statistical properties. Instead of splicing a subarray to a main one, you could also allow treat your global array as a list of references, this way you would not spend too much time doing copies. By the way higher moment formulas follow simple recurrences, use "google" and wikipedia. hth --stephan In reply to Re: module for cluster analysis
by sgt
|
|