What does The Commuting Paradox and Relocation conclude, in numbers, about “Closing the Loop: a Team Commuting Audit, a Siting Tool and a Pre-Registered Test”?
Answer: Chapter 8 gives a team commuting audit, the Site Time-Cost Calculator and a pre-registered test, and shows that a team of 40 can detect only differences above 0.532 points. Marked boxes separate published evidence, runnable Python calculations (19 programs), classical sources and the author's hypotheses.
Scope of the numbers: Its teams, sites, rents, pay and probabilities are illustrative; all calculations are generated by its programs; it is not individualised business, legal or financial advice. Marked boxes separate published evidence, runnable Python calculations (19 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: 0.532, 40
| delta | power | A per group | B people |
|---|---|---|---|
| 0.10 | 0.80 | 5,087 | 1,131 |
| 0.10 | 0.90 | 6,809 | 1,514 |
| 0.20 | 0.80 | 1,272 | 283 |
| 0.20 | 0.90 | 1,703 | 379 |
| 0.30 | 0.80 | 566 | 126 |
| 0.30 | 0.90 | 757 | 169 |
| design B with 40 people detects delta = 0.532 at power 0.80 |
Show the full program
# Chapter 8. p82: Sample sizes for the pre-registered test. Outcome:
# life satisfaction 0-10. Design A compares two independent groups
# (e.g. staff of a moved studio vs a comparison studio) with SD 1.8
# (illustrative): n per group = 2 * (z_a + z_b)^2 * SD^2 / delta^2.
# Design B follows the same people before and after a move with SD of
# the change 1.2 (illustrative): n = (z_a + z_b)^2 * SD_d^2 / delta^2.
# Two-sided alpha 0.05, power 0.80 and 0.90. Delta 0.10 is the p11 loss
# for 22 minutes; 0.20 is its loss for one hour.
import math
from statistics import NormalDist
ND = NormalDist()
ZA = ND.inv_cdf(0.975)
def n_two_groups(delta, sd, power):
z = ZA + ND.inv_cdf(power)
return math.ceil(2 * (z * sd / delta) ** 2)
def n_paired(delta, sd_d, power):
z = ZA + ND.inv_cdf(power)
return math.ceil((z * sd_d / delta) ** 2)
print("{:>6} {:>7} {:>12} {:>12}".format("delta", "power", "A per group",
"B people"))
for delta in (0.10, 0.20, 0.30):
for power in (0.80, 0.90):
print("{:>6.2f} {:>7.2f} {:>12,} {:>12,}".format(
delta, power, n_two_groups(delta, 1.8, power),
n_paired(delta, 1.2, power)))
print("design B with 40 people detects delta = {:.3f} at power 0.80".format(
(ZA + ND.inv_cdf(0.80)) * 1.2 / math.sqrt(40)))Single source and citation
Fan, Y. (2026). The Commuting Paradox, Compensating-Income Equations, Remote-Work Location Choice and the Foolish Old Man's Relocation Decision (Version 1.0.0), Chapter 8: Closing the Loop: a Team Commuting Audit, a Siting Tool and a Pre-Registered Test. 5D Library. DOI pending
DOI pending · monograph page goes live after publication · 5DL-B-204 · v1.0.0 · CC-BY-NC-ND-4.0
BibTeX
@book{fan2026204,
author = {Fan, Yafu},
title = {The Commuting Paradox, Compensating-Income Equations, Remote-Work Location Choice and the Foolish Old Man's Relocation Decision},
year = {2026},
publisher = {5D Library},
edition = {1.0.0},
note = {DOI pending}
}Other chapter answers in this book
- Chapter 1 · The Commuting Paradox: Where the Thirty-Five Per Cent Comes From
- Chapter 2 · The Case Against: Estimators, Sample Sizes and an Effect That Comes and Goes
- Chapter 3 · The Compensating-Variation Equation: the Price of Time, a Stress Term and Mispredicted Adaptation
- Chapter 4 · Siting a Studio: the Net Present Value of Rent and the Team's Commute
- Chapter 5 · Remote and Hybrid Work: the Marginal Arithmetic of Office Days
- Chapter 6 · Move or Commute: Real Options and the Value of Waiting
- Chapter 7 · The Foolish Old Man and Pascal: Moving Mountains, Moving House and Sitting in a Room