# Making sense of (buf)stats

**URL:** <https://discourse.flucoma.org/t/making-sense-of-buf-stats/218>\
**Category:** Usage Questions\
**Created:** [June 4, 2019, 9:02am UTC](https://discourse.flucoma.org/t/making-sense-of-buf-stats/218 "2019-06-04T09:02:30Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![rodrigo.constanzo](https://discourse.flucoma.org/user_avatar/discourse.flucoma.org/rodrigo.constanzo/32/12_2.png) [@rodrigo.constanzo](https://discourse.flucoma.org/u/rodrigo.constanzo)\
**Post date:** [June 4, 2019, 10:11am UTC](https://discourse.flucoma.org/t/making-sense-of-buf-stats/218/2 "2019-06-04T10:11:16Z")

</div>

> [@rodrigo.constanzo](#):
>
> What statistics are meaningful to extract here? It looks like the median of pitch would work in this particular example, but should I weigh that against a confidence metric? So perhaps something like taking all of the points at which the confidence is in the 80th percentile, and then taking a median (or mean?) of the actual pitch from that reduced dataset??
> 
> Is something like that possible with `fluid.bufstats~` ?

On thinking about this further, I guess I could use `fluid.bufstats~` to find out what the 80th percentile is, then use @weefuzzy’s [abstraction](http://discourse.flucoma.org/t/max-faster-buffer-list/219) to dump out the entire buffer into list land, and use logic to reduce/regroup everything back into a single list and then either `zl median` it, or dump it all back into the `bufstats~` universe (`uzi` → `poke`?).

So I guess that is possible, but it does involve lots of “in between” steps going out/in of the `fluid.`-verse to do something like this.

I’m sure there will be other statistical problems that will come up too, so hoping for more robust `stats~` to handle cases like this.

---

_[View the full topic](https://discourse.flucoma.org/t/making-sense-of-buf-stats/218)._
