Skip to main content
Cyclic series oscillate, but — unlike a clean seasonal wave — with irregular periods and amplitudes: business cycles, ecological booms and busts, quasi-periodic signals. The generator overlays one or more noisy cycles so the period drifts rather than repeating exactly.
The model yt=base+trendt+i=1nAisin ⁣(ψi(t))+εty_t = \text{base} + \text{trend}\cdot t + \sum_{i=1}^{n} A_i \sin\!\big(\psi_i(t)\big) + \varepsilon_t Each series superimposes num_cycles oscillations whose periods vary from cycle to cycle (cycle_period_std controls how irregular). Small variance approaches a fixed seasonal wave; large variance produces genuinely aperiodic cycling.

1. Cycle length

cycle_period_mean sets the average cycle length in steps. The period still drifts within each series, which is what separates a cycle from a fixed seasonal wave.

2. Cycle irregularity

cycle_period_std controls how much the period wanders. At zero the series is close to a fixed seasonal wave; large values give genuinely aperiodic cycling.

3. Negative trend

A downward trend combined with cyclical fluctuations.

4. Overlapping cycles

Five overlapping cycle components create a complex, realistic pattern.

5. Multiple series

Generate multiple independent cyclic series in one call.
Related generators Cycle-count and irregularity parameters are in the generator reference.