[erlang-questions] Statistical modules

24 views
Skip to first unread message

Alessandro Sivieri

unread,
Jun 17, 2012, 11:31:21 AM6/17/12
to Erlang Questions
Hi all,

given the fact that searching this on the Web is quite hard, because Erlang is also the name of a probability distribution: do you know if there are modules for performing statistical operations on sets of data (like average, median, standard deviation and such) in Erlang?

--
Sivieri Alessandro
alessandr...@gmail.com
http://sivieri.wordpress.com/

Eric Moritz

unread,
Jun 17, 2012, 12:29:17 PM6/17/12
to Alessandro Sivieri, Erlang Questions

There's two projects that I'm aware of:

https://github.com/boundary/bear is used by https://github.com/boundary/folsom

And
https://github.com/basho/basho_stats

Which is used by https://github.com/basho/basho_bench

Eric.

_______________________________________________
erlang-questions mailing list
erlang-q...@erlang.org
http://erlang.org/mailman/listinfo/erlang-questions

Eric Moritz

unread,
Jun 18, 2012, 4:48:12 PM6/18/12
to Dave Smith, Erlang Questions
I believe folsom's histograms only keep 60 second windows on the
histogram data. That may lead to surprises if he's not using it for
realtime histograms. He can use bear directly to avoid what could
become a subtle bug if things take longer than 60 to load.

Eric.

On Mon, Jun 18, 2012 at 2:15 PM, Dave Smith <diz...@dizzyd.com> wrote:
> Use folsom -- we'll eventually deprecate basho_stats in favor of that.
>
> D.

Paul Peregud

unread,
Jun 18, 2012, 5:24:53 PM6/18/12
to erlang-q...@erlang.org
---------- Forwarded message ----------
From: "Paul Peregud" <paulp...@gmail.com>
Date: Jun 18, 2012 11:14 PM
Subject: Re: [erlang-questions] Statistical modules
To: "Eric Moritz" <er...@themoritzfamily.com>

No, this is true only for recently introduced "sliding window" type of histograms. Both uniform and normal types sample from whole population.

Reply all
Reply to author
Forward
0 new messages