Given a time series with Events (chart patterns), I want to assess whether events (chart patterns) occur systematic or randomly in a time series.

My idea is to

  • identify patterns in a given time series
  • simulate multiple new time series
  • identify patterns in the simulated time series
  • compare the results
  • The key question is how to compare the results. The events (chart patterns) have a specific length and can be overlapping (as illustrated in the image).

    I could easily just use the number of events in the original time series and compare them to the count/number of events in the simulated time series by simulating enough time series to construct a confidence interval.

    But this would not account for clustering, overlapping and the size of events. Hence, it is not enough to just compare the count/number of events (patterns) but also if there is clustering (margin between events) or differences in the size of the patterns.

    I could do the same test for different statistics. But I am wondering if there is a more elegant way.

    The image is an example with orange lines being events of different size/length in time. They are overlapping but do not seem to be clustered. If they would be clustered they might only appear in the beginning and end of the time series.

    My question is:

    How to test if events (with different size, overlapping, and maybe clustered) occur systematic in a time series or randomly?

    Are there any similar problems in other disciplines?

    More Nico Schäfer's questions See All
    Similar questions and discussions