What does Jing-Well Press Needles and Post-Stroke Cognition conclude, in numbers, about “Drift Diffusion, Ceiling Effects and a Check of the Thesis Data”?
Answer: Study 2 was an open-label, add-on, single-centre trial with 34 per group. The thesis gives two between-group results for the MoCA: response rates p = 0.287 ("comparable efficacy") and post-treatment scores P = 0.005; the latter is unadjusted for baseline, its control cell is inconsistent and there was no sham, so it still does not support a conclusion; "better than the control group" in the abstract partly rests on within-group before–after tests, and comparisons with baseline within groups cannot replace a comparison between groups. Faster timed tests can come from drift rate, boundary or non-decision time. The MoCA has a ceiling of 30; a response-rate chi-square test wastes most of the information, analysis of covariance has clearly higher power, and a Tobit model can correct the underestimate caused by the ceiling. The table-by-table check found that 56 of 60 integer-scale cells cannot be medians; four cells are impossible or hard to accept even as means (two above the item maximum); an MMSE row duplicates the colour-word data; the response table's counts disagree, while p = 0.287 matches 26/34 against 22/34 responders; the efficacy formula runs in the wrong direction; the sample-size calculation does not match the analysis; and the p columns are unlabelled, with two conflicting baseline p values. These problems need checking by the thesis author against the raw data.
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: 0.287, 22, 26, 30, 34, 56
| C1 60 cells | 56 cannot be the median of 34 scores; the 4 that can: |
| 33.50, 2.00, 3.50, 25.50 | |
| as a mean of 34 scores (2 decimals, cut or rounded), incompatible: | |
| 0.247 (2-4), 0.247 (2-4), 1.83 (2-9) | |
| C2 M outside its own IQR (Q1, Q3), or above the item maximum: | |
| Table 2-8 MoCA, ctrl | 21.76 (24, 26.25) |
| Table 2-8 MMSE, ctrl | 20.91 (13, 16) |
| Table 2-9 visuospatial, treat | 3.32 (3, 3.25) |
| Table 2-9 abstraction, treat | 1.88 (2, 2) |
| Table 2-9 abstraction, ctrl | 1.79 (2, 2) |
| Table 2-10 naming, treat | 2.97 (3, 3) |
| Table 2-10 naming, ctrl | 3.06 (3, 3) ABOVE MAXIMUM 3 |
| Table 2-10 language, treat | 2.85 (3, 3) |
| Table 2-10 language, ctrl | 2.94 (3, 3) |
| Table 2-10 abstraction, ctrl | 2.09 (2, 2) ABOVE MAXIMUM 2 |
| Table 2-12 colour-word, ctrl | 20.91 (13, 16) |
| if 21.76 (24, 26.25) were a mean, the 8 lowest would average < | 12.2 |
| (all were 18-25 at entry); | |
| if 20.91 (13, 16) were a mean, the 8 highest colour-word scores would average | |
| > | 39.9 (treatment-arm P75 after treatment: 26) |
| C3 Table 2-8 'MMSE' = Table 2-12 'colour-word', both arms: True | |
| its control 20.91 = control baseline MMSE, Table 2-4: True | |
| its control (13, 16) = control figure-number IQR, Table 2-12: True | |
| C4 Table 2-5, treatment counts (0, 2, 26, 8): sum 36 (n | 34); |
| (2 + 26)/34 | 82.4% vs 'total effective 76.4 %' |
| 26 vs 22 effective: Pearson chi2 | 1.133, p = 0.287 |
| 28 vs 22 effective: Pearson chi2 | 2.720, p = 0.099 |
| 26 vs 22 with Yates correction: chi2 | 0.637, p = 0.425 |
Key formula
Show the full program
# Chapter 6. Checks on summaries printed in Lu (2024) as "M (P25, P75)". DATA: all 60
# integer-scale cells of Tables 2-4, 2-8 to 2-12, 2-14, 2-22 (integer scoring of computer
# tests assumed): table, item, treatment M P25 P75, control M P25 P75. C1 granularity,
# C2 IQR and item maximum, C3 duplicates, C4 Table 2-5, C5 baseline tests, C6 response
# rule, C7 sample size, C8 Table 1-3, C9 p columns.
import math, statistics
DATA = """2-4 MoCA 20.24 19 21 19.94 18 21.25|2-4 MMSE 21.24 19 23 20.91 19.8 22|
2-4 CDR 0.247 0 0.5 0.247 0 0.5|2-4 SDS 32.03 28 35 33.50 30 36.25|
2-8 MoCA 27.67 25 28 21.76 24 26.25|2-8 MMSE 23.35 20 26 20.91 13 16|
2-9 visuospatial 3.32 3 3.25 3.32 3 4|2-9 naming 2.47 2 3 2.41 2 3|
2-9 attention 4.26 3 5 4.26 3.75 5|2-9 language 1.83 1 2.25 1.91 1 2.25|
2-9 abstraction 1.88 2 2 1.79 2 2|2-9 recall 1.64 1 2 1.61 1 2|
2-9 orientation 4.82 4 6 4.79 4 5|2-10 visuospatial 4.06 3 5 3.82 3 4|
2-10 naming 2.97 3 3 3.06 3 3|2-10 attention 5.23 5 6 5.09 5 6|
2-10 language 2.85 3 3 2.94 3 3|2-10 abstraction 2.00 2 2 2.09 2 2|
2-10 recall 3.55 3 4 3.05 3 4|2-10 orientation 5.03 4 6 5.09 5 5.25|
2-11 colour-word 17.61 13 23 16.85 14 19.25|
2-11 figure-number 11.74 8 15 10.09 7 14|
2-11 figure-calc 7.09 5 8.25 6.76 5 8.25|2-11 digit-span 3.50 3 4 3.44 3 4|
2-12 colour-word 23.35 20 26 20.91 13 16|
2-12 figure-number 17.08 16 19 14.67 13 16|
2-12 figure-calc 9.41 8 11 7.91 6 9|2-12 digit-span 5.35 5 6 5.24 4 6|
2-14 MoCA 25.50 23 27 24.24 22.5 25|2-22 MMSE 27.44 27 28 23.73 22 24.25"""
MAXI = {"visuospatial": 5, "naming": 3, "attention": 6, "language": 3, "abstraction": 2,
"recall": 5, "orientation": 6}
N = 34
CELLS = []
for rec in DATA.replace("\n", "").split("|"):
t, item, *v = rec.split()
for arm, k in (("treat", 0), ("ctrl", 3)):
CELLS.append((t, item, arm, *map(float, v[k:k + 3])))
def chi2_p(x, df):
if df == 1:
return math.erfc(math.sqrt(x / 2))
if df == 3:
return math.erfc(math.sqrt(x / 2)) + math.sqrt(2 * x / math.pi) * math.exp(-x / 2)
raise ValueError
def pearson(rows):
R = [sum(r) for r in rows]; C = [sum(c) for c in zip(*rows)]; T = sum(R)
return math.fsum((rows[i][j] - R[i] * C[j] / T) ** 2 / (R[i] * C[j] / T)
for i in range(len(R)) for j in range(len(C)))
def t_p(t, df): # two-sided p of Student t, exact series for even df
th = math.atan(abs(t) / math.sqrt(df)); c2 = math.cos(th) ** 2; term = acc = 1.0
for k in range(1, df // 2):
term *= c2 * (2 * k - 1) / (2 * k); acc += term
return 1 - math.sin(th) * acc
step = lambda item: 0.5 if item == "CDR" else 1.0
half = lambda c: c[3] / (step(c[1]) / 2)
med = [c for c in CELLS if abs(half(c) - round(half(c))) < 1e-9]
print(f"C1 {len(CELLS)} cells: {len(CELLS) - len(med)} cannot be the median of 34 scores;"
f" the {len(med)} that can:\n " + ", ".join(f"{c[3]:.2f}" for c in med))
def mean_ok(v, st):
return any(abs(math.floor(100 * k * st / N) / 100 - v) < 1e-9 or
abs(round(k * st / N, 2) - v) < 1e-9 for k in range(int(40 * N / st)))
odd = [c for c in CELLS if not mean_ok(c[3], step(c[1]))]
print(" as a mean of 34 scores (2 decimals, cut or rounded), incompatible:\n " +
", ".join(f"{c[3]:g} ({c[0]})" for c in odd))
print("C2 M outside its own IQR (Q1, Q3), or above the item maximum:")
for t, item, arm, m, q1, q3 in CELLS:
over = item in MAXI and t in ("2-9", "2-10") and m > MAXI[item]
if m < q1 - 1e-9 or m > q3 + 1e-9 or over:
flag = f" ABOVE MAXIMUM {MAXI[item]}" if over else ""
print(f" Table {t:5s} {item + ', ' + arm:20s} {m:6.2f} ({q1:g}, {q3:g}){flag}")
lo, mid, hi = 8, 18, 8 # observations below P25 / inside / above P75
need_low = (N * 21.76 - mid * 24 - hi * 26.25) / lo
need_high = (N * 20.91 - lo * 13 - mid * 16) / hi
print(f" if 21.76 (24, 26.25) were a mean, the {lo} lowest would average"
f" <= {need_low:.1f}"
"\n (all were 18-25 at entry);")
print(f" if 20.91 (13, 16) were a mean, the {hi} highest colour-word scores would"
" average"
f"\n >= {need_high:.1f} (treatment-arm P75 after treatment: 26)")
row = lambda t, it: [c[3:] for c in CELLS if c[0] == t and c[1] == it]
print("C3 Table 2-8 'MMSE' = Table 2-12 'colour-word', both arms:",
row("2-8", "MMSE") == row("2-12", "colour-word"))
cw = row("2-12", "colour-word")[1]
print(" its control 20.91 = control baseline MMSE, Table 2-4:",
cw[0] == row("2-4", "MMSE")[1][0])
print(" its control (13, 16) = control figure-number IQR, Table 2-12:",
cw[1:] == row("2-12", "figure-number")[1][1:])
tx = (0, 2, 26, 8); ct = (0, 0, 22, 12)
print(f"C4 Table 2-5, treatment counts {tx}: sum {sum(tx)} (n = 34);"
f"\n (2 + 26)/34 = {28 / 34:.1%} vs 'total effective 76.4 %'")
for lab, a in (("26 vs 22 effective", 26), ("28 vs 22 effective", 28)):
x = pearson([[a, 34 - a], [22, 12]])
print(f" {lab}: Pearson chi2 = {x:.3f}, p = {chi2_p(x, 1):.3f}")
rows = [[26, 8], [22, 12]]; R = [34, 34]; C = [48, 20]
yates = math.fsum((abs(rows[i][j] - R[i] * C[j] / 68) - 0.5) ** 2 / (R[i] * C[j] / 68)
for i in range(2) for j in range(2))
print(f" 26 vs 22 with Yates correction: chi2 = {yates:.3f},"
f" p = {chi2_p(yates, 1):.3f}")
print(" -> p = 0.287 fits 26/34 effective (uncorrected); counts summing to 34 with 26"
"\n effective: (0, 2, 24, 8) or (0, 0, 26, 8)")
print("C5 baseline tests re-computed from the printed summaries")
for lab, m1, s1, m2, s2, rep in (
("age (Table 2-3)", 61.70, 9.98, 65.52, 7.94, "-1.747, 0.085"),
("days since stroke", 52.67, 51.04, 37.88, 36.60, "1.373, 0.174")):
t = (m1 - m2) / math.sqrt((s1 ** 2 + s2 ** 2) / N)
print(f" {lab:17s} t = {t:+.3f}, p = {t_p(t, 2 * N - 2):.3f} (reported {rep})")
x = pearson([[24, 10], [23, 11]]); x2 = pearson([[7, 20, 5, 2], [10, 13, 7, 4]])
print(f" sex: chi2 = {x:.3f}, p = {chi2_p(x, 1):.3f} (Table 2-6: 0.069, 0.793;"
" text calls 0.069 the p)")
print(f" education: chi2 = {x2:.3f}, p = {chi2_p(x2, 3):.3f} (Table 2-7: 3.014, 0.389)")
print("C6 response rule: the printed (pre - post)/pre is negative for any improvement.")
print(" Sign reversed, (post - pre)/pre, the largest rate reachable with MoCA <= 30:")
print(" baseline: " + " ".join(f"{b}:{(30 - b) / b:.0%}" for b in range(18, 26)))
print(" 'cured' (>= 75 %) is unreachable for every eligible patient; 'effective'"
" (>= 25 %)\n needs a perfect 30 at baseline 24 and is impossible at 25")
z = statistics.NormalDist().inv_cdf
d = (25.88 - 22.96) / math.sqrt((4.83 ** 2 + 2.88 ** 2) / 2)
for lab, za in (("two-sided 0.05", z(0.975)), ("one-sided 0.05", z(0.95))):
nn = 2 * (za + z(0.80)) ** 2 / d ** 2 + za ** 2 / 4
print(f"C7 sample size, d = {d:.3f}, 80 % power, {lab}: {math.ceil(nn)} per arm"
if lab.startswith("two") else f" {lab}: {math.ceil(nn)} per arm"
" (thesis: 25)")
print(f" 20 % dropout: 25 / 0.8 = {25 / 0.8:.2f} -> 32 per arm (thesis: 25 x 1.2 = 30)")
T13 = (("Baihui", 127, 73.83), ("Sishencong", 68, 39.53), ("Shenting", 63, 36.72),
("Zusanli", 51, 29.65), ("Fengchi", 47, 27.33), ("Neiguan", 43, 40.03),
("Sanyinjiao", 40, 23.26), ("Shenmen", 38, 22.09), ("Yintang", 23, 13.37))
off = [(p, f, r, 100 * f / 172) for p, f, r in T13 if abs(100 * f / 172 - r) > 0.06]
print(f"C8 Table 1-3, f/172 against the printed %:"
f" {len(T13) - len(off)} of {len(T13)} agree;")
for p, f, r, c in off:
print(f" {p}: {f}/172 = {c:.2f} %, printed {r} %")
print("C9 p columns of Tables 2-8, 2-10, 2-12 are unlabelled; they match the treatment")
print(" arm's within-group p (2-10 orientation 0.407 = Table 2-21; 2-12 all < 0.001 =")
print(" Tables 2-23 to 2-27). Conflicting baseline p: MMSE 0.511 (Table 2-4) vs 0.661")
print(" (2.3.4(1)); digit span 0.648 (Table 2-11) vs 0.759 (2.3.4(6))")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 6: Drift Diffusion, Ceiling Effects and a Check of the Thesis Data. 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
- Chapter 1 · Acupoint Co-occurrence Networks and Pinning Control of Brain Networks
- Chapter 2 · Press Needles, Skin and Cortical Magnification of the Fingertip
- Chapter 3 · Cortico-Striato-Thalamic Loops, Stochastic Resonance and Plasticity
- Chapter 4 · Alpha Oscillations: the Welch Estimate, the Jansen–Rit Model and Six EEG Recordings
- Chapter 5 · Proposed Analyses: Microstates, the Phase Lag Index and Transfer Entropy
- Chapter 7 · Reading the Classics: Well Points, the Five Transport Points and Pricking the Twelve Wells
- Chapter 8 · Practice and a Pre-registered Test