Average Joe Matt
Method · Interval estimation · moving_block_bootstrap_ciAs of 1 Dec

Moving-block bootstrap CI

Percentile CI over 1000 resamples of contiguous blocks (default block length n^(1/3), floored at 2) — preserves short-range autocorrelation that i.i.d. resampling would destroy
WindowCaller-supplied series (paired or single); a fixed seed (1337) makes the interval reproducible for identical input — same data always yields the same interval. Minimum n5 Used byweight_trend.py (the weight-rate confidence interval on /api/journey, #535).

Limitations

Needs n ≥ 5, and at least 100 of the 1000 replicates must produce a valid statistic or the call returns None (e.g. degenerate resamples with zero variance). Default statistic is Pearson r (paired) or the mean (single series); a custom stat may be passed in. Only 4 confidence levels supported (see fisher_ci).