What does Attention Networks and Intrinsic Motivation conclude, in numbers, about “Practice and a Pre-registered Trial”?

Answer: Chapter 8 offers a four-step attention-and-motivation checklist and a pre-registered randomised crossover trial of the "brain drain" hypothesis (own phone face down and silenced on the desk versus locked in another room; single primary outcome the automated operation span absolute score, with the Sustained Attention to Response Task secondary; periods at least 7 days apart with parallel forms; 160 completers, 190 randomised; decision rule written as code), noting that replications and meta-analyses since the original study disagree. Marked boxes separate published evidence, runnable Python calculations (16 programs, all checked), classical sources and the author's hypotheses. This book is not diagnosis or treatment advice for ADHD, anxiety, depression or any other condition, and deals with no medication or dose.

Scope of the numbers: This book is not diagnosis or treatment advice for ADHD, anxiety, depression or any other condition, and deals with no medication or dose. Marked boxes separate published evidence, runnable Python calculations (16 programs, all checked), 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: 160, 190

participants completing both periods, 90 % power
effect (SD) | rho0.6 | rho = 0.7 | rho = 0.8
0.15 |376 | 283 | 189
0.20 |213 | 160 | 108
0.25 |137 | 103 | 70
0.30 |96 | 73 | 49
chosen0.20 SD, rho = 0.7 -> 160 completers (rounded to 160 for equal sequences);
allowing 15 % who miss the second session: randomise 190 (95 per sequence)
Show the full program
# Sample size for the AB/BA crossover: A = own phone face down and silenced on the desk,
# B = phone locked in another room. Primary outcome OSPAN absolute score; effect in units of the
# between-person SD; SD of the within-person difference = SD * sqrt(2 (1 - rho)).
# Two-sided alpha 0.05, power 0.90, paired t approximation.
import math
from statistics import NormalDist
N = NormalDist()

def t_quantile(p, df):
    # Cornish-Fisher style approximation to the t quantile (good enough for df > 20)
    z = N.inv_cdf(p)
    return z + (z ** 3 + z) / (4 * df) + (5 * z ** 5 + 16 * z ** 3 + 3 * z) / (96 * df ** 2)

def n_pairs(d, rho, alpha=0.05, power=0.90):
    dz = d / math.sqrt(2 * (1 - rho))
    n = 10
    for _ in range(50):
        n_new = math.ceil(((t_quantile(1 - alpha / 2, n - 1) + t_quantile(power, n - 1)) / dz) ** 2)
        if n_new == n: break
        n = n_new
    return n

print("participants completing both periods, 90 % power")
print(" effect (SD) | rho = 0.6 | rho = 0.7 | rho = 0.8")
for d in (0.15, 0.20, 0.25, 0.30):
    print(f"    {d:.2f}     | {n_pairs(d, 0.6):9d} | {n_pairs(d, 0.7):9d} | {n_pairs(d, 0.8):9d}")
n = n_pairs(0.20, 0.7)
n_even = n + n % 2
recruit = math.ceil(n_even / 0.85); recruit += recruit % 2
print(f"chosen: 0.20 SD, rho = 0.7 -> {n} completers (rounded to {n_even} for equal sequences);")
print(f"allowing 15 % who miss the second session: randomise {recruit}"
      f" ({recruit // 2} per sequence)")

Single source and citation

Fan, Y. (2026). Attention Networks, the Working-Memory Bottleneck and Self-Determination Theory (Version 1.0.0), Chapter 8: Practice and a Pre-registered Trial. 5D Library. https://doi.org/10.5281/zenodo.23761341

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

BibTeX
@book{fan2026024,
  author    = {Fan, Yafu},
  title     = {Attention Networks, the Working-Memory Bottleneck and Self-Determination Theory},
  year      = {2026},
  publisher = {5D Library},
  edition   = {1.0.0},
  doi       = {10.5281/zenodo.23761341},
  url       = {https://doi.org/10.5281/zenodo.23761341}
}

Other chapter answers in this book