Thirty rows. That is the entire dataset, and it is not a sample of a bigger file —
30 rows is the dataset. Pielke & Landsea (1998), Table 8,
“Top 30 Damaging Hurricanes,” each loss normalized to 1995 dollars for inflation,
personal-property increase, and coastal-county population change. Transcribed from NOAA
AOML/HRD, byte-verified against the data_hub source, and bundled inside the study
directory so a bare clone reproduces every number.
| Property | Value |
|---|---|
| Rows × cols | 30 × 8 (6 source + 2 derived by prepare.py) |
| Target | damage_bn_1995 — mean 11.7499, sd 13.6251, range 2.266 – 72.303 bn |
| Fitting column | log_damage_usd = log(damage_bn_1995 × 1e9), range 21.541282 – 25.004131 nats |
| Missing cells | 0 of 240 |
| Prepared artifact | sha256 a0e6a5d9…62db8fd — byte-identical across re-runs, so prep is deterministic |
| Decision | GO-WITH-CAUTIONS — zero BLOCKERs |
Klein's standing war story is that dtype == "object" is a lie: pandas string
dtypes have silently broken that check before, so every column is audited by value,
never by dtype. All eight columns were checked that way: 0 sentinels
("", NA, null, ?, -,
unknown, -999, -1, 9999,
nan all absent), 0 string-encoded booleans, 0
numbers-in-strings, 0 mixed-type columns, 0 duplicate
rows.
The interesting result is a negative one. pre1925_flag is exactly the column
shaped like the classic trap — a flag that a careless export would have written as
"Yes"/"No" strings. Here it holds genuine integers 0/1, sums to 3,
and its three set bits are exactly and only the three year < 1925
rows (set equality verified). Recording that the trap is absent is worth as much as
catching it, because the next reader does not have to re-check.
Two more columns are exact by construction and were verified rather than assumed:
damage_usd = damage_bn_1995 × 1e9 and log_damage_usd both reproduce
to max|dev| 0.000e+00. The unit chain was pinned end-to-end because a
millions-versus-billions misread is not silently survivable:
mean(log_damage_usd) = 22.800182 equals the published MLE-lognormal
μ̂ = 22.8002, and sd(ddof=0) = 0.833868 equals σ̂ = 0.8339. A misread would have
placed μ̂ at 15.8924, off by log(1000) = 6.9078.
The leakage audit — run clean-room, in a fresh context, from study.yaml,
prepare.py, the prepared artifact and the estimator module only — returned
7/7 mechanized checks clean. But it flagged something that would be fatal in
a different study:
rankis a deterministic bijection of the target:rank == 31 − rankdata(damage)exactly, Spearman −1.000000. So aredamage_usdandlog_damage_usd. Four of eight columns are the target under different encodings.
Why that is a non-issue here. This is univariate loss-model fitting. There
is no feature matrix, no design matrix over covariates, and nothing to predict damage
from; the estimators consume log_damage_usd as a sample, via
sorted order statistics and a quantile grid. rank is precisely that sort order,
so it carries no information the sample does not already contain. Why it must
nevertheless be a standing rule: any model that regressed damage on rank would
recover an identity (R² = 1) and report a triumphant, meaningless fit. The rule adopted at the
data gate and honoured throughout: only log_damage_usd is consumed, and only
as the sample being fitted.
No BLOCKERs. Three WARNs, each carried verbatim into the findings and into this report, because each one constrains what may be said rather than what may be run.
“max = 72.303 is 2.185× the second-largest (33.094) … Parametric bootstrap at n = 30 puts σ̂ = 0.8339 in a 95% interval of [0.617, 1.034] — a ±25% relative sampling band on the single parameter that drives the tail.”
That single observation is 20.5% of total damage mass; the top three are 37.5%. Deleting
the maximum alone moves the mean −17.8% and the sd −44.7%. The consequence for
this report is a wording rule, stated in the data card and repeated wherever it can erode:
the declared 1.0 pp minimum_delta is “far smaller than the ±25% band on
the estimand — treat it as an ordering device between estimators on a fixed sample,
never as a claim about the population.”
“The largest of 30 sits at plotting position p = 0.9667 ≈ 1-in-30. Every 1-in-100 quantile is therefore pure parametric extrapolation … the fitted lognormal 1-in-100 (55.52 bn) is below the largest observation actually seen (72.303 bn) — the ‘100-year loss’ is an artifact of the assumed family, not a data-supported number.”
Sit with that sentence. The number a committee would act on is smaller than an event that has already happened, and that is not a bug in the fit — it is what a lognormal tail implies given these thirty points. The prescribed action was to word every return-level claim as family-conditional and report the GoF-passing families side by side with the empirical 1-in-30 anchor, never a single number as “the” answer. Section 5 does exactly that, and the spread across four fits that all pass the same goodness-of-fit test spans nearly six orders of magnitude.
“the same 30 observations underlie both the adaptive and the sealed evaluation … it establishes implementation fidelity + within-sample robustness, never out-of-sample generalization. Sampling error is fully common-mode between adaptive and sealed evaluation and the sealed test cannot detect it.”
The audit's own assessment was even-handed and is worth quoting in both directions. Strength: the targets are third-party numbers fixed in print before this study existed, unmovable by anything the study does, and adaptively unoverfittable because the contract confined adaptive work to Table 6.9 while the sealed target is Table 6.10 — a stronger anti-peeking guarantee than a random fold, which an analyst can in principle inspect. Weakness: if these 30 draws are unrepresentative, the adaptive and sealed evaluations are wrong together, identically, and the sealed test is blind to it. A residual soft coupling also remains — a specification tuned until it hits Table 6.9 has thereby made much of Table 6.10 predictable — which the design bounds but does not eliminate.
The “1925–1995” period label is a mislabel — and it is
load-bearing. Three rows fall outside that window: rank 3 (1900 Galveston, 26.619),
rank 4 (1915 Galveston, 22.602) and rank 22 (1919 S Texas, 5.368). They are 15.5% of
total damage and two of them are the #3 and #4 largest events in the
sample. The published Table 6.8 statistics reproduce only with them
included — which is exactly why R's extRemes::damage top-30, a
genuinely 1925–95 set, does not reproduce the thesis. A replicator who
“fixes” the period silently breaks the reproduction. pre1925_flag
identifies the three rows exactly, and prepare.py's identity gate makes
substituting the wrong 30-row set impossible to miss.
Two quantile conventions coexist in one thesis chapter. The data card
flagged this as a live methodological sensitivity, not a data defect, before any
model ran — and it is the seed of the whole detective story in section 4. The
descriptive Table 6.8 quartiles (q1 = 4.0560, q3 = 12.4340) reproduce only
under Hazen plotting positions; every alternative misses (normal_unbiased 0.0851,
median_unbiased 0.1134, linear 0.3280, weibull 0.3402,
inverted_cdf 0.6195). But the thesis's Chapter 2 defines the estimator's
empirical quantile as — NumPy's
inverted_cdf. The card's verdict: Hazen for the descriptive table,
for the estimators, exported as two separately named constants so the
two can never be confused.
With no partition and no predictor, the usual eval-harness sanity checks (constant and
shuffled predictors scoring at chance) are inapplicable. What replaces them is a
data-identity gate that prepare.py runs and that
train.py re-verifies on every single run before any fitting happens.
It checks 8 published Table-6.8 statistics plus 4 MLE-anchor scalars — 12 quantities —
and it was re-run live for the audit:
n 0.00e+00 · min 0.00e+00 · q1 0.00e+00 · q2 8.88e-16 · q3 0.00e+00
max 0.00e+00 · mean 3.33e-05 · std_dev 2.82e-05
mle_lognormal_original μ 22.8002 / σ 0.8339 — both exact at 0.00e+00
mle_lognormal_modified μ 22.8769 / σ 1.0975 — both exact at 0.00e+00
That single gate pins four things at once: the sample (this is the AOML
Table 8 top-30, not extRemes::damage and not the annual aggregate series),
the period trap, the quantile convention used for the
descriptive table, and the ×1e9 unit chain. Everything downstream rests on
it, which is why section 6 argues it belongs inside the per-run code path rather than in a
one-off setup script.