What does Illuminance Dose and Refractive Development conclude, in numbers, about “Light Logs, Shop Lux Plans and a Falsification Protocol”?
Answer: Chapter 8 offers light logs, a lux planning sheet for shops, the distilled Illuminance Dose Logger and a pre-registered falsification protocol. Marked boxes separate published evidence, runnable computations (20 programs), classical sources and the author's hypotheses.
Scope of the numbers: Marked boxes separate published evidence, runnable computations (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: 20
| (a) incidence replication, children per arm before clustering | |
| power 0.8 | 424 |
| power 0.9 | 567 |
| m per cluster ICC deff children/arm clusters/arm | |
| 40 | 0.01 1.39 789 20 |
| 40 | 0.02 1.78 1010 26 |
| 40 | 0.04 2.56 1452 37 |
| 130 | 0.01 2.29 1299 10 |
| 130 | 0.02 3.58 2030 16 |
| 130 | 0.04 6.16 3493 27 |
| (b) mechanism trial, children per arm (dropout 0.15 added) | |
| power 0.8 | 336 analysed, 396 enrolled |
| power 0.9 | 433 analysed, 510 enrolled |
Show the full program
# Chapter 8. p81: Sample sizes for the pre-registered tests. (a) A
# replication of the incidence effect: 3-year incidence 0.3953 vs
# 0.3036 (p11), two-sided alpha 0.05, cluster randomisation by school
# or class with the design effect 1 + (m - 1) ICC. (b) The four-arm
# mechanism trial of p22 and p61: detect a 0.10 D difference in 1-year
# refraction change between the indoor-far-gaze arm and the shade-
# reading arm, SD 0.40 D (illustrative), Bonferroni over 3 contrasts.
# Registered overturn rule for (a): risk-ratio CI wholly above 0.95.
import math
from statistics import NormalDist
ND = NormalDist()
def n_two_prop(p1, p2, alpha, power):
za = ND.inv_cdf(1 - alpha / 2)
zb = ND.inv_cdf(power)
pbar = (p1 + p2) / 2
a = za * math.sqrt(2 * pbar * (1 - pbar))
b = zb * math.sqrt(p1 * (1 - p1) + p2 * (1 - p2))
return math.ceil(((a + b) / (p1 - p2)) ** 2)
def n_two_mean(delta, sd, alpha, power):
za = ND.inv_cdf(1 - alpha / 2)
zb = ND.inv_cdf(power)
return math.ceil(2 * ((za + zb) * sd / delta) ** 2)
P1, P2 = 0.3953, 0.3036
print("(a) incidence replication, children per arm before clustering")
for pw in (0.8, 0.9):
print(" power {:.1f}: {}".format(pw, n_two_prop(P1, P2, 0.05, pw)))
base = n_two_prop(P1, P2, 0.05, 0.9)
print(" m per cluster ICC deff children/arm clusters/arm")
for m in (40, 130):
for icc in (0.01, 0.02, 0.04):
deff = 1 + (m - 1) * icc
n = math.ceil(base * deff)
print(" {:13d} {:4.2f} {:5.2f} {:12d} {:12d}".format(
m, icc, deff, n, math.ceil(n / m)))
print("(b) mechanism trial, children per arm (dropout 0.15 added)")
for pw in (0.8, 0.9):
n = n_two_mean(0.10, 0.40, 0.05 / 3, pw)
print(" power {:.1f}: {} analysed, {} enrolled".format(
pw, n, math.ceil(n / 0.85)))Single source and citation
Fan, Y. (2026). Outdoor Illuminance Dose, Accommodative Lag and Peripheral-Defocus Optics in Refractive Development (Version 1.0.0), Chapter 8: Light Logs, Shop Lux Plans and a Falsification Protocol. 5D Library. DOI pending
DOI pending · monograph page goes live after publication · 5DL-B-189 · v1.0.0 · CC-BY-NC-ND-4.0
BibTeX
@book{fan2026189,
author = {Fan, Yafu},
title = {Outdoor Illuminance Dose, Accommodative Lag and Peripheral-Defocus Optics in Refractive Development},
year = {2026},
publisher = {5D Library},
edition = {1.0.0},
note = {DOI pending}
}Other chapter answers in this book
- Chapter 1 · Forty Minutes of Evidence: the Guangzhou Cluster Trial and the Weak Reach of Near Work
- Chapter 2 · Illuminance, Not Distance: Lux-Minute Dose and Where Two Models Part
- Chapter 3 · Axial Length in a Linear Mixed Model: How Dose Enters the Growth Slope
- Chapter 4 · Accommodative Lag: A Cause Overturned by the Order of Events
- Chapter 5 · The Thin-Lens Optics of Peripheral Defocus
- Chapter 6 · Three Mechanisms in Competition: Identifiability, Sensitivity and Population Arithmetic
- Chapter 7 · Fu Renyu and Kepler: Testable Sentences in Two Classics