Revise survey theory doc for accuracy and precision#278
Merged
Conversation
Soften overclaiming language, fix terminology inconsistencies, and narrow novelty claims based on external review and primary source verification. Core theory (Sections 4-6) unchanged. Key changes: - Disambiguate "design-based" (survey sampling vs treatment assignment) - Acknowledge did/csdid/did_multiplegt_dyn cluster support while clarifying the real gap (strata + PSU + FPC jointly) - Fix DEFF terminology (Kish weighting effect vs full design effect) - Rename Horvitz-Thompson to Design consistency (Hájek estimator) - Add Ye et al. (2025) and Athey & Imbens (2022) references - Reframe "non-informative sampling" paragraph - Clarify weight normalization semantics and N vs N_hat - Add RCS vs panel note and Stata singleunit(centered) alignment Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
Overall Assessment ✅ Looks good Executive Summary
Methodology
Code Quality
Performance
Maintainability
Tech Debt
Security
Documentation/Tests
|
- Fix Athey & Imbens citation: C&S 2021 cites the 2018 working paper, not the 2022 publication directly - Fix Ye et al. DOI: correct to 10.1007/s10742-025-00364-7 - Acknowledge didimputation accepts estimation weights via wname - Align deff_w prose with actual API field SurveyMetadata.design_effect Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Owner
Author
|
/ai-review |
|
🔁 AI review rerun (requested by @igerber) Head SHA: Overall Assessment ✅ Looks good No unmitigated P0 or P1 findings in the changed surface. Executive Summary
Methodology
Code Quality
Performance
Maintainability
Tech Debt
Security
Documentation/Tests
|
- Align roadmap: "superpopulation quantity" → "finite-population quantity" - Fix double negative in didimputation/eventstudyinteract sentence - Clarify N_hat: after normalization sum(w_i) = n; scaling is variance-equivalent because only relative weights affect sandwich meat Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Owner
Author
|
/ai-review |
|
🔁 AI review rerun (requested by @igerber) Head SHA: Overall Assessment Looks good. No unmitigated P0 or P1 findings in the changed surface. Executive Summary
Methodology
Code Quality
Performance
Maintainability
Tech Debt
Security
Documentation/Tests
|
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.
Summary
did/csdid/did_multiplegt_dyncluster support while clarifying the real gap (strata + PSU + FPC jointly)singleunit(centered)alignmentMethodology references (required if estimator / math changes)
Validation
didCRAN docs + source code, Statacsdidhelp fileSecurity / privacy
Generated with Claude Code