Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions paper/bibliography/references.bib
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,23 @@ @misc{policyengine2025microimpute
url = {https://policyengine.github.io/microimpute/}
}

@misc{ghenis2026popdgp,
title = {{popdgp}: A Referee for Candidate Synthetic Populations Under Survey Weights},
author = {Ghenis, Max},
year = {2026},
note = {Software and manuscript in preparation},
url = {https://github.com/PolicyEngine/popdgp}
}

@article{pedregosa2011scikit,
title = {Scikit-learn: Machine Learning in {Python}},
author = {Pedregosa, Fabian and Varoquaux, Ga{\"e}l and Gramfort, Alexandre and Michel, Vincent and Thirion, Bertrand and Grisel, Olivier and Blondel, Mathieu and Prettenhofer, Peter and Weiss, Ron and Dubourg, Vincent and Vanderplas, Jake and Passos, Alexandre and Cournapeau, David and Brucher, Matthieu and Perrot, Matthieu and Duchesnay, {\'E}douard},
journal = {Journal of Machine Learning Research},
volume = {12},
pages = {2825--2830},
year = {2011}
}

@misc{microcosm2026,
title = {{Microcosm} (formerly {Populace}): A Microsimulation Dataset Construction Pipeline},
author = {{PolicyEngine}},
Expand Down
4 changes: 2 additions & 2 deletions paper/figures/harness_schematic.tex
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@
{score $V_{\text{\scf{}}}(Q)$ against $H_{\text{\scf{}}}$, in the
\scf{} view's own variables\\[1pt]
energy distance (joint) \;$\cdot$\; coverage (support)
\;$\cdot$\; classifier AUC (omnibus)\\[1pt]
tail block (uncapped $W_1$/sd, q90/q99 ratios)};
\;$\cdot$\; classifier AUC\\[1pt]
tail metrics (uncapped $W_1$/sd, q90/q99 ratios)};

\draw[flow] (cand.south) to[out=-90, in=0]
node[pos=0.5, right=4pt, lab] {projected\\through $V_{\text{\scf{}}}$}
Expand Down
29 changes: 17 additions & 12 deletions paper/macros.tex
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,27 @@
% \populace / \populacefit render the current product names (Microcosm,
% microcosm-fit); the macro names keep the legacy spelling so the rename
% stays a two-line change here rather than a source-wide sweep.
\newcommand{\policyengine}{\textsc{PolicyEngine}}
\newcommand{\populace}{\textsc{Microcosm}}
\newcommand{\populacefit}{\texttt{microcosm-fit}}
\newcommand{\microimpute}{\texttt{microimpute}}
\newcommand{\pystatmatch}{\texttt{py-statmatch}}
%
% Names of organizations, products and packages are set in the text font.
% Monospace is kept for literal code a reader would type or match: an
% argument value, a file name, a path, a hash, a dataset identifier.
\newcommand{\policyengine}{PolicyEngine}
\newcommand{\populace}{Microcosm}
\newcommand{\populacefit}{microcosm-fit}
\newcommand{\microimpute}{microimpute}
\newcommand{\pystatmatch}{py-statmatch}
\hyphenation{micro-impute Policy-Engine Micro-cosm}

% --- Survey and data acronyms ---
\newcommand{\cps}{\textsc{CPS}}
\newcommand{\scf}{\textsc{SCF}}
\newcommand{\sipp}{\textsc{SIPP}}
\newcommand{\psid}{\textsc{PSID}}
\newcommand{\puf}{\textsc{PUF}}
\newcommand{\cps}{CPS}
\newcommand{\scf}{SCF}
\newcommand{\sipp}{SIPP}
\newcommand{\psid}{PSID}
\newcommand{\puf}{PUF}

% --- Method acronyms ---
\newcommand{\qrfacro}{\textsc{QRF}}
\newcommand{\prdc}{\textsc{PRDC}}
\newcommand{\qrfacro}{QRF}
\newcommand{\prdc}{PRDC}

% --- Results placeholder ---
% Every empirical number enters the manuscript through a generated table or an
Expand Down
Binary file modified paper/main.pdf
Binary file not shown.
47 changes: 23 additions & 24 deletions paper/sections/abstract.tex
Original file line number Diff line number Diff line change
@@ -1,29 +1,28 @@
\section*{Abstract}

Microsimulation models impute variables from one survey onto another's
records. A model fitted without design weights learns the sample's
conditional distributions, which differ from the population's where
weights are informative. We present the imputation estimator of
\policyengine{}'s \populace{} microdata stack: a quantile regression forest
with a weighted bootstrap, sign-regime gates, and sequential chaining, whose
interface requires stated weights. To evaluate it we formalize a
\emph{population-view harness}, which scores a candidate file against each
survey's holdout. On two waves of the Survey of Consumer Finances, the
unweighted estimator is 4.3 to 6.1 times worse on net-worth marginal fit and
imputes a 99th percentile 1.8 to 2.3 times the holdout's, which the joint
metrics miss. With its gates off, it
misses the zero share of Current Population Survey dividend income by 7.2
percentage points instead of 0.6 (4.3 with chaining also off). Fitting four
balance-sheet components independently costs 4.9 to 5.8 points of classifier
two-sample AUC, and the accounting identity recovers them. A hot deck that
draws donors by weight matches the estimator on within-survey marginal fit,
and hot decks score within about one noise standard deviation of it on the
joint. The estimator's own imputed 99th percentile is 23 to 37 percent below
the holdout's. Under rules fixed before the second wave was used, six of
eight headline findings replicated and two were inconclusive; five of
nineteen others did not, and the identity and weighted hot deck
arms were added afterwards. The estimator is available standalone as
\populacefit{}.
Microsimulation models impute variables from one survey onto another. A
model fitted without design weights learns the sample's conditional
distributions, not the population's, where weights are informative. We present \populacefit{}, \policyengine{}'s imputation
estimator: a quantile regression forest that resamples its training data by
weight, models zero, negative, and positive values separately (sign gates),
and imputes targets in sequence (chaining). We compare it with regression
and hot-deck baselines, switching off one design choice at a time, within
the Survey of Consumer Finances (SCF) and the Current Population Survey
(CPS), and across them with the population-view harness, scoring CPS
households with imputed wealth against held-out SCF households. On two SCF
waves, fitting without weights is 4.3 to 6.1 times worse on net-worth
fit and yields a 99th percentile 1.8 to 2.3 times the holdout's,
which the joint metrics miss. The full estimator reproduces the
share of adults without dividend income to within 0.6 percentage points,
against 7.2 with its gates off. Imputing four balance-sheet items
independently costs 4.9 to 5.8 points of classifier AUC, and
computing net worth from the other three removes that cost. A hot deck that
draws donors by weight matches the estimator on within-survey marginal fit
and scores within about one noise standard deviation of it on the joint metrics. The
estimator's imputed 99th percentile is 23 to 37 percent below the
holdout's. Under rules fixed before the second wave was used, six of eight
headline findings replicated, two were inconclusive, and five of nineteen
others failed.

\vspace{1em}
\noindent\textbf{Keywords:} imputation, survey weights, quantile regression
Expand Down
4 changes: 2 additions & 2 deletions paper/sections/appendix_scf2025.tex
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ \section{Replication on the 2025 Survey of Consumer Finances}
\rep{scale-q99-unweighted:2025} times the holdout's
(\rep{min-q99-unweighted:2022} and \rep{scale-q99-unweighted:2022} in 2022).
Weighting is again the largest of the three ablation effects. On the
population view chaining again binds only at scale. With two targets the unchained ablation's AUC sits
population view chaining again matters only at scale. With two targets the unchained ablation's AUC sits
\rep{min-auc-unchained-sd:2025} floor standard deviations from the
candidate's; on the four-component balance sheet unchaining costs
\rep{scale-auc-unchained-gap:2025} AUC points
Expand Down Expand Up @@ -252,7 +252,7 @@ \section{Replication on the 2025 Survey of Consumer Finances}

\paragraph{Arms added later.} The gates-off ablations, the
net-worth-derived variants, and the random, weighted random and constrained
hot decks joined the method surface after this replication was scored. Their
hot decks were added to the methods after this replication was scored. Their
rows in Tables~\ref{tab:scf-wealth-2025}--\ref{tab:harness-scale-2025} come
from runs on the same splits and inputs. They are outside the pre-registered
rules, and no verdict above uses them; where the text above speaks of the
Expand Down
43 changes: 17 additions & 26 deletions paper/sections/background.tex
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ \subsection{Imputation methods in survey practice}

Survey agencies and microsimulation teams draw on a small set of imputation
families. \emph{Hot-deck and statistical matching} methods donate observed
values from a matched donor record; they preserve marginal distributions by
construction because every imputed value is a real donor value
\citep{andridge2010review, dorazio2006statistical}, and remain the standard
data-fusion tool in European microsimulation practice
values from a matched donor record. They preserve marginal distributions by
construction, because every imputed value is a real donor value
\citep{andridge2010review, dorazio2006statistical}, and they remain the
standard data-fusion tool in European microsimulation practice
\citep{sutherland2013euromod}. \emph{Regression-based} methods impute from a
fitted conditional model (ordinary least squares with residual draws
\citep{vonhippel2013should}, linear quantile regression
Expand Down Expand Up @@ -72,14 +72,14 @@ \subsection{Weights in imputation}
contrast between the two forests in Section~\ref{sec:results} is therefore
not a weighting contrast.

Tree ensembles add a mechanical reason to resample. A fully grown forest's
\emph{predictive distribution} is a leaf-membership distribution, which
per-record \texttt{sample\_weight} arguments do not reweight, so honoring
weights requires materializing them into the training data. Zero-inflated
Tree ensembles add a mechanical reason to resample. A fully grown forest
predicts from the training rows stored in its leaves, and per-record weights
passed to the forest do not reweight those rows, so honoring weights
requires putting them into the training data. Zero-inflated
targets add a second consideration: weighting the zero/nonzero gate by
resampling can delete a rare sign class outright, so the gate must be
weighted directly. Weighting by resampling is not new. We are not aware of
prior survey-imputation work that combines it with sign-regime gating and
prior survey-imputation work that combines it with sign gating and
chaining in one forest estimator whose interface makes the weighted fit the
default. This paper documents and tests that combination.

Expand All @@ -90,20 +90,11 @@ \subsection{Evaluating imputed files}
distributional. We report pinball loss, from the quantile-loss tradition
\citep{koenker2005quantile, meinshausen2006quantile}, and Wasserstein
distance; as computed here both score marginal fit
(Section~\ref{sec:metrics}). For the joint, this paper formalizes an
evaluation perspective with one latent population, surveys as partial views
of it, and candidates scored through each view against held-out survey
samples. It draws on several literatures that have not, to our knowledge,
been assembled into an operational benchmark: the survey-statistics
treatment of multiple sources observing one population
\citep{lohr2017combining}, the missing-data view of fusion as block
missingness on a single file \citep{little2002statistical,
rassler2002statistical}, strictly proper scoring of distributional claims
against realized samples \citep{gneiting2007strictly, szekely2013energy},
classifier two-sample tests \citep{lopezpaz2017revisiting}, and the
precision--recall--density--coverage geometry of generative-model
evaluation \citep{naeem2020reliable}. Population-synthesis practice validates
against input marginals rather than held-out views.\todo{cite a source for
this statement about population-synthesis practice, or cut it} Section~3.3
puts the combination into practice; the reweighting fragility diagnostic of
Section~3.4 is, to our knowledge, new.
(Section~\ref{sec:metrics}). For the joint distribution we use the
population-view harness of \citet{ghenis2026popdgp}, which treats surveys as
partial views of one population and scores a candidate file through each
view against a held-out sample of that survey. This paper is its first
application: Section~\ref{sec:harness} summarizes the four metrics it
reports, and the framework's general treatment is in that work. The
reweighting fragility diagnostic of Section~\ref{sec:metrics} is, to our
knowledge, new.
74 changes: 41 additions & 33 deletions paper/sections/conclusion.tex
Original file line number Diff line number Diff line change
Expand Up @@ -2,42 +2,50 @@ \section{Conclusion}
\label{sec:conclusion}

Imputation sits upstream of every population statistic a microsimulation
model produces, and users the imputer never sees reweight the imputed
files. We presented an estimator whose interface requires the weights to be
stated: a weighted bootstrap into the forests, directly weighted regime
gates, sequential chaining, and an error in place of a silent unweighted
fit. We also presented a population-view harness, which scores any
candidate population against held-out survey views with a strictly proper
joint score, a support-based coverage axis, a classifier two-sample test,
and an uncapped tail block.
model produces, and the imputed files are reweighted later by users the
imputer never sees. We presented an estimator whose interface requires the
weights to be stated: a quantile regression forest trained on a resample
drawn by weight, with directly weighted sign gates, sequential chaining, and
an error in place of a silent unweighted fit. We evaluated it with ablations
that switch off one design choice at a time and, in the first application of
the population-view harness \citep{ghenis2026popdgp}, against held-out
\scf{} households on energy distance, coverage, a classifier two-sample
test, and uncapped tail metrics.

Of the three design choices, weighting has the largest effect. On the
\scf{}, whose design is informative, the identical estimator fitted without
weights is 6.1 times worse on net-worth marginal fit on the 2022 wave and
4.3 times on the 2025 wave, and on the population view its imputed 99th
percentile is 1.8 to 2.3 times the holdout's. None of the harness's three
joint blocks registers that inflation. The tail block does, and we added it
for that reason. Chaining matters where targets are jointly constrained,
and there most of its effect is the constraint: fitting a balance sheet's
components independently costs 5.8 AUC points at production scale (4.9 on
the 2025 wave), imposing the accounting identity recovers them, and
chaining scores 1.2 lower still, about half a standard deviation of the
sampling floor. The gates hold the estimator's zero-share error on
zero-inflated components to about one percentage point; with them off it
misses the dividend zero share by 7 points, or by 4 with chaining off as
well. Hot decks and the unconditional draw, which reuse observed values,
hold it within about 2 points without a gate. Matching that chooses donors
in proportion to weight equals the estimator on marginal fit within a
survey. On the population view the nearest-neighbour and weighted random
hot decks' AUC is 0.7 to 2.9 points higher than the estimator's on the 2022
wave, within about one standard
deviation of the sampling floor, and on the 2025 wave the nearest-neighbour
hot deck is level with it at production scale. The estimator's imputed 99th
percentile of net worth is 23 to 37 percent below the holdout's across the
two waves. Marginal metrics rank an unconditional marginal draw first on
\scf{} pinball loss as coded and tied for second of ten methods on the
OpenML suite, while the classifier separates that draw from the holdout at
an AUC of 0.968, against the estimator's 0.761.
joint metrics captures that inflation. The tail metrics do, and they were
added to the harness for that reason.

Chaining matters where the targets must add up, and there most of its
effect is the adding up. Fitting a balance sheet's components independently
costs 5.8 AUC points at production scale (4.9 on the 2025 wave). Computing
net worth from its components, instead of imputing it, removes that cost,
and chaining the components scores 1.2 points lower still, about half a
standard deviation of the sampling floor.

The gates hold the estimator's zero-share error on zero-inflated components
to about one percentage point. With them off it misses the dividend zero
share by 7 points, or by 4 with chaining off as well. Hot decks and the
unconditional draw, which reuse observed values, hold it within about 2
points without a gate.

Against matching the results show parity within noise. Matching that
chooses donors in proportion to weight equals the estimator on marginal fit
within a survey. On the population view the nearest-neighbour and weighted
random hot decks' AUC is 0.7 to 2.9 points higher than the estimator's on
the 2022 wave, within about one standard deviation of the sampling floor,
and on the 2025 wave the nearest-neighbour hot deck is level with it at
production scale. The estimator's imputed 99th percentile of net worth is 23
to 37 percent below the holdout's across the two waves.

Marginal metrics rank an unconditional marginal draw first on \scf{} pinball
loss as coded and tied for second of ten methods on the OpenML suite, while
the classifier separates that draw from the holdout at an AUC of 0.968,
against the estimator's 0.761.

The 2025 figures come from a rerun under rules fixed in advance. It
replicated \rep{count:primary:replicated} of the \rep{count:primary}
Expand All @@ -47,6 +55,6 @@ \section{Conclusion}
replicate (Appendix~\ref{app:scf2025}). The net-worth-derived variants, the
gates-off ablations, and the weighted random hot deck were added after
those rules were fixed and are outside them. The estimator is available
standalone as \populacefit{}; the harness, the task configurations, and
every table in this paper regenerate from the committed run files in the
accompanying repository.
standalone as \populacefit{}. The task configurations and every table in
this paper regenerate from the committed run files in the accompanying
repository.
Loading
Loading