# "online" statistics?

**URL:** <https://discourse.julialang.org/t/online-statistics/3536>\
**Category:** Statistics\
**Created:** [May 5, 2017, 12:39pm UTC](https://discourse.julialang.org/t/online-statistics/3536 "2017-05-05T12:39:47Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ndbecker](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ndbecker/32/10829_2.png) [@ndbecker](https://discourse.julialang.org/u/ndbecker)\
**Post date:** [May 5, 2017, 12:39pm UTC](https://discourse.julialang.org/t/online-statistics/3536/1 "2017-05-05T12:39:47Z")

</div>

I often need to compute running statistics, also called “online”. For example, consider a long-running process which generates a vector of results every 30 seconds. I might want 2nd-order stats, or a histogram. I don’t want to produce an infinitely long vector in order to do this, I need a statistics object that is made to be incrementally updated. Is there anything like this in the Julia world?

---

<div class="post-metadata">

**Author:** ![ChrisRackauckas](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/chrisrackauckas/32/77_2.png) [@ChrisRackauckas](https://discourse.julialang.org/u/ChrisRackauckas)\
**Post date:** [May 5, 2017, 1:03pm UTC](https://discourse.julialang.org/t/online-statistics/3536/2 "2017-05-05T13:03:42Z")

</div>

> **[GitHub - joshday/OnlineStats.jl: ⚡ Single-pass algorithms for statistics](https://github.com/joshday/OnlineStats.jl)**
>
> ⚡ Single-pass algorithms for statistics. Contribute to joshday/OnlineStats.jl development by creating an account on GitHub.
