WOLFRAM

Enable JavaScript to interact with content and submit forms on Wolfram websites. Learn how
Wolfram Language & System Documentation Center

EventSeriesAccumulate [eseries]

returns cumulative counts of consecutive events in the event series eseries.

EventSeriesAccumulate [eseries{com1,com2,}]

returns cumulative values of components comi.

Details
Details and Options Details and Options
Examples  
Basic Examples  
Scope  
See Also
Related Guides
History
Cite this Page

EventSeriesAccumulate [eseries]

returns cumulative counts of consecutive events in the event series eseries.

EventSeriesAccumulate [eseries{com1,com2,}]

returns cumulative values of components comi.

Details

Examples

open all close all

Basic Examples  (3)

Count the events in an event series:

Wolfram Language code: es = EventSeries[1, {{1, 3, 4, 6, 7, 10, 11}}]
Wolfram Language code: ts = EventSeriesAccumulate[es]
Wolfram Language code: Normal[ts]
Wolfram Language code: ListLinePlot[{es, ts}, Joined -> {False, True}, InterpolationOrder -> 0]

Create an event series with two components "a" and "b":

Wolfram Language code: es = EventSeries[{{.4, "cat"}, {-.2, "dog"}, {.1, "fox"}}, {{Yesterday, Today, Tomorrow}}, {"a", "b"}]

Accumulate values of component "a":

Wolfram Language code: EventSeriesAccumulate[es -> "a"]
Wolfram Language code: ListLinePlot[%]

Create an event series with two components "a" and "b":

Wolfram Language code: es = EventSeries[{{.3, .1}, {.6, -.1}, {.3, .6}}, {{.3, .7, 1.4}}, {"a", "b"}]

Accumulate values of both components "a" and "b":

Wolfram Language code: EventSeriesAccumulate[es -> {"a", "b"}]
Wolfram Language code: Normal[%]
Wolfram Language code: ListLinePlot[%%, PlotRange -> All, PlotLegends -> {"a", "b"}]

Scope  (2)

Event series of mining disasters in Wales:

Wolfram Language code: 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:

Wolfram Language code: ts = EventSeriesAccumulate[es]
Wolfram Language code: DateListPlot[ts]

The number killed in the disasters:

Wolfram Language code: ColumnKeys[es]
Wolfram Language code: DateListPlot[es -> "NumberKilled", PlotRange -> All]

Compute cumulative count of victims:

Wolfram Language code: EventSeriesAccumulate[es -> "NumberKilled"]
Wolfram Language code: DateListPlot[%]

Compute the cumulative number of insurance claims filed in a month:

Wolfram Language code: claims = EventSeries[1, {{...}}]
Wolfram Language code: DateHistogram[claims["Times"]]
Wolfram Language code: EventSeriesAccumulate[claims]
Wolfram Language code: DateListPlot[%, InterpolationOrder -> 0]

History

Introduced in 2026 (15.0)

Wolfram Research (2026), EventSeriesAccumulate, Wolfram Language function, https://reference.wolfram.com/language/ref/EventSeriesAccumulate.html.

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: 16-August-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: 16-August-2026]}

Top [フレーム]

AltStyle によって変換されたページ (->オリジナル) /