关于「实践与预注册试验」,《自由度问题与运动协同》给出的定量结论是什么?

结论:样本量按以下假设计算(都是假设值,不是任何研究的估计):迁移误差的标准差 4.0 毫米;练习前误差与迁移误差的相关 0.5(协方差分析把方差乘以 \(1 - 0.5^2\));最小关注差异 1.5 毫米(约 0.375 个标准差),双侧 \(\alpha = 0.05\),把握度 90%。每组需要 113 名可分析的参与者;考虑约 15% 的缺失,每组招募 133 名,共 266 名。80% 把握度的备选方案为每组 84 名可分析。敏感性:标准差 3.5—4.5 毫米、相关 0.3—0.6 时,每组需要 74 到 173 名;最小关注差异为 1.0 毫米时需要 165 到 388 名。2,000 次模拟的协方差分析给出把握度 0.896,与公式一致;真实差异为 0 时,错误地得出「干预更好」的比例为 2.4%。

数据口径:本书不是运动医学、物理治疗或康复建议;有伤病或神经系统疾病者应咨询专业人员。 书中以标注框区分已发表的证据、可运行的 Python 计算(14 段程序,全部核对)、原典与作者的假说;书中所有数据都是虚构或模拟的。

English version

对照数据表

下表数字由本章 Python 程序原样打印,可重新运行复现。 程序只用 Python 标准库与结论吻合的打印值: 0.3, 0.5, 0.6, 0.896, 1.0, 1.5

main plan113 analysable per arm, 133 recruited per arm, 266 in all
80 % power alternative84 analysable per arm
sensitivity (analysable per arm, power 90 %):
SD rho SESOI 1.0 SESOI 1.5 SESOI 2.0
3.50.3 235 105 59
3.50.5 194 86 49
3.50.6 165 74 42
4.00.3 306 136 77
4.00.5 253 113 64
4.00.6 216 96 54
4.50.3 388 173 97
4.50.5 320 142 80
4.50.6 273 122 69
simulated power, true difference 1.5 mm (n113): 0.896
simulated power, true difference 0.4 mm (n113): 0.130
simulated power, true difference 0.0 mm (n113): 0.024
0.4 mm0.1 SD, the order of a bias-corrected average focus effect
查看完整验算程序
# Chapter 8 trial: sample size. Primary outcome: RMS cursor-tracking error (mm) on a
# NEW trajectory 24 h after practice, without augmented feedback (transfer), analysed
# by ANCOVA with the pre-practice RMS error as covariate. Assumptions (not estimates):
# SD 4.0 mm, baseline-outcome correlation 0.5, smallest effect of interest 1.5 mm,
# two-sided alpha 0.05, power 90 %, 15 % attrition. Part 2 checks power by simulation.
import math, random
from statistics import NormalDist
Z = NormalDist().inv_cdf

def n_ancova(sd, rho, delta, power=0.90, alpha=0.05):
    return math.ceil(2 * (Z(1 - alpha / 2) + Z(power)) ** 2 * sd ** 2 * (1 - rho ** 2)
                     / delta ** 2)

def ancova(y, x, g):
    """OLS of y on [1, g, x]; returns the group coefficient and its SE."""
    n = len(y); mx, mg, my = sum(x) / n, sum(g) / n, sum(y) / n
    sxx = sum((a - mx) ** 2 for a in x); sgg = sum((a - mg) ** 2 for a in g)
    sxg = sum((a - mx) * (b - mg) for a, b in zip(x, g))
    sxy = sum((a - mx) * (b - my) for a, b in zip(x, y))
    sgy = sum((a - mg) * (b - my) for a, b in zip(g, y))
    det = sxx * sgg - sxg ** 2
    bg = (sxx * sgy - sxg * sxy) / det; bx = (sgg * sxy - sxg * sgy) / det
    res = sum((b - my - bg * (c - mg) - bx * (a - mx)) ** 2 for a, b, c in zip(x, y, g))
    return bg, math.sqrt(res / (n - 3) * sxx / det)

def trial(n, delta, rng, sd=4.0, rho=0.5):
    x, y, g = [], [], []
    for arm in (0, 1):                    # arm 1 = intervention, lower error by delta
        for _ in range(n):
            b = rng.gauss(0, 1); e = rng.gauss(0, 1)
            x.append(12 + sd * b)
            y.append(10 + sd * (rho * b + math.sqrt(1 - rho ** 2) * e) - delta * arm)
            g.append(arm)
    bg, se = ancova(y, x, g)
    return -bg, se                        # positive = intervention better

if __name__ == "__main__":
    n = n_ancova(4.0, 0.5, 1.5); rec = math.ceil(n / 0.85)
    print(f"main plan: {n} analysable per arm, {rec} recruited per arm, {2 * rec} in all")
    print(f"  80 % power alternative: {n_ancova(4.0, 0.5, 1.5, 0.80)} analysable per arm")
    print("sensitivity (analysable per arm, power 90 %):")
    print("   SD    rho    SESOI 1.0   SESOI 1.5   SESOI 2.0")
    for sd in (3.5, 4.0, 4.5):
        for rho in (0.3, 0.5, 0.6):
            print(f"  {sd:.1f}   {rho:.1f}     " + "        ".join(
                f"{n_ancova(sd, rho, d):4d}" for d in (1.0, 1.5, 2.0)))
    rng = random.Random(1954); z = Z(0.975)
    for d in (1.5, 0.4, 0.0):
        hits = sum((lambda e: e[0] - z * e[1] > 0)(trial(n, d, rng)) for _ in range(2000))
        print(f"simulated power, true difference {d:.1f} mm (n = {n}): {hits / 2000:.3f}")
    print("0.4 mm = 0.1 SD, the order of a bias-corrected average focus effect")

唯一数据源与引用

范雅福(Fan, Y.). (2026). 《具身认知、伯恩斯坦自由度问题与运动协同的控制理论》第 8 章「实践与预注册试验」(版本 1.0.0). 5D Library. https://doi.org/10.5281/zenodo.23828057

DOI: 10.5281/zenodo.23828057 · 阅读本章所在专著 · 5DL-B-043 · v1.0.0 · CC-BY-NC-ND-4.0

BibTeX
@book{fan2026043,
  author    = {Fan, Yafu},
  title     = {Embodied Cognition, Bernstein's Degrees-of-Freedom Problem and the Control Theory of Motor Synergies},
  year      = {2026},
  publisher = {5D Library},
  edition   = {1.0.0},
  doi       = {10.5281/zenodo.23828057},
  url       = {https://doi.org/10.5281/zenodo.23828057}
}

本书其他章节结论