What does Habit Curves and the 21-Day Myth conclude, in numbers, about “The Missed Day: Absence Shocks, the Dose of Compliance and the Cost of Streak Resets”?
Answer: Chapter 4 shows that one missed day delays T95 by only two or three days, while a rule of 66 days in a row implies an average wait of 10,461.1 days at a compliance of nine in ten.
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: 66, 95
| daily step k = 0.04214, slide d = 0.00421, base T95 = 66 days | ||||
| pattern | T95 | delay | largest gap | gap on |
| days | (points) | day 84 | ||
| miss day 10 | 68 | 2 | 0.90 | 0.04 |
| miss day 30 | 68 | 2 | 0.45 | 0.04 |
| miss day 60 | 69 | 3 | 0.22 | 0.08 |
| miss days 30-36 (a week) | 75 | 9 | 2.86 | 0.36 |
| miss every 7th day | 83 | 17 | 1.87 | 1.00 |
| miss days 1-3 | 69 | 3 | 3.64 | 0.11 |
Show the full program
# Chapter 4. p41: What one missed day does to the curve.
# Daily model: on a day the behaviour is done, A += k (a - A); on a day it
# is missed, A -= d (A - s), a slide back toward the start s. k is the
# daily step equal to 1 - exp(-c) with c from T95 = 66 (p21), so a person
# who never misses reaches 95 % of a on day 66. d = k / 10 is the author's
# illustrative forgetting rate (Lally et al. 2010 report that one missed
# opportunity did not materially affect the process; d is chosen small).
import math
A, S = 35.0, 5.0
C = math.log(20 * (A - S) / A) / 66.0
K = 1.0 - math.exp(-C)
D = K / 10.0
def run(missed, days=400):
x, path, hit = S, [], None
for t in range(1, days + 1):
if t in missed:
x -= D * (x - S)
else:
x += K * (A - x)
path.append(x)
if hit is None and x >= 0.95 * A:
hit = t
return path, hit
base, t0 = run(set())
print("daily step k = %.5f, slide d = %.5f, base T95 = %d days"
% (K, D, t0))
print("")
print(" pattern T95 delay largest gap gap on")
print(" days (points) day 84")
plans = [
("miss day 10", {10}),
("miss day 30", {30}),
("miss day 60", {60}),
("miss days 30-36 (a week)", set(range(30, 37))),
("miss every 7th day", set(range(7, 401, 7))),
("miss days 1-3", {1, 2, 3}),
]
for name, miss in plans:
p, t = run(miss)
gap = max(b - q for b, q in zip(base, p))
print(" %-26s %4d %5d %11.2f %6.2f"
% (name, t, t - t0, gap, base[83] - p[83]))Single 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 4: The Missed Day: Absence Shocks, the Dose of Compliance and the Cost of Streak Resets. 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 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
- Chapter 8 · Closing the Loop: a Flexible Sixty-Six-Day Cycle, the Habit Curve Fitter and a Pre-Registered Plan