What does Jing-Well Press Needles and Post-Stroke Cognition conclude, in numbers, about “Alpha Oscillations: the Welch Estimate, the Jansen–Rit Model and Six EEG Recordings”?

Answer: The EEG part of the thesis is a six-person before–after comparison without control that shows one participant's spectrum and a qualitative description; the text also contradicts itself on eyes-closed and eyes-open recording and leaves the epoching unclear. "The variance of the Welch estimate is 1/k of the periodogram's" holds only for non-overlapping segments; with 50 % overlap and a Hann window it is 1.054 times 1/K and with 75 % overlap 1.909 times; but the spectrum of a single 5-minute recording is already stable, and the problem is the sample and the design. The Jansen–Rit model can write the trajectory "connectivity falls, alpha collapses, connectivity returns, alpha returns", but more external input does not restore alpha, and the spectral shape does not determine the parameters uniquely. Without any treatment effect, the probability that at least five of six people show "more alpha" can reach about 40 % with a common time drift, and the Berger effect is about threefold under the simulation's settings. "Alpha restored after stimulation" was not tested in the thesis.

Scope of the numbers: Marked boxes separate published evidence, runnable Python calculations (16 programs), classical sources and the author's models and hypotheses; apart from cited literature data, all data in the book are synthetic.

中文版

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: 1.054, 1.909, 50, 75

(simulation s.e. about 6% of the value)
overlap K1/K theory simulated theory x K
0 %16 0.0625 0.0625 0.0552 1.000
50 %31 0.0323 0.0340 0.0345 1.054
75 %61 0.0164 0.0313 0.0319 1.909
Hann, 50 % overlap: rho(1)0.1667 (exactly 1/6), rho(1)^2 = 0.0278
EEG case, 5 min at 1,000 Hz, 2-s Hann windows, 50 % overlap: K299,
relative s.d. of each spectral value sqrt(0.00353)0.059

Key formula

\[\rho(m) = \frac{\sum_n w[n]\, w[n + mD]}{\sum_n w[n]^2},\]
Show the full program
# Chapter 4. Variance of the Welch estimate. Lu (2024, 3.2.6.1) says it is 1/k of the
# periodogram's; that holds for NON-overlapping segments. For white noise with overlap,
#   Var / E^2 = (1/K) [1 + 2 sum_{j=1}^{K-1} (1 - j/K) rho(j)^2],
#   rho(j) = sum_n w[n] w[n + jD] / sum_n w[n]^2   (Welch 1967; Percival & Walden 1993),
# checked by simulation (N = 4,096, segments of 256, bin 20, 500 replicates each).
import math, random

M, N, BIN, REPS = 256, 4096, 20, 500
W = [0.5 * (1 - math.cos(2 * math.pi * n / M)) for n in range(M)]       # Hann
U = math.fsum(w * w for w in W)
C = [W[n] * math.cos(2 * math.pi * BIN * n / M) for n in range(M)]
S = [W[n] * math.sin(2 * math.pi * BIN * n / M) for n in range(M)]

def theory(D):
    K = (N - M) // D + 1
    rho = [math.fsum(W[n] * W[n + j * D] for n in range(M - j * D)) / U
           for j in range(1, K) if j * D < M]
    return K, (1 + 2 * math.fsum((1 - j / K) * r * r for j, r in enumerate(rho, 1))) / K

def welch_once(x, D):
    vals = []
    for s0 in range(0, N - M + 1, D):
        re = math.fsum(C[n] * x[s0 + n] for n in range(M))
        im = math.fsum(S[n] * x[s0 + n] for n in range(M))
        vals.append((re * re + im * im) / U)
    return math.fsum(vals) / len(vals)

def simulate(D, seed):
    rng = random.Random(seed); est = []
    for _ in range(REPS):
        x = [rng.gauss(0.0, 1.0) for _ in range(N)]
        est.append(welch_once(x, D))
    m = math.fsum(est) / REPS
    return math.fsum((e - m) ** 2 for e in est) / (REPS - 1) / (m * m)

if __name__ == "__main__":
    print(f"(simulation s.e. about {math.sqrt(2 / (REPS - 1)):.0%} of the value)")
    print("overlap   K    1/K      theory   simulated   theory x K")
    for lab, D in (("0 %", M), ("50 %", M // 2), ("75 %", M // 4)):
        K, th = theory(D)
        print(f"{lab:6s} {K:4d} {1 / K:8.4f} {th:9.4f} {simulate(D, 1967 + D):10.4f}"
              f" {th * K:10.3f}")
    rho1 = math.fsum(W[n] * W[n + M // 2] for n in range(M // 2)) / U
    print(f"Hann, 50 % overlap: rho(1) = {rho1:.4f} (exactly 1/6),"
          f" rho(1)^2 = {rho1 ** 2:.4f}")
    K = (300_000 - 2000) // 1000 + 1
    K2, th2 = K, (1 + 2 * (1 - 1 / K) * rho1 ** 2) / K
    print("EEG case, 5 min at 1,000 Hz, 2-s Hann windows, 50 % overlap:"
          f" K = {K2},"
          f"\n   relative s.d. of each spectral value sqrt({th2:.5f}) ="
          f" {math.sqrt(th2):.3f}")

Single source and citation

Fan, Y. (2026). Finger–Brain Cortical Magnification, Distal Microneedle Afference and Computational Neurology of Post-Stroke Cognitive Network Reconstruction (Version 1.0.0), Chapter 4: Alpha Oscillations: the Welch Estimate, the Jansen–Rit Model and Six EEG Recordings. 5D Library. https://doi.org/10.5281/zenodo.23839915

DOI: 10.5281/zenodo.23839915 · Read the monograph · 5DL-B-052 · v1.0.0 · CC-BY-NC-ND-4.0

BibTeX
@book{fan2026052,
  author    = {Fan, Yafu},
  title     = {Finger–Brain Cortical Magnification, Distal Microneedle Afference and Computational Neurology of Post-Stroke Cognitive Network Reconstruction},
  year      = {2026},
  publisher = {5D Library},
  edition   = {1.0.0},
  doi       = {10.5281/zenodo.23839915},
  url       = {https://doi.org/10.5281/zenodo.23839915}
}

Other chapter answers in this book