Page 1 of 1

Sequences of Number 1 Ranked Performances

Posted: Mon Dec 23, 2024 10:04 am
by phonedata
Maybe a better way of looking for dominance of an athlete is to look for long sequences in which they recorded the top ranked performance. What is the longest such sequence for any athlete? Has any athlete been No1 in an event for all 14 years since 2006?

We can do this using the Pattern croatia phone number Matching aggregation technique in FastStats. This technique allows us to identify interesting patterns (such as repetition) in the behaviour of an individual. I turned the Performance Rank into a Selector and then looked for sequences of 1’s. We know from the data that:

• no athlete can have recorded such a sequence for more than 14 years,
• and that only one value will be recorded for each athlete in each event in each season

So we only need to look for sequences of 14 or shorter, and the patterns will be matched in downward priority which ensures that we find the longest sequence.

Performance Pattern Definition

The settings below are needed to define the pattern match aggregation. The results are ordered by season and we find the longest sequence above and return the first of those (if there are multiple matches) and return the length of the pattern.