Skip to content

Format the manuscript to IJM's submission guidelines - #13

Merged
juaristi22 merged 47 commits into
mainfrom
ijm-formatting
Nov 24, 2026
Merged

juaristi22 merged 47 commits into
mainfrom
ijm-formatting

Conversation

@juaristi22

@juaristi22 juaristi22 commented Nov 14, 2026 •

Copy link
Copy Markdown
Collaborator

What this does

The formatting items of section 6 of the submission checklist (#8), against the journal's submission guidelines as read on 14 November 2026. No number, table cell or claim changes.

References in APA style. The reference list and the citations now come from apacite; natbib still supplies \citep and \citet. apacite has to be loaded before natbib, and the Pandoc template loads natbib in the preamble, so a two-line class (paper/ijmarticle.cls) loads it first.

Floats. IJM asks for the label on the line above the float, text and numbers inside in Arial or similar at 10 pt, sources and notes immediately below, and landscape where a float needs more width.

  • Every float has a short title above it ("Table 2: Wealth imputation within the SCF").
  • What the captions used to explain is now a note below the float, written to stand without the text, and each note names its source.
  • Float text is a Helvetica clone at 10 pt. Nothing is scaled: each float was measured against its page.
  • At 10 pt every table but one, and the schematic, is wider than the page. Each sits on a landscape page of its own, right after the page that first mentions it.
  • Table 3 (CPS components) becomes two panels, interest above dividends, on a portrait page. Side by side they were wider than a landscape page.
  • The three verdict tables of the appendix run to two landscape pages each and repeat their header.

Equations. The two displayed equations are numbered.

Appendix. It follows the references and is numbered A.1.

Keywords. The abstract lists four, IJM's limit. "microsimulation" is dropped: it is in the title and in the journal's name.

Typewriter text. Package names, file names and URLs are set in Latin Modern Typewriter, an outline font. paper/ijm.sty asked for Computer Modern Typewriter, which pdfTeX embeds as a 600 dpi bitmap where the cm-super fonts are not installed. That was so on 27 of this PDF's 51 pages, and on 13 of the 25 on main. The design is the same and the type is slightly heavier.

Generated tables. imp tables and imp replication change in three small ways to fit the 10 pt font: the nearest-neighbour hot deck's row label drops "(py-statmatch)", the CPS table is written as two files, and the verdict tables take their widths from \linewidth, set their cells ragged right, and mark where their header ends.

What it looks like

  • The PDF grows from 41 to 51 pages.
  • The schematic's text is 10 pt sans serif throughout, and its boxes are respaced to fit a landscape page.

Not in this PR: the authors' calls

  • The schematic. IJM bars generative AI from creating or altering figures unless the Editor authorizes it. This PR changes the schematic's fonts and spacing, so the question of how the figure was made now includes this edit. A figure redrawn by an author would settle it.
  • Statements. Use of generative AI (compulsory, with model and version in the Methods where it was part of the research), funding, the author list and order, and whether the conflict-of-interest statement covers py-statmatch.
  • Where the original 2022 SCF file is deposited.

Smaller notes

  • The PDFs first pushed with this PR printed three source comments as a paragraph above the reference list (page 34). index.qmd is read as Markdown, where a line that starts with a percent sign is text. Fixed in ff8194a, and tests/test_manuscript_sources.py now fails on such a line.
  • apacite implements the sixth edition of APA. IJM does not name an edition. BibTeX warns that three report entries have no publisher address.
  • Run-in paragraph headings (in Section 3.4 and the appendix) stay unnumbered. IJM's rule on numbered headings is read here as applying to section headings.
  • A TeX distribution without apacite, caption, pdflscape, afterpage and longtable needs them installed. Quarto's TinyTeX fetches missing packages on the first build. The README says so.

Checks

  • CI=true uv run pytest: 151 passed, 1 skipped. ruff check . is clean.
  • quarto render paper/index.qmd --to pdf builds with no overfull lines. The LaTeX log has five warnings, and none changes the layout: small capitals inside italics fall back to upright small capitals in two places, and caption ignores hypcap for the titles of the three verdict tables.
  • Every font in the PDF is an outline font. A scan of every page's text for leaked source finds none.
  • Every float page was rendered and read, and the five with typewriter text again after the font change. Floats appear in order, on the pages they had before it: Table 1, Figure 1, Tables 2 to 14.

Order

Stacked on #6, #9, #10, #11 and #12. This PR's own changes: compare against #12's head. Merge in that order, with merge commits. It touches every float, so it is best merged last.

🤖 Generated with Claude Code

MaxGhenis and others added 30 commits October 9, 2026 20:46
The Fed released the 2025 SCF on 2026-10-09. This fixes, before any method
is fit on it, which of the paper's SCF findings count as replicated and by
what rule: paired-seed sign rules for the within-SCF task, the sampling
floor's seed sd as the noise unit for the population view, a factor-of-two
band on stated effect sizes, and a Spearman rule for method rankings.

Also records what a schema-only look at the new files found: all 17 used
columns survive; race folds the Middle Eastern code into class 1; and the
Fed re-issued the 2022 extract in 2025 dollars at the same URL, so a
cold-cache load no longer reproduces the paper's inputs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ep and harness

The Fed replaced scfp2022s.zip on 2026-10-09 with a copy re-based to 2025
dollars, so a cold-cache load_scf(2022) no longer returned the paper's
inputs. The loader now accepts only registered files (SHA-256 -> wave and
dollar basis) and returns a stated basis, re-basing with the Fed's CPI-U-RS
factors when the cached file is on another one. On the file the paper used
the returned frames are bit-identical to before.

imp sweep and imp harness take --scf-year and --scf-dollar-year, record the
input file's hash and basis in manifest.json, and default non-2022 harness
runs to their own run directory.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
experiments/replication.py encodes the rules of
docs/scf-2025-replication-criteria.md: paired-seed difference and tie rules,
the sampling floor's seed sd as the population-view noise unit, the
factor-of-two magnitude band, and the Spearman ranking rule. imp replication
applies them to the committed runs and writes the comparison document, its
CSVs, the appendix's verdict table, and a macro file for every number the
appendix cites. imp scf-checks checks weights, the balance-sheet identity,
and the Fed's Table 2 on both waves.

Tests pin the criteria file's hash, its findings and 2022 statuses, and the
rules' invariants (sign antisymmetry, tie symmetry, unit and seed-label
invariance, self-comparison) with Hypothesis; the loader tests run offline on
a synthetic registered extract; test_data.py adds the 2025 weight-total,
identity, and Table 2 checks.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Arm B (runs/*-2025): the three SCF experiments with the SCF 2025 donor, same
code, lockfile, seeds, and receiver files as the paper's 2022 runs.
Arm D (runs/*-2022-rerun): the 2022 experiments rerun in the same
environment; all 3,900 metric rows are identical to the committed runs.
Arm C (runs/*-2022-in-2025-dollars): the 2022 wave on the Fed's 2025-dollar
basis.
runs/scf-population-checks: weight totals, the balance-sheet identity, and
all-family net worth against the Fed's Table 2, both waves.
runs/scf-hotdeck-reuse: aggregate donor-reuse statistics for the hot-deck
matches of both profiles and waves; recomputed q99 ratios match the harness
runs to 1e-16.

All new runs used OMP_NUM_THREADS=1. No run was skipped or capped
differently from the paper's.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Verdicts under the pre-registered rules (docs/scf-2025-replication-criteria.md):
of 8 primary findings, 6 replicated and 2 were inconclusive; of 19 secondary,
10 replicated, 2 replicated in direction with a smaller effect, 2 were
inconclusive, and 5 did not replicate.

Replicated: the weighting result (unweighted is 4.3 times worse on net-worth
W1 within the SCF, 6.1 in 2022; its imputed net-worth q99 is 1.8 times the
holdout's in both profiles), chaining binding only at scale (4.9 AUC points),
and the classifier's separation of the unconditional marginal draw.

Not replicated: hot deck's tail at scale (q99 ratio 2.85 against 0.75 in
2022; one reused donor above the holdout's q99 carries 1.4 to 2.7 percent of
receiver weight on 8 of 10 seeds), the candidate as lowest-AUC method at
scale, unchaining leaving the tail unchanged, and the 2022 tie between gated
and ungated forests on SCF debt zero share.

Also in this commit:
- judge() applies the criteria file's cap: a claim the 2022 runs do not
  themselves meet is at best inconclusive (W3c met its rule in 2025 only).
- imp hotdeck-reuse and experiments/donor_reuse.py: the aggregate
  donor-reuse diagnostic, with property tests.
- A units diagnostic: within the SCF, re-basing dollars leaves OLS and the
  marginal draw unchanged and moves forest-based W1 means by up to 7.3%.
- paper/sections/appendix_scf2025.tex: draft appendix; every number is a
  generated macro and a test rejects hand-typed ones.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…n W7

Review (GPT-6.1 Sol, ~/reviews/imputation-paper-scf2025/review-1.md):
- Donor reuse: the sufficient condition needs a one-receiver margin under
  the harness's interpolating quantile. Stated correctly in the appendix,
  the report, and the docstring; the margin is recorded per run and the test
  uses it. All nine inflated seeds still satisfy it.
- Loader round-trip property: exclude subnormal floats.
- Level rules (W3a, W5, W7, F3c) compare values, not names, so a tie at the
  extremum counts for the claimed method. No committed verdict changes.
- Appendix: dollar levels in the verdict tables are in each wave's own
  dollars; the sentence that said otherwise is corrected.
- New differential test: the Fed's re-issued 2022 file against our
  re-basing of the original (agree to 1e-9; a cold cache reproduces the
  paper's inputs).

Pinball weighting (imp pinball-weighting, runs/scf-pinball-weighting):
weighted_pinball_loss reads the imputed quantiles unweighted and scores them
against weighted truth. With the quantiles read under receiver weights the
marginal draw's net-worth loss is below the candidate's on 4 of 10 seeds in
both waves, not 10, so W7 (the marginal draw has the best pinball loss) is a
property of the metric. The appendix and the report say so; the paper's
metric and tables are unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The mean-rank column ranked nine methods, including the microimpute_qrf
row that the tables hide as a duplicate of plain_qrf, so eight printed
rows carried ranks up to 8.83. Rank after dropping the hidden row and
regenerate openml.tex. No other table changes.

New mean ranks: unweighted 3.00, marginal draw 3.17, full estimator,
unchained and hot deck 3.50, forest baseline 4.50, quantile regression
7.00, OLS 7.83. The unconditional marginal draw is now second, not
best, so the results paragraph and the discussion say so. The caption
states that ranks are among the eight methods shown.

Adds tests/test_tables.py, which fails on the old ranking.

Part of #8.

Co-Authored-By: Claude <noreply@anthropic.com>
Each change brings a sentence into line with a committed run or table.
No number in any table changes.

- "+534 dividend W1" is 308.65 in the ablations table.
- The q99 passages said donation-based draws sit near 1 and called it
  an advantage of hot deck. Hot deck's net-worth q99 ratio is 0.76 and
  0.75; the draw near 1 is the unconditional marginal draw. The text
  now reports the three and says the cause is not isolated. "Donation
  preserves marginals and tails by construction" is dropped.
- "Closest to the floor": the unweighted ablation is closer in both
  profiles (0.731 and 0.754).
- "None of them hurts where it does not help": the unweighted ablation
  is ahead on SCF debt zero share (0.012 against 0.020) and on the
  OpenML mean rank.
- The marginal draw "ties or beats every method on marginal metrics":
  on SCF net-worth W1 the full estimator's mean is lower (135,871
  against 215,398). Now "at or near the top".
- The weighting effect is "larger than the gap to any competing
  method": OLS's gap is larger. Now "every competing method except
  OLS".
- The text and captions say what the runs used: 20,000 receiver
  households of 55,762 and 168,852, 20,000 of 108,044 CPS adults, and
  two OpenML datasets capped at 20,000 rows.
- The CPS zero shares were unweighted (41.7 and 85.2 percent) and
  "most adults" did not fit 41.7. Now the weighted shares, 41.7 and
  84.7.

Part of #8.

Co-Authored-By: Claude <noreply@anthropic.com>
Table 1 called the microimpute QRF row an "ungated/unchained forest"
that "differs from the full estimator only in gating and chaining".
At microimpute 1.15.1 the row is chained (each target conditions on the
targets already imputed), draws each value from a ten-level conditional
quantile grid at a randomly chosen index (the lowest and highest levels
25 and 21 percent of the time under the paper's level sampling), and
runs on a fixed internal seed. It is a baseline as shipped, not a
knockout.

- Table 1, its caption and the knockout paragraph say so. The row is
  labelled "QRF (microimpute)" in every generated table and is no
  longer indented as an ablation; the ablations table's third column is
  captioned as a comparison.
- The gating claims are reworded as comparisons with that baseline:
  the abstract's "0.6 against 4.4 for the same forest ungated", the 5.6
  AUC points credited to gating at scale, "gating carries the load" and
  the conclusion's sentence. The text now says no gates-off arm is run.
- Limitations: the forest baseline's seed is fixed (the text said its
  randomness was not seedable and added forest noise), and the 99-level
  grid applies to OLS and quantile regression only.
- Hot deck: Table 1 said its weights "inform matching". In py-statmatch
  unconstrained nnd_hotdeck picks the nearest donor; donor weights only
  standardize the matching variables. The SCF comparison is qualified.
- "Weighting is approximately free" on the CPS task now quotes its
  largest delta (+36 dividend W1, inside its seed spread).
- Registry, its test and PLAN.md: plain_qrf is a baseline, with the
  reason. Keys and run artifacts are unchanged; only labels move in the
  tables.

Part of #8.

Co-Authored-By: Claude <noreply@anthropic.com>
Pinball loss. The text said it scores "conditional distributional
calibration" and is minimized when each predicted quantile is the true
conditional quantile. The code reads the quantiles of each method's
pooled draw with np.quantile, every receiver row counted once, and
scores them against the weighted held-out values. The metric section
now says that: a marginal score, read without receiver weights. The
results paragraph no longer calls the marginal draw's pinball lead "not
an artifact" or the motivating observation for the harness; it explains
why that column favours a draw centred on the weighted population.

Coverage. Invariance to reweighting holds for the definition. The code
first reduces any sample over 2,048 points by a weight-proportional
resample, and the candidate always is, so the text adds that caveat and
the introduction and conclusion claim the property by definition only.

No code and no number changes. The weighted-read figures from
#6 can be cited once that PR is in.

Part of #8.

Co-Authored-By: Claude <noreply@anthropic.com>
Pin. The methods extra pinned 71b5a83, the head commit of
PolicyEngine/microcosm#290. That PR was squash-merged, so the commit is
not in main's history. Repoint to the squash, b538d8a4, whose
populace-fit and populace-frame trees are byte-identical. `uv lock`
changed the four lines that carry the commit and the lockfile revision
(3 to 5, written by uv 0.13). Checked in a scratch environment built
from the new lockfile: the full estimator and both ablations draw
identical values to the old pin in 24 of 24 cells (SCF wealth, CPS
components, abalone, minimal population view; seeds 0 and 1), and every
metric equals the committed one.

Availability statement.
- microimpute "1.1.2" is 1.15.1 (the lockfile's version; 1.1.2 is that
  release's stale __version__ string). PLAN.md says the same.
- States that the estimator installs on its own as a Git dependency and
  is not on PyPI; the README gains the one-line uv command for the
  pinned commit and for the current package, both tested.
- Lists every input with its access status: SCF 2022, the ASEC bundles
  for 2023, 2024 and 2025 (the text named 2025 only) and the OpenML
  datasets.
- Says the Federal Reserve replaced the 2022 SCF extract at its address
  on 9 October 2026 (re-based to 2025 dollars, per
  #6), so "read directly from their
  agencies of origin" no longer holds for it.

Left as a source comment: where the original SCF file is deposited, and
the ASEC 2023 and 2024 hashes. The hash-registered loader is in
#6.

Part of #8.

Co-Authored-By: Claude <noreply@anthropic.com>
Every experiment uses the gate's probabilities as fitted on the
training rows: the only behaviour at the evaluated version and still
the default. Later versions of the package add an opt-in out-of-fold
calibration because such a gate can be overconfident on a rare sign
class (PolicyEngine/microcosm#1391). Section 3.1 now says so, and says
the tasks here contain no rare sign class on which the methods differ,
so that behaviour is not evaluated. #7
would evaluate it.

Part of #8.

Co-Authored-By: Claude <noreply@anthropic.com>
- Chained imputation cited Raghunathan, Reiter and Rubin (2003), which
  is on disclosure limitation. Now Raghunathan, Lepkowski, Van Hoewyk
  and Solenberger (2001), Survey Methodology 27(1).
- dorazio2021statistical (Journal of Statistical Software 98(1)) does
  not exist: that issue is another article. py-statmatch now cites the
  R package it ports (D'Orazio, StatMatch 1.4.3, CRAN, with DOI), and
  the introduction cites D'Orazio, Di Zio and Scanu (2006) for the
  method.
- meinfelder2011simulation (CSDA 55(12)) has no match in Crossref.
  Removed; its sentence keeps D'Orazio, Di Zio and Scanu (2006).
- von Hippel: the 2007 working paper becomes the article, Sociological
  Methods & Research 42(1), 2013.
- quantile-forest: the documentation site becomes Johnson (2024),
  Journal of Open Source Software 9(93), 5976.
- Two uncited claims are cut: "reviews of the field note the absence of
  a standard benchmark", and "common practice" in the abstract.
- The eleven entries nothing cites are removed, and a techreport's
  publisher field becomes institution (BibTeX warned about it).

The registry's citation keys follow, and a test now checks that every
key the registry cites is defined in the .bib.

Part of #8.

Co-Authored-By: Claude <noreply@anthropic.com>
Built with `quarto render paper/index.qmd --to pdf` from the seven
commits before this one. 27 pages; no undefined references or
citations.

Part of #8.

Co-Authored-By: Claude <noreply@anthropic.com>
The results said weighting "matters little" on the CPS components task
because its largest delta is smaller than its spread across seeds, and
the discussion still called it "approximately free". The paired delta
is 36 on dividend W1, against 102 for the full estimator, and the
unweighted fit is worse on eight of the ten seeds; the other CPS
metrics are within seed noise. Both passages now say that.

The manuscript spells behavior, centered and favors the American way;
four words added in earlier commits did not.

Part of #8.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
CI has failed on this branch since 46b5210.
test_committed_report_and_tables_are_current regenerates
docs/scf-2025-replication/ on CI's Linux runner and compares it byte
for byte with the copy written on macOS. The CSVs there carry
full-precision floats, and a mean over seeds in headline_numbers.csv
comes out one digit apart in its last place (176625.49660906277 against
...06274). The suite passes on macOS.

The test now compares the five CSVs as tables: same columns and rows,
text, integer and boolean cells identical, floats equal to 1e-9.
comparison.md, the tables and the appendix inputs print rounded numbers
and are still compared byte for byte. The test also checks that the
regenerated and committed file sets are the same. A second test checks
the comparison itself: it passes last-place noise and fails a changed
number, a changed word and a dropped row.

No committed output and no generating code changes.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
The merge of #2 brings its `imp tables`
labels, so the full estimator's row reads "microcosm-fit". The three
2025 tables were written before that and still read "populace-fit",
which fails test_committed_report_and_tables_are_current.

`imp replication` and `imp tables` rewrite one row label in each of the
three tables. No number moves, and nothing under
docs/scf-2025-replication/ changes: the report keeps the names the
frozen criteria file uses.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Brings in #6 as updated to sit on #2 (its regeneration test compares
the full-precision CSVs as tables, and its 2025 tables carry #2's
labels), so this branch is the stack #2, #6, fixes.

One conflict, in references.bib: #6 adds the two Federal Reserve 2025
entries next to barcelo2006imputation, which the fixes removed as
uncited. Resolved by keeping the removal and both additions. All 40
entries are cited and every citation is defined.

README.md, data.tex, pyproject.toml, uv.lock and cli/tables.py merged
without conflict. The lockfile keeps the repointed estimator pin and
gains #6's hypothesis.

The 2025 tables are regenerated in the next commit.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
… there

With #6 merged in, `imp tables` writes its three 2025 tables with this
branch's row label for microimpute's forest, "QRF (microimpute)"
instead of "ungated/unchained forest". One row label changes in each
table and no number moves. Nothing under docs/scf-2025-replication/
changes: the report keeps the wording of the frozen criteria file.

Two places the rename in #2 could not reach because they did not exist
yet: the 2025 scale table's generated-by note and the appendix's two
mentions of the profile now say "production scale", as the body does.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Built with `quarto render paper/index.qmd --to pdf`. With the SCF 2025
appendix from #6 it is 36 pages; no
undefined reference or citation.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…ling

The background said only that the model-based and design-based
traditions treat weights differently, and claimed the combination of
weight-aware forests, gating and chaining as the paper's gap. It did
not say that undoing an unequal-probability design by resampling is an
established device, which is what the estimator's weighted bootstrap
does.

Section 2.3 now cites it: Reiter, Raghunathan and Kinney (2006) on the
bias from ignoring the design in imputation; inverse sampling (Hinkins,
Oh and Scheuren, 1997); the weighted finite population Bayesian
bootstrap (Dong, Elliott and Raghunathan, 2014) and its use as the
first step of imputation (Zhou, Elliott and Raghunathan, 2016). It
describes the weighted bootstrap as a simple relative of these, one
resample per forest with none of their inferential machinery, and says
that weighting by resampling is not new. The novelty sentence now
claims the combination and the weighted-by-default interface only.
Section 3.1 points back to it.

Each reference was checked against the publisher: the three Survey
Methodology papers against Statistics Canada's own pages and PDFs, the
Biometrics paper against Crossref.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…ghts

Six methods join the registry. None changes an existing method or run.

Gates off (populace_fit_ungated, populace_fit_ungated_unchained). The
pinned estimator already fits a target with a single sign class through
one forest and no gate. The arm shifts each target with more than one
class to be strictly positive before the fit, so the estimator takes
that path with its own weighted bootstrap, forest and draw, and shifts
the draws back. A target that already has one class is left alone, so
there the arm is the full estimator. The fit is checked to have built
no gate. Run chained and unchained, this completes the gated-by-chained
design that microimpute's QRF was once taken to supply.

Derived net worth (populace_fit_derived, populace_fit_unchained_derived;
a new "variant" category). Where the targets hold the SCF balance
sheet, the arm models fin, nfin and debt and sets networth by the
identity, which then holds on every drawn row. Elsewhere it raises
NotImplementedError, which the sweeps record as a skip.

Hot decks (statmatch_rand_hotdeck, statmatch_constrained_hotdeck), both
from the pinned py-statmatch on the distance the nearest-neighbour arm
uses. The first is StatMatch's RANDwNND: one donor among the
ceil(sqrt(n)) nearest, drawn in proportion to its weight. It draws from
numpy's global generator, so the adapter seeds it and restores the
state. The second caps how many receivers a donor serves. Its dense
assignment problem took 13 minutes and 6 GB for one split of the
minimal population view, so above 100 million cells it refuses and the
sweep records the skip.

Tables. A method added after a task's first sweep is run into
runs/<name>-added-arms/, and `imp tables` reads the two directories
together. Rows they share (the methods re-run as controls) must be
identical and the added methods must cover the same seeds, so a table
is written only if the added arms saw the same data, splits and
environment.

Tests cover the shift, the no-gate check, equality with the full
estimator on a single-sign target, the identity, the skips, weighted
donor choice, the cap, and the merge. The reproducibility test now
asserts that microimpute's QRF repeats exactly.

Part of the optional improvements listed with
#8 (items 1, 2 and 4).

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…ion view

Ten seeds each, one thread, on the paper's cached inputs: SCF wealth,
CPS components, the six OpenML tasks and the minimal population view.
Each run also re-runs the full estimator, the marginal draw and the
nearest-neighbour hot deck; their rows equal the committed runs' rows
exactly, which `imp tables` checks on every read.

Recorded skips: the derived-net-worth arms on every task here (none has
the four balance-sheet columns), and the constrained hot deck on the
population view (over its size limit).

Tables regenerated. Work in progress: the production-scale profile and
the 2025 wave are not run yet, and the text does not discuss the new
rows.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Four more added-arms runs, ten seeds each, on the inputs of the committed
runs: the production-scale population view (pooled ASEC 2023-2025
receiver), and the three SCF 2025 runs (wealth task, minimal and
production-scale views). The rows the new directories share with the
committed runs are identical (720, 300, 480 and 720 rows), which
`imp tables` checks on every build.

The derived-net-worth variants run here for the first time: only the
production-scale profile has the four balance-sheet targets. The
constrained hot deck is skipped on the population view, with the reason
in skipped.csv.

Tables:
- Ablations: one delta column per knockout (weights, chaining, gates,
  gates and chaining). The microimpute column goes: it is a baseline, not
  a knockout.
- OpenML: an unchained row that equals its chained twin on every dataset
  is left out, so a single-target task does not count one method twice in
  the mean rank.
- CPS components: Wasserstein-1 columns for both targets, which is where
  the hot decks differ.

Tests cover the ablation columns, the twin rule, and why a forest that
pools leaf samples overstates an atom at zero.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Table 1 lists the 14 methods the paper reports. Section 3.2 says how
the gates are switched off (the estimator's own single-sign path), what
the net-worth-derived variants do, and how the three hot decks differ.

What the new arms change in the text:

- Gating now has its own knockout. With the gates off the estimator
  misses the CPS dividend zero share by 7.2 points instead of 0.6 and
  the SCF debt zero share by 7.2 instead of 2.0. On the population
  view's joint scores every gates-off row is within one floor standard
  deviation of its gated counterpart.
- Most of the 5.8 AUC points that unchaining costs at production scale
  is the accounting identity. Three independently imputed components
  with net worth computed from them score 0.756 against the full
  estimator's 0.761; chaining those three adds 1.2 points (0.744).
- The full estimator's large margin over nearest-neighbour matching
  within the SCF is not a margin over matching as such. A hot deck that
  draws among near donors in proportion to weight scores 172,984 on
  net-worth W1 against 135,871 and 509,013. On the population view that
  hot deck is the weaker of the two, and the estimator's AUC margin over
  both is of the order of one floor standard deviation.

Also corrected against the new rows: the debt zero-mass sentence (the
gates-off ablations sit at 7 percent, not "at most 2"), and the CPS
hot-deck sentence (there the constrained hot deck closes the gap too,
so the nearest-donor rule loses to donor reuse, not weight-blindness).

Appendix: a sentence in Rules says that "the ungated forest" in the
frozen criteria is the microimpute forest and not the gates-off
ablation; "Arms added later" says the added rows are outside the
pre-registered rules and gives the gates-off reading of G1.

Abstract: 248 words.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
40 pages, from `quarto render paper/index.qmd --to pdf`.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
juaristi22 and others added 17 commits November 14, 2026 12:36
The weighted random hot deck differs from the nearest-neighbour one in
two ways: it draws among near donors, and it uses the donor weights in
that draw. `statmatch_rand_hotdeck_unweighted` is the same draw with
every near donor equally likely, so the pair separates what the weights
contribute from what the draw does.

Under equal donor weights the two draws are the same draw, which a test
pins. The OpenML tasks have uniform weights, so the OpenML table prints
the pair as one row, as it already does for an unchained arm and its
chained twin, after checking that the rows are equal.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
All thirteen added-arms runs are repeated with the control appended as
the last method. Every row the runs already held is unchanged: the
diffs add the control's rows and its name in each manifest, and delete
nothing.

Within the SCF the control's net-worth W1 is 1,033,450, against 172,984
for the weighted draw and 509,013 for the nearest donor (2025: 370,133,
198,962 and 434,090). On the CPS components it is 125 and 299 for
dividends and interest, against 107 and 232 weighted and 227 and 760
nearest. On the population view its AUC is within 0.6 points of the
weighted draw's and its net-worth q99 ratio is about twice as high.

The OpenML table is unchanged: there the control equals the weighted
draw on every dataset and is printed once.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Table 1 gains the control's row (15 rows), and Section 3.2 says what it
is: the weighted random hot deck's draw with the weights left out, a
control and not a recommendation.

With the control in the tables, the text can say which of the two
differences from the nearest-neighbour hot deck does the work:

- Within the SCF it is the weights. The same draw without them closes
  none of the gap on net worth, so the full estimator's margin over
  nearest-neighbour matching is a margin over weight-blind donor choice.
- On the CPS components, whose weights carry little outcome
  information, it is the draw: all three alternatives to the nearest
  donor match the full estimator within seed noise.
- On the population view the higher AUC comes with the draw (0.764 and
  0.782 without the weights, 0.761 and 0.777 with them, 0.753 and 0.768
  for the nearest donor), and the weights lower the imputed tail (q99
  ratios of 1.08 and 1.57 without them, 0.52 and 0.60 with them).

The discussion's comparison of the weighting effect with the gap to
"every competing method except OLS" now also excepts the control, whose
net-worth W1 gap is larger.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
40 pages, from `quarto render paper/index.qmd --to pdf`.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Arm C of the 2025 replication reruns the 2022 wave with the donor's
dollar columns re-based to 2025 dollars and nothing else changed.
`imp replication` already computes every headline number for it; the
macro file now carries them as `\rep{<key>:rebased}`, so the appendix
can cite that arm without a number typed by hand.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Section 4 of the submission checklist (#8). Five body statements hold
on the 2022 wave only. Each now says what the 2025 wave shows, with
numbers from the appendix tables:

- The unweighted tail W1/sd is "five times" the full estimator's: 3.1
  and 1.7 times on 2025, with the q99 inflation still there (1.79 and
  1.78).
- Unchaining leaves "every marginal and tail statistic essentially
  unchanged": on 2025 the unchained net-worth W1/sd is 0.062 against
  0.048.
- The full estimator stays within two points of the lowest AUC: 0.7 and
  2.5 points on 2025.
- Hot deck's donated values "slightly beat" the estimator on tail W1 at
  scale: on 2025 donor reuse inflates its tail (W1/sd 0.103 against
  0.048, q99 ratio 2.85).
- The nearest-neighbour hot deck "shows the same shortfall" at q99: on
  2025 its ratios are 1.10 and 2.85.

Section 5.5 gains a paragraph with the replication's verdict counts,
read from the generated macros.

The checklist also asks why the estimator's net-worth q90 ratio at
scale falls from 1.000 to 0.751. Part of it is the dollar basis: the
committed re-based arm moves the ratio to 0.890 with the wave
unchanged, because the donor's income predictors rise against receiver
incomes that are not re-based. The appendix says so, says the rest
comes with the wave and is unexplained, and the limitations note that
the population view does not put the two surveys' incomes on a common
dollar basis.

The availability statement gains the ASEC 2023 and 2024 hashes.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
41 pages, from `quarto render paper/index.qmd --to pdf`.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
IJM sets text and numbers inside floats in Arial or similar at 10 pt,
and sends a float that needs more width to a landscape page. At that
size three things in the generated tables had to change:

- The nearest-neighbour hot deck's row label loses "(py-statmatch)",
  which made the method column the widest in every table. Table 1
  names the package.
- The CPS components table, the widest, gets two-line column headers.
- The replication's verdict tables take their column widths from
  \linewidth instead of \textwidth, set their cells ragged right, and
  mark the end of their header with \verdictheadend. The manuscript
  turns that mark into longtable's \endhead where it lets the table
  break across pages; in a plain tabular it does nothing.

No number changes. The appendix test now lets "C2ST" through its check
for typed-in digits: it is a column header, and the table notes name it.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Read on the journal's site on 14 November 2026. What changes:

References. APA style through apacite (reference list and citations),
with natbib still supplying \citep and \citet. apacite has to be loaded
before natbib, and the Pandoc template loads natbib in the preamble, so
a two-line class, ijmarticle.cls, loads it first.

Floats. The label ("Table 1: Title") sits on the line above the float.
Text and numbers inside are in a Helvetica clone at 10 pt, with no
scaling. What the captions used to explain is now a note under the
float, in the text face at 10 pt, and each note names its source. At
10 pt every table and the schematic need more width than the page, so
each goes on a landscape page of its own after the page that first
mentions it. The three verdict tables of the appendix run to two
landscape pages each and repeat their header.

The schematic's text is 10 pt sans serif throughout, and its boxes are
respaced to fit a landscape page.

Equations. The two displayed equations are numbered.

Appendix. It follows the references and is numbered A.1.

Not changed here: the keywords (five, and IJM allows four), which wait
for the authors' pick.

The PDF grows from 41 to 51 pages.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
51 pages, from `quarto render paper/index.qmd --to pdf`.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Two floats were still wider than their page at 10 pt, so the
scale-to-fit guard was shrinking them (Table 1 to 9.2 pt, the CPS
components table to 9.4 pt).

- The CPS components table becomes two panels, interest income above
  dividend income, each written by `imp tables` as its own file. Side
  by side the two are wider than a landscape page; stacked they fit a
  portrait one. `cps_components.tex` gives way to
  `cps_components_interest.tex` and `cps_components_dividends.tex`.
- Table 1's longest cells are shorter.

Measured at the float font, every table and the schematic is now
narrower than its page, so nothing is scaled.

Floats on landscape pages are also single-spaced like the rest ([H]
floats do not get that from setspace), and table rows get a little
more height.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
51 pages, from `quarto render paper/index.qmd --to pdf`.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
IJM's submission guidelines allow at most four keywords and the abstract
listed five. Drop "microsimulation": it is in the title and in the
journal's name.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
51 pages, as before. Only the keywords line on page 1 changes.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
`cmtt` in T1 encoding needs the cm-super fonts for outlines. Where they
are not installed, pdfTeX embeds a 600 dpi bitmap (a Type 3 font): the
committed PDF has one on 27 of its 51 pages, and the PDF on main on 13 of
its 25. Latin Modern Typewriter is the same design as an outline font.
The Pandoc template already loads `lmodern`, so the build needs nothing
new.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
The three comment lines added before the bibliography call in 6d8b5c7
began with a percent sign. Pandoc reads index.qmd as Markdown, where that
is text, so they were printed as a paragraph on page 34 of the PDF. They
are an HTML comment now, and a test fails on any such line in the Quarto
source.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
51 pages, as before. Every font is an outline font. The stray paragraph
on page 34 is gone, so the text of pages 34 to 42 moves up; every float
keeps its page.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

@vahid-ahmadi vahid-ahmadi left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A neutrality pass on the manuscript at 14d9e91, the top of the stack, judged against the paper's own yardstick: a gap within one sampling-floor sd is a tie, and a difference needs two (appendix_scf2025.tex:54-59). The body is mostly careful. Hot deck is called a near-peer, the 2025 appendix reports failures plainly, and the estimator's tail shortfall is discussed. Most of the remaining overclaiming is in the abstract and conclusion. The numbers below are from paper/tables/harness*.tex and scf2025_numbers.tex at this head.

Headline claims below the paper's own threshold

  1. "Trails it by 1.6 to 2.9 AUC points across surveys" (abstract.tex:25-26, conclusion.tex:27-29). Against the weighted random hot deck, 2.9 points is about 1.3 floor sd in the minimal profile (floor sd 0.023), and 1.6 points is about 0.8 at scale (0.021). One is a tie, the other inconclusive. The 2025 gaps (2.5 and 1.2) aren't mentioned. The pre-registered NND hot deck is closer, and in 2025 at scale it scores 0.754 against the estimator's 0.757, so F3c failed.
  2. "Chaining adds 1.2 AUC points" (abstract.tex:23-24, results.tex:255-257, discussion.tex:25-26, conclusion.tex:23). 0.744 against 0.756 is about 0.6 floor sd in both waves, a tie. results.tex:243-245 calls a 1.0-point gap "indistinguishable". "Deriving net worth is 1.7 points better" is about 0.8 floor sd.
  3. "The interface rule is the paper's largest single effect" (conclusion.tex:14). The experiment compares weighted with unweighted fitting. The interface rule itself was not tested, and on the C2ST the unweighted fit is nominally better (point 5).

2022-only magnitudes, and statements that don't carry over to 2025 but aren't marked (results.tex:331-332 promises they are marked)

  1. "Six times worse" and "1.9 to 2.3 times the holdout's" (abstract, discussion.tex:7-10, conclusion). The 2025 values are 4.29 and 1.79/1.78. The abstract and conclusion don't mention the pre-registered replication, or which findings failed.
  2. The unweighted ablation's C2ST AUC is nominally lower than the full estimator's in all four profile×wave cells: 0.731/0.732, 0.754/0.761, 0.712/0.719 and 0.735/0.757. The last is 1.1 floor sd, which is why F1a is inconclusive. results.tex:224-226 ("ties … the C2ST in both profiles") and discussion.tex:30-31 ("where a choice does not bind, its cost is small") should report this, and explain it or say it's unexplained.
  3. results.tex:35-36, "debt by a factor of 2.5": it is 1.49 in 2025, unmarked. The same applies to the F4a energy tie at scale (results.tex:279).
  4. results.tex:334-343, "Each pattern repeats there": in 2025 the random hot deck's net-worth q99 is closer to the holdout than the estimator's in both profiles: 0.770 and 0.953, against 0.642 and 0.630. At results.tex:290-292 and 315-316, "come from leaving the weights out" would be safer as "coincide with".
  5. The abstract and conclusion list other methods' tail failures but not the estimator's own q99 understatement: 0.70/0.77 in 2022 and 0.64/0.63 in 2025.

Generalisations and prescriptions beyond one survey pair
9. results.tex:232-238, "Any harness … needs an uncapped tail block", and conclusion.tex:18-20, "only the tail block catches it".

  • The uncapped C2ST also missed the inflation, so subsampling isn't the explanation.
  • Marginal W1 catches it too.
  • It generalises from one view pair.
  1. Unsupported prescriptions and generalisations:
    • results.tex:272-275, "the empirical case for carrying strong auxiliary predictors". The profiles differ in predictors, receivers and targets at once.
    • discussion.tex:5-6, "dominant wherever the design is informative". Only the SCF is tested.
    • discussion.tex:75-76, "already identifies the joint-structure differences". The estimator-vs-matching gaps are within 1.5 floor sd.
  2. data.tex:55-59: "matching's conditional-independence gluing loses" builds the conclusion into the test description.
  3. introduction.tex:25-29, results.tex:144-147: the reweighting stress test is set up as direct evidence of landmines, but it finds none for any method. The q99 inflation is a different mechanism.
  4. data.tex:81-83: the topcoding claim "therefore conservative" is directional speculation.

Smaller points

  • discussion.tex:52 vs results.tex:198-199: "ranks second of the eight" contradicts "ties for second of the ten". With the duplicate row removed (see the #9 review), it changes again.
  • "Every number regenerates from the repository" (abstract.tex:27, conclusion.tex:33-34): disclosures.tex still has the 2022 SCF deposit as a TODO, and the #6 review shows a cold cache doesn't reproduce the 2022 runs.
  • Wording:
    • "catastrophic" (results.tex:64)
    • "structural obligation" (conclusion.tex:7)
    • "the field's default", uncited (conclusion.tex:30-31)
    • "never correctly specified" (background.tex:46-47)
    • "no single failure mode can hide" (methodology.tex:200-201)

Review drafted with AI assistance and checked against the code at 14d9e91.

@vahid-ahmadi vahid-ahmadi left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Checked against IJM's submission guidelines and editorial policy as published on microsimulation.pub.

What passes:

  • Guideline items:
    • abstract 248 words, four keywords below it;
    • Times 11 pt, 1.5 spacing, 1.5 in margins;
    • APA citations;
    • appendix after References and numbered A.1;
    • numbered equations;
    • "Table n: title" labels above Tables 1-14 and Figure 1, in order;
    • float text at 10.0 pt sans with nothing scaled, notes in Times 10 pt below;
    • outline fonts only.
  • Length: about 13.8k words by a crude count.
  • No numbers changed in the reformatting: the split CPS table reproduces all 78 cells and bold marks, the other generated tables change only a label or the column spec, and the schematic's text is unchanged.

Points:

  1. Compulsory statements (disclosures.tex:7-10). Funding is still a placeholder, and there is no generative-AI statement. IJM makes both compulsory, and AI use in coding or analysis also has to be described in the Methods with model and version. The schematic edit falls under the figure rule the description already raises. These are listed as the authors' calls, but they block submission at this head.
  2. Reference capitalisation.
    • apacite now prints "International conference on learning representations", "... machine learning" (references.bib:233, 240) and "alternative bayesian approaches" (:414).
    • Already lowercased before this PR: "survey of consumer finances" (:305), "SSI savings penalty elimination act" (:385), "Current population survey ... (ASEC) supplement" (:341), "in r" (:127).
    • The SCF codebook (:322) prints as "[Computer software manual]".
    • Braces around the proper nouns fix these.
  3. Notes that describe absent rows. The notes to Tables 2, 3, 4 and 7 (results.tex:31, 95, 99, 211) say indented rows include net-worth-derived variants. Only Table 8 and its 2025 twin have them.
  4. Table 1 wording.
    • methodology.tex:95-96 shortens two cells. "equal-chance draw" drops "among near donors", which is what makes the random hot deck the control for the weighted one.
    • The new \ref in a Table 1 cell (:87) prints blue under colorlinks=true (ijm.sty:122-128). hidelinks would keep colour out of tables and notes.
  5. Readings to confirm. The two equations are never cited as "Equation (n)", and the run-in paragraph headings stay unnumbered. Both pass only under the reading the description gives.

Review drafted with AI assistance and checked against the code at 14d9e91.

juaristi22 added a commit that referenced this pull request Nov 16, 2026
…ms an effect

Reviews of #11, #12 and #13, and an independent neutrality read of the
manuscript.

Review of #11:
- The gates and chaining interact on CPS dividends. With the gates off the
  zero-share miss is 7.2 points with chaining and 4.3 without it (10 of 10
  paired seeds), and chaining is inert only while the gates are on. The
  abstract, results, discussion and conclusion now say so.
- The runs record the size of a zero-share miss, not its sign. "Too many
  zeros" is now presented as the mechanism a synthetic test reproduces.
- The constrained hot deck uses the weights to break exact ties in
  distance. Table 1 and the text no longer call it weight-blind.
- The gates-off shift is exact in the data and not in floating point.

Review of #12:
- 2025 figures now sit beside the Section 5.1 magnitudes, the
  nearest-neighbour hot deck's tail (its minimal-profile mean comes from
  one seed), the discussion's scoped claims and the two inconclusive
  primary findings. G1 gets a pointer to the appendix.
- "Each pattern repeats there" becomes three named patterns that repeat in
  direction, with the comparisons that do not.

Review of #13 and the neutrality read:
- Abstract and conclusion give both waves' magnitudes (4.3 to 6.1 times;
  1.8 to 2.3), state the hot decks' margin and the chaining gain in units
  of the sampling floor, and say which results rest on arms added after
  the replication rules were fixed. The abstract is 247 words.
- All three joint blocks miss the unweighted fit's tail inflation, the
  classifier included, which uses every row. The text no longer attributes
  the miss to the cap alone.
- New sentences report what the tables show and the prose left out: energy
  distance separates only OLS; the unweighted ablation's AUC is the lower
  in all four cells; the marginal draw is at the floor on tail W1/sd; the
  microimpute forest's q99 is nearer 1 than the estimator's; the fragility
  diagnostic does not separate the weighted fit from the unweighted one;
  the estimator ranks fourth of ten on OpenML.
- Limitations added: the comparison of defaults is not symmetric; one
  implicate and no replicate weights; sensitivity to dollar units; the
  estimator's AUC dispersion at scale comes from one seed per wave.
- The notes of Tables 2, 3, 4 and 7 no longer mention net-worth-derived
  rows those tables do not have.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
juaristi22 added a commit that referenced this pull request Nov 16, 2026
…loats

Format review of #13.

apacite lower-cases titles. Braces now keep the capitals of conference
names, survey names, the name of an act, "Bayesian" and "R". The SCF
codebook is a plain entry and no longer prints as a computer software
manual.

Cross-references inside a float and its notes print in black. The style
file now warns in the log if a float is ever wider than the line and gets
scaled; none is.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@juaristi22

Copy link
Copy Markdown
Collaborator Author

Thanks for both reviews. Most of the neutrality points were already in #14, which was open as a wording pass when the review arrived. The rest went in with 96ea1a0, and the format points with d290b7a.

Neutrality review

  • 1 and 2. The abstract and conclusion state the hot decks' margin and the chaining gain in floor-sd units. Section 5.5 adds that the chaining and identity gaps hold on all ten paired seeds, with the 2025 values.
  • 3. "Of the three design choices, weighting has the largest effect."
  • 4. Both waves' magnitudes are in the abstract, discussion and conclusion, with the replication outcome and which arms were added afterwards.
  • 5. Reported in Section 5.5, as unexplained.
  • 6 and 7. Marked; "come from" is softened.
  • 8. The q99 understatement is in the abstract and conclusion (23 to 37 percent).
  • 9. The text says none of the three joint blocks registers the inflation, the all-rows classifier included, that the within-survey W1 does, and that the cap was not varied.
  • 10 to 13. Scoped or cut. Section 5.2 states that the fragility diagnostic does not separate the weighted fit from the unweighted one and that the reweighting failure is not tested.
  • Smaller points. "Every number regenerates" is now "every table regenerates from the committed run files". The listed wording is changed.

Format review

  1. Compulsory statements: still owed by the authors.
  2. References: proper nouns are braced, and the codebook is a plain entry.
  3. The notes of Tables 2, 3, 4 and 7 no longer mention net-worth-derived rows.
  4. Table 1 reads "RANDwNND, equal chances". Links inside floats and their notes print black.
  5. Both equations are now cited in the text. Run-in headings are unchanged.

Reply drafted with AI assistance. The fixes are at c251659, the head of #14.

@juaristi22
juaristi22 marked this pull request as ready for review November 24, 2026 22:56
@juaristi22
juaristi22 merged commit 15b20c8 into main Nov 24, 2026
1 check passed
juaristi22 added a commit that referenced this pull request Nov 24, 2026
Reword for neutrality and address the reviews of #6 to #13

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants