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
patternT95delaylargest gapgap on
days(points)day 84
miss day 106820.900.04
miss day 306820.450.04
miss day 606930.220.08
miss days 30-36 (a week)7592.860.36
miss every 7th day83171.871.00
miss days 1-36933.640.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