> For the complete documentation index, see [llms.txt](https://docs.fractalworks.io/joule/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.fractalworks.io/joule/components/analytics/analytic-tools/analytic-functions/stateful.md).

# Stateful

Stateful based analytics over a grouped set of events

> Stateful math functions refer to mathematical operations or transformations that maintain some form of internal state across invocations

## Available functions

<table data-card-size="large" data-view="cards"><thead><tr><th></th><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td></td><td><mark style="color:orange;"><strong>Exponential moving average</strong></mark></td><td></td><td><a href="/joule/components/analytics/analytic-tools/analytic-functions/stateful/exponential-moving-average.md">Exponential moving average</a></td></tr><tr><td></td><td><mark style="color:orange;"><strong>Rolling sum</strong></mark></td><td></td><td><a href="/joule/components/analytics/analytic-tools/analytic-functions/stateful/rolling-sum.md">Rolling Sum</a></td></tr></tbody></table>
