What does Critical Coupling in Livestream Ordering conclude, in numbers, about “From Order Timestamps to an Order Parameter: Folding, the Rayleigh Test and Small-Sample Bias”?

Answer: Fold order times into phases using the call period, and the length of the mean vector is the order parameter in the data while its direction is the average lag of orders behind the call. In the illustrative sessions, session A with a rhythm has an order parameter of 0.3249, a lag of 48.3 seconds and a Rayleigh statistic of 19.00; session B without one has 0.0434 and a statistic of 0.34; the noise floor for one hundred and eighty orders is 0.0661. Small samples bias the order parameter upward, so that a session of twenty orders with no rhythm still averages 0.195, and the bias-corrected \(R^2_{adj}\) brings it back to zero. A period scan must watch for harmonics and pay for seventeen candidates with a family-wise bar of 5.83. Is the togetherness measured in the data pushed by the call or carried by viewers among themselves? The next chapter writes the call as an external force and separates the two.

Scope of the numbers: Chapter 8 gives the A/B loop for a unified countdown, the Livestream Synchrony Order-Parameter Calculator, and a pre-registered protocol (26 sessions per arm under illustrative parameters, simulated power 0.907). Marked boxes separate published evidence, runnable Python calculations (20 programs), classical sources and the author's hypotheses.

中文版

Data table

The numbers below are printed verbatim by the chapter's Python program and can be reproduced by running it. standard-library Python onlyprinted values that match the answer: 0.0434, 0.0661, 0.3249, 0.34, 19.00, 48.3

first orders in A (s)6 26 33 46 55 62 86 87
session n R lag_s Z p
A call180 0.3249 48.3 19.00 3.50e-09
B free180 0.0434 5.7 0.34 7.13e-01
noise floor for n180: E[R] ~ 0.0661, p95 ~ 0.1290
design value of R in A0.35 * I1(4)/I0(4) = 0.3022
Show the full program
# Chapter 4. p41: From order timestamps to an order parameter.
# Model: a 60-minute session in which the host gives the same call every
# 300 s. Each order time t (whole seconds) becomes a phase
#   theta = 2 pi (t mod 300) / 300,
# and R = |mean of exp(i theta)| is the sample order parameter. Rayleigh
# Z = n R^2; p-value by Zar's approximation
#   p = exp(sqrt(1 + 4n + 4(n^2 - (nR)^2)) - (1 + 2n)).
# Illustrative data, fixed seed: session A puts 35 % of 180 orders in a
# von Mises cluster (kappa 4) about 45 s after each call, the rest
# uniform; session B is 180 uniform orders (no common rhythm).
import cmath
import math
import random

PERIOD, LEN = 300, 3600


def session(n, share, rng):
    out = []
    for _ in range(n):
        if rng.random() < share:
            cyc = rng.randrange(LEN // PERIOD)
            ph = rng.vonmisesvariate(2 * math.pi * 45 / PERIOD, 4.0)
            t = cyc * PERIOD + PERIOD * ph / (2 * math.pi)
        else:
            t = rng.uniform(0, LEN)
        out.append(int(t) % LEN)
    return sorted(out)


def stats(times):
    n = len(times)
    zs = [cmath.exp(2j * math.pi * (t % PERIOD) / PERIOD) for t in times]
    m = complex(math.fsum(z.real for z in zs) / n,
                math.fsum(z.imag for z in zs) / n)
    r = abs(m)
    lag = (cmath.phase(m) % (2 * math.pi)) * PERIOD / (2 * math.pi)
    z = n * r * r
    p = math.exp(math.sqrt(1 + 4 * n + 4 * (n * n - (n * r) ** 2))
                 - (1 + 2 * n))
    return n, r, lag, z, min(1.0, p)


def bessel(order, x):
    terms = [(x / 2) ** (2 * k + order)
             / (math.factorial(k) * math.factorial(k + order))
             for k in range(40)]
    return math.fsum(terms)


rng = random.Random(20261117)
a = session(180, 0.35, rng)
b = session(180, 0.0, rng)
print("first orders in A (s):", " ".join(str(t) for t in a[:8]))
print("session  n    R       lag_s   Z       p")
for name, ts in (("A call", a), ("B free", b)):
    n, r, lag, z, p = stats(ts)
    print("%-7s  %d  %.4f  %5.1f   %6.2f  %.2e" % (name, n, r, lag, z, p))
print("noise floor for n = 180: E[R] ~ %.4f, p95 ~ %.4f"
      % (math.sqrt(math.pi / (4 * 180)), math.sqrt(math.log(20) / 180)))
print("design value of R in A: 0.35 * I1(4)/I0(4) = %.4f"
      % (0.35 * bessel(1, 4.0) / bessel(0, 4.0)))

Single source and citation

Fan, Y. (2026). Kuramoto Coupled-Oscillator Synchrony: the Collective-Ordering Phase Transition in Hundred-Viewer Livestreams and the Critical Coupling of Rhythmic Entrainment (Version 1.0.0), Chapter 4: From Order Timestamps to an Order Parameter: Folding, the Rayleigh Test and Small-Sample Bias. 5D Library. DOI pending

DOI pending · monograph page goes live after publication · 5DL-B-239 · v1.0.0 · CC-BY-NC-ND-4.0

BibTeX
@book{fan2026239,
  author    = {Fan, Yafu},
  title     = {Kuramoto Coupled-Oscillator Synchrony: the Collective-Ordering Phase Transition in Hundred-Viewer Livestreams and the Critical Coupling of Rhythmic Entrainment},
  year      = {2026},
  publisher = {5D Library},
  edition   = {1.0.0},
  note      = {DOI pending}
}

Other chapter answers in this book