What does Habit Curves and the 21-Day Myth conclude, in numbers, about “Closing the Loop: a Flexible Sixty-Six-Day Cycle, the Habit Curve Fitter and a Pre-Registered Plan”?
Answer: Chapter 8 sets out a flexible 66-day cycle for paid communities (cumulative coverage 0.850 after four extension blocks), the distilled tool Habit Curve Fitter and a pre-registered falsification plan (28 curves passing the fit screen, about 59 people enrolled). Marked boxes separate published evidence, runnable Python calculations (19 programs), classical sources and the author's hypotheses.
Scope of the numbers: Its population parameters, forgetting rates and cue indices are illustrative; all calculations are generated by its programs; it is not medical or psychological advice, nor personalised business 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.850, 66
| cycle L reached, sigma 0.593 reached, sigma 0.973 | |
| 21 | 0.027 0.120 |
| 30 | 0.092 0.209 |
| 45 | 0.259 0.347 |
| 66 | 0.500 0.500 |
| 80 | 0.627 0.578 |
| 94 | 0.725 0.642 |
| 108 | 0.797 0.694 |
| sigma 0.593 | 80% covered by day 109, 90% by day 141 |
| sigma 0.973 | 80% covered by day 150, 90% by day 230 |
| flexible rule, sigma 0.593: blocks used per member | |
| done by day | 66 (base + 0 blocks): 0.500, new 0.500 |
| done by day | 80 (base + 1 blocks): 0.627, new 0.127 |
| done by day | 94 (base + 2 blocks): 0.725, new 0.097 |
| done by day 108 (base + 3 blocks) | 0.797, new 0.072 |
| done by day 122 (base + 4 blocks) | 0.850, new 0.053 |
Show the full program
# Chapter 8. p81: How long should a paid habit cycle be?
# Members' T95 is lognormal with median 66 and log-sd sigma (0.593 from
# p11; 0.973 from p12). For each cycle length L we print the share of
# members whose curve has reached 95 % of its plateau by the last day,
# i.e. the share a "you are done" message would describe correctly. Then
# the cycle length that covers 80 % and 90 % of members, and the flexible
# rule of this chapter: a 66-day base cycle that each member may extend in
# 14-day blocks until the fitted curve passes T95. Illustrative.
import math
from statistics import NormalDist
Z = NormalDist()
MED = 66.0
print(" cycle L reached, sigma 0.593 reached, sigma 0.973")
for L in (21, 30, 45, 66, 80, 94, 108):
a = Z.cdf(math.log(L / MED) / 0.593)
b = Z.cdf(math.log(L / MED) / 0.973)
print(" %7d %20.3f %20.3f" % (L, a, b))
print("")
for s in (0.593, 0.973):
q80 = MED * math.exp(s * Z.inv_cdf(0.8))
q90 = MED * math.exp(s * Z.inv_cdf(0.9))
print("sigma %.3f: 80%% covered by day %.0f, 90%% by day %.0f"
% (s, q80, q90))
print("")
print("flexible rule, sigma 0.593: blocks used per member")
prev = 0.0
for blocks in range(0, 5):
L = MED + 14 * blocks
cum = Z.cdf(math.log(L / MED) / 0.593)
print(" done by day %3d (base + %d blocks): %.3f, new %.3f"
% (L, blocks, cum, cum - prev))
prev = cumSingle source and citation
Fan, Y. (2026). Asymptotic Habit-Formation Curves, Debunking the 21-Day Myth and a Cue-Based Automaticity Index (Version 1.0.0), Chapter 8: Closing the Loop: a Flexible Sixty-Six-Day Cycle, the Habit Curve Fitter and a Pre-Registered Plan. 5D Library. DOI pending
DOI pending · monograph page goes live after publication · 5DL-B-197 · v1.0.0 · CC-BY-NC-ND-4.0
BibTeX
@book{fan2026197,
author = {Fan, Yafu},
title = {Asymptotic Habit-Formation Curves, Debunking the 21-Day Myth and a Cue-Based Automaticity Index},
year = {2026},
publisher = {5D Library},
edition = {1.0.0},
note = {DOI pending}
}Other chapter answers in this book
- Chapter 1 · Where Twenty-One Days Came From: Maltz's Minimum and Lally's Sixty-Six
- Chapter 2 · The Asymptotic Curve: Plateau, Gap, Rate and T95 in Closed Form
- Chapter 3 · A Standard-Library Fitter: Grid Search, Gauss-Newton, Screening Bias and Extrapolation Error
- Chapter 4 · The Missed Day: Absence Shocks, the Dose of Compliance and the Cost of Streak Resets
- Chapter 5 · A Cue-Based Automaticity Index: Cue Entropy, Time of Day and a Repetition Clock
- Chapter 6 · Scales, Noise and the Average Curve: SRHI, SRBAI and the Trap of Right Skew
- Chapter 7 · East and West in the Classics: "By Nature Near, by Practice Far" and Aristotle on Hexis