EventSeriesAccumulate[eseries]
returns cumulative counts of consecutive events in the event series eseries.
EventSeriesAccumulate [eseries{com1,com2,…}]
returns cumulative values of components comi.
EventSeriesAccumulate
EventSeriesAccumulate[eseries]
returns cumulative counts of consecutive events in the event series eseries.
EventSeriesAccumulate [eseries{com1,com2,…}]
returns cumulative values of components comi.
Details
- EventSeriesAccumulate is typically used in event series analysis to compute accumulated event values.
- EventSeriesAccumulate[eseries] computes cumulative counts of the events in the event series eseries.
- EventSeriesAccumulate returns a TimeSeries object.
Examples
open all close allBasic Examples (3)
Count the events in an event series:
es = EventSeries[1, {{1, 3, 4, 6, 7, 10, 11}}]ts = EventSeriesAccumulate[es]Normal[ts]ListLinePlot[{es, ts}, Joined -> {False, True}, InterpolationOrder -> 0]Create an event series with two components "a" and "b":
es = EventSeries[{{.4, "cat"}, {-.2, "dog"}, {.1, "fox"}}, {{Yesterday, Today, Tomorrow}}, {"a", "b"}]Accumulate values of component "a":
EventSeriesAccumulate[es -> "a"]ListLinePlot[%]Create an event series with two components "a" and "b":
es = EventSeries[{{.3, .1}, {.6, -.1}, {.3, .6}}, {{.3, .7, 1.4}}, {"a", "b"}]Accumulate values of both components "a" and "b":
EventSeriesAccumulate[es -> {"a", "b"}]Normal[%]ListLinePlot[%%, PlotRange -> All, PlotLegends -> {"a", "b"}]Scope (2)
Event series of mining disasters in Wales:
es = EventSeries[TimeEventSeries`TimestampData[Association["UniformlySpacedQ" -> False,
"Timestamps" -> TabularColumn[Association[
"Data" -> {198, {{NumericArray[{-77430, -75239, -73047, -69760, -68209, -66400, -66282,
-59899, -594 ... 87, 188, 189,
190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200},
"TimeWindow" -> DateInterval[{DateObject[{1758, 1, 2}, "Day"], DateObject[{1971, 4, 6}, "Day"]}],
"MetaInformation" -> Association["Name" -> "WelshMiningDisasters"]]];Compute cumulative count of disasters:
ts = EventSeriesAccumulate[es]DateListPlot[ts]The number killed in the disasters:
ColumnKeys[es]DateListPlot[es -> "NumberKilled", PlotRange -> All]Compute cumulative count of victims:
EventSeriesAccumulate[es -> "NumberKilled"]DateListPlot[%]Compute the cumulative number of insurance claims filed in a month:
claims = EventSeries[1, {{...}}]DateHistogram[claims["Times"]]EventSeriesAccumulate[claims]DateListPlot[%, InterpolationOrder -> 0]Related Guides
History
Introduced in 2026 (15.0)
Text
Wolfram Research (2026), EventSeriesAccumulate, Wolfram Language function, https://reference.wolfram.com/language/ref/EventSeriesAccumulate.html.
CMS
Wolfram Language. 2026. "EventSeriesAccumulate." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/EventSeriesAccumulate.html.
APA
Wolfram Language. (2026). EventSeriesAccumulate. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/EventSeriesAccumulate.html
BibTeX
@misc{reference.wolfram_2026_eventseriesaccumulate, author="Wolfram Research", title="{EventSeriesAccumulate}", year="2026", howpublished="\url{https://reference.wolfram.com/language/ref/EventSeriesAccumulate.html}", note=[Accessed: 12-June-2026]}
BibLaTeX
@online{reference.wolfram_2026_eventseriesaccumulate, organization={Wolfram Research}, title={EventSeriesAccumulate}, year={2026}, url={https://reference.wolfram.com/language/ref/EventSeriesAccumulate.html}, note=[Accessed: 12-June-2026]}