Repository navigation
Add a gates-off control, derived net worth, and a weighted hot deck - #11
Conversation
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>
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>
vahid-ahmadi
left a comment
There was a problem hiding this comment.
The added arms are well built. The gates-off arm uses populace-fit's own single-sign path and fails if any gate is still built. The derived arm guards the identity on the donor rows. The weighted random hot deck is StatMatch's RANDwNND (ceil(sqrt(n)) nearest donors, chosen with probability proportional to weight), with an unweighted control that differs only in the selection. All ten changed tables regenerate byte-identically from the committed runs, and the quoted numbers match. Three points on how the new results are read:
-
The gates and chaining interact on CPS dividends, and the text attributes the joint effect to the gates alone (abstract.tex:20-21, results.tex:120-122 and 199-202, discussion.tex:17-19, conclusion.tex:23-26).
cps_components.tex:9-10gives dividend zero-share error 0.072 for ungated+chained and 0.043 for ungated+unchained. Paired over the ten seeds, the difference is +0.029 (sd 0.010; worse on 10/10 seeds), while the gated pair differs by +0.0002 (sd 0.006). Chaining is inert only while the gates are on. The gates' effect is 3.7 points without chaining and 6.7 with it (ablations.tex:8). The "7.2, not 0.6" headline and "chaining is inert, and gating carries the load" should say this, as should the "own attribution" framing (introduction.tex:78-79, methodology.tex:106-107). -
The direction of the zero-share miss is asserted but not measured (results.tex:123-126, discussion.tex:19-20).
zero_share_erroris an absolute difference (metrics.py:170-185), so the runs cannot show "too many zeros". The supporting evidence is the synthetic testtest_pooled_leaves_overstate_a_zero_atom. Recording the signed zero share, or presenting this as the mechanism the test illustrates, would close the gap. results.tex:70-72 calls the same error zero mass "unaccounted for", which reads as too few zeros. -
The constrained hot deck is not fully weight-blind (results.tex:61-66 and 138-139, methodology.tex:170-172). The adapter passes
don_weights, and py-statmatch's_constrained_matching(at the pinned 094a242) adds(1 - w/max w)·1e-10to the cost, so high-weight donors win exact distance ties. TheCONSTRAINED_MAX_CELLScomment notes that such ties are common on the real matching variables. "Uses the weights only to break exact ties" would be accurate.
A minor note: for net worth the gates-off shift is large, and tree impurity is not exactly shift-invariant in floating point. A synthetic check shows forest structure drifting with the shift's magnitude. That is seed-sized noise, but "nothing else changed" (methods.py:163, methodology.tex:107) holds only up to that.
Review drafted with AI assistance and checked against the code at e61e170.
…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>
|
Thanks for the review. All three points and the minor one are in #14 (96ea1a0).
Minor: Section 3.2 now says the shift is exact in the data and not in floating point. Reply drafted with AI assistance. The fixes are at |
What this adds
Three of the optional improvements for the IJM submission: a gates-off control in the same implementation, net worth derived from imputed components, and three more hot decks, one of which draws its donors in proportion to their weights. Seven methods join the surface. Each runs on ten paired seeds, on the splits of the committed runs.
populace_fit_ungated,populace_fit_ungated_unchained).microcosm-fitbuilds a gate only for a target with more than one sign class. The arm shifts each such target to be strictly positive, fits the estimator as usual, and shifts the draws back. The bootstrap, forests, draw and chaining are the estimator's own. With chaining off as well, the four ablations form a two-by-two design.populace_fit_derived,populace_fit_unchained_derived). Imputefin,nfinanddebt, then set net worth by the identity. Production-scale profile only, where the targets form a balance sheet.statmatch_rand_hotdeck,statmatch_rand_hotdeck_unweighted,statmatch_constrained_hotdeck). StatMatch's RANDwNND, which draws one of the nearest donors in proportion to its weight; the same draw with every near donor equally likely, as its control; and a nearest-neighbour hot deck with a cap on donor use.The new rows live in
runs/<name>-added-arms/, beside the committed runs and never inside them. Each added-arms run repeats three methods of the committed run, andimp tablesrefuses to write a table unless the repeated rows are identical. The added rows therefore saw the same data, splits and environment.Results on the 2022 wave
Gating. Until now the paper had no knockout for the gates. The row once read as one is microimpute's forest, which also differs in its sampler.
Chaining and the identity, at production scale.
Matching. The weighted random hot deck differs from the nearest-neighbour one in two ways: it draws among near donors, and it uses the weights. The random hot deck makes the same draw without the weights, so the pair separates the two.
2025 wave. The patterns repeat. Debt zero-share error is 1.7 points with the gates and 9.5 without. Net-worth W1 is 165,931 for the full estimator, 434,090 for the nearest-neighbour hot deck, 370,133 for the random one and 198,962 for the weighted random one. Production-scale AUC is 0.757 for the full estimator, 0.806 unchained, 0.732 with net worth derived, and 0.743 unchained with net worth derived.
What changes in the paper's claims
Table 1 now has 15 rows. The abstract is 248 words.
Limits and open calls
skipped.csvand in the limitations.Checks
CI=true uv run pytest: 148 passed, 1 skipped.ruff check .is clean.imp tableschecks that the shared rows of every added-arms run equal the committed run's: the eight within-survey tasks, both profiles, both waves.imp replicationoutput is unchanged. The PDF is rebuilt (40 pages).asecpub23csv.zip, SHA-256d2e000250782adfbdd7f29c82b66d866591a30f0d330496698ec19f9c784ce11asecpub24csv.zip, SHA-256cdb39cdac34bef99dd0940ab28e306f692404c2eea44d85dfd634214872a0a09scfp2025s.zip, SHA-25632dcf86be48b20fb5fd9e659f79fa22a4d9cccf456e44b6ca9b1329e9869bbeb(the hash the loader already registers)Order
Stacked on #6, #9 and #10. This PR's own changes: compare against #10's head. Merge in that order, with merge commits.
🤖 Generated with Claude Code