Repository navigation
Measure what the estimator's one-off weighted resample costs - #20
Draft
juaristi22 wants to merge 3 commits into
Draft
juaristi22 wants to merge 3 commits into
juaristi22 wants to merge 3 commits into
Conversation
The estimator applies donor weights by resampling its donor rows once per forest. This adds a diagnostic variant that samples by weight inside each tree instead, and an experiment that holds the donors fixed and changes only the estimator's seed. - The variant (`populace_fit_per_tree`) is kept out of the method registry, so no sweep or existing table includes it. It runs when a command names it. - `imp conditional-fit` runs it on the three survey tasks with the estimator as a control, into `runs/conditional-fit-*-per-tree`. - `imp seed-stability` fixes an SCF donor split, imputes onto the population view's CPS receivers, and varies the estimator's seed. - `imp tables` writes the panels of a new table, and refuses to unless the control's rows equal those of the conditional-fit runs. - Section 5.8 reports the results. Sections 3.1, 3.2, 3.5, 6.1, 6.4, 6.5 and the conclusion point to it. No existing table changes, and the estimator the paper evaluates is unchanged. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Brings in the explanation of the constrained hot deck's lead and the limitation on the hot decks' defaults. Both diagnostic variants now sit in one `DIAGNOSTICS` table. Section 5.8 gains one sentence that sets the per-tree variant beside the hot deck with two uses per donor. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Brings in the constrained hot deck's population-view runs and the text that reports them. The PDF is rebuilt. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
5 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stacked on #19.
Whether this goes in the paper is for Max to rule in #21, which lists the tests run since the 25 November review. This PR holds test 3 of that list. The package-side question is in PolicyEngine/microcosm#1798.
What this adds
imp seed-stability, which holds SCF donors fixed, imputes onto the population view's 20,000 CPS households, and changes only the estimator's seed.What it shows
What it does not change
Status of these results
These runs were made after the 2025 replication had been scored, and the text says so. The paper fixes no rule for them. In the diagnosis that preceded them, a rule written before the comparisons were read (twice the standard error, the same sign in 80% of seeds, and at least one standard deviation of the test's null) counted the classifier difference on the CPS only. The text gives sizes and seed counts and claims no more than that.
Checks
ruff checkis clean.imp tableswrites Table 11 only if the control's rows equal those of Add a direct test of conditional fit within each survey #19's runs.🤖 Generated with Claude Code