End of novel. Beginning of job.
Building and checking models
Advice
Introductory
That point at which you make the decision to stop thinking and start finishing.
What it is
The line comes from a book review by the critic John Clute: “End of novel. Beginning of job.” Gelman read the review decades ago and never forgot it. He applies it to research: “Just about every project we work on has that ‘crisis decision nexus.’ When do you stop playing hard—when do you switch into garbage time? When do you decide that you’ve learned enough and it’s time to write things up and tie up loose ends?”
Every project has a moment when you stop exploring and start finishing. You stop adding models, trying alternatives and chasing new questions, and start writing up, cleaning code and producing the deliverable. Before that point, the work is open-ended, like writing a novel. After it, it’s a job with a defined end. The skill is recognizing when to cross that line.
Why it matters
Analysts err in both directions. Some never stop thinking: there’s always another model, another robustness check, another dataset, and the project never ships. Others stop too soon and polish an analysis that hasn’t been thought through. Since the returns to more exploration diminish while the costs of delay keep growing, there is a sensible time to switch, and it is earlier than perfectionists like and later than the impatient like.
How it works
A toy model. The value of the analysis improves with thinking time \(t\) with diminishing returns, \(V(t) = V_{\max}(1 - e^{-t/\tau})\). Delay has a cost that grows linearly, \(c\,t\), through missed decisions, stale data and other projects not done. Net value \(V(t) - ct\) peaks at
\[ t^* = \tau \log\!\left(\frac{V_{\max}}{c\,\tau}\right), \]
which is the moment to put the novel down and start the job.
Simulated example
Vary how quickly further thinking pays off and how costly delay is. Find when to stop thinking and start finishing. There is no randomness in this model: it is a deterministic calculator, so the same settings always give the same answer and there is no random seed.
Show simulation code
The R version uses base R, and the Python version uses NumPy and Matplotlib. Where the simulation draws random numbers, each language draws its own, so exact numbers differ slightly but show the same pattern. The numbered markers in the R code are explained under it.
import {range, fmt} from "../js/stats.js"
viewof tau = Inputs.range([1, 20], {value: 6, step: 0.5, label: "Time scale of insight τ (weeks)"})
viewof cost = Inputs.range([0.5, 10], {value: 2, step: 0.25, label: "Cost of delay per week"})
novel = range(161).map(i => {
const t = i * 0.25, V = 100 * (1 - Math.exp(-t / tau));
return {t, value: V, net: V - cost * t};
})
tStar = Math.max(0, tau * Math.log(100 / (cost * tau)))
Plot.plot({
ariaLabel: "End of novel. Beginning of job.: simulation chart",
ariaDescription: "Horizontal axis: Weeks spent thinking before switching to finishing. Vertical axis: Value. The chart updates with the controls above it, and the summary below the charts states the result in words.",
height: 280,
x: {label: "Weeks spent thinking before switching to finishing"},
y: {label: "Value", grid: true},
color: {legend: true, domain: ["Value of the analysis", "Net value (minus cost of delay)"], range: ["#8a8a8a", "#2166ac"]},
marks: [
Plot.line(novel, {x: "t", y: "value", stroke: () => "Value of the analysis", strokeDasharray: "4 3"}),
Plot.line(novel, {x: "t", y: "net", stroke: () => "Net value (minus cost of delay)", strokeWidth: 2}),
Plot.ruleX([tStar], {stroke: "#d6604d", strokeWidth: 2}),
Plot.text([0], {x: tStar, y: 95, text: () => "end of novel", dx: 6, textAnchor: "start", fill: "#d6604d"})
]
})# End of novel. Beginning of job: when to stop thinking and start finishing.
1tau <- 6 # time scale of insight (weeks)
cost <- 2 # cost of delay per week
# Deterministic: no random numbers.
t <- seq(0, 40, by = 0.25)
2value <- 100 * (1 - exp(-t / tau)) # value of the analysis after t weeks
3net <- value - cost * t
4t_star <- max(0, tau * log(100 / (cost * tau))) # where gains = cost
cat("Stop thinking and start finishing after about ", round(t_star, 1),
" weeks,\nwhen the analysis has reached ",
round(100 * (1 - exp(-t_star / tau))), "% of its potential value\n",
sep = ""
)
5plot(t, value,
type = "l", lwd = 2, col = "#2166ac", ylim = range(net, 100),
xlab = "Weeks of thinking", ylab = "Value"
)
lines(t, net, lwd = 2, col = "#d6604d")
abline(v = t_star, lty = 2)
legend("bottomright", c("Value of the analysis", "Value minus cost of delay"),
col = c("#2166ac", "#d6604d"), lwd = 2, bty = "n"
)- 1
- The page’s controls: how quickly insight accumulates and what each week of delay costs. There is no seed: the model is deterministic.
- 2
- The value of the analysis after t weeks of thinking, with diminishing returns.
- 3
- The value net of the cost of delay.
- 4
- The moment to stop thinking and start finishing: when another week’s insight no longer pays for the delay.
- 5
- Both curves, with the stopping time dashed. The novel ends; the job begins.
# End of novel. Beginning of job: when to stop thinking and start finishing.
import numpy as np
import matplotlib.pyplot as plt
tau = 6 # time scale of insight (weeks)
cost = 2 # cost of delay per week
# Deterministic: no random numbers.
t = np.arange(0, 40.001, 0.25)
value = 100 * (1 - np.exp(-t / tau)) # value of the analysis after t weeks
net = value - cost * t
t_star = max(0, tau * np.log(100 / (cost * tau))) # where gains = cost
print(f"Stop thinking and start finishing after about {t_star:.1f} weeks,")
print(f"when the analysis has reached "
f"{100 * (1 - np.exp(-t_star / tau)):.0f}% of its potential value")
plt.plot(t, value, color="#2166ac", linewidth=2,
label="Value of the analysis")
plt.plot(t, net, color="#d6604d", linewidth=2,
label="Value minus cost of delay")
plt.axvline(t_star, color="black", linestyle="--")
plt.xlabel("Weeks of thinking")
plt.ylabel("Value")
plt.legend()
plt.show()Key takeaways
- Exploration has diminishing returns, and delay has growing costs.
- Decide on purpose when to stop thinking and start finishing.
- Not every remaining idea needs to go in this project. Write it down for the next one.
Source
- Andrew Gelman, End of novel. Beginning of job. (2020).