Repository navigation
Document the cd model on the package and the website (PR C of 4) - #4
Merged
Merged
Conversation
california_cd checks the 51- and 41-unit fits against the authors' frozen application output (every P value, the joint no-spillover rejections), and the defaults against v3's Section 6.2: insignificant 1989-1990 effects and Figure 3's break-even points 17.07 and 9.66. cd_vs_mlsynth refits every mlsynth fixture. The report header now covers both models. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- docs/models/cd.qmd is rewritten in the shape of the sar page: setup, the spillover model (Examples 1-3 and custom structures, several treated units), estimation (including the efficient estimator), inference, the structure checks (kappa_A, selection, sensitivity), an accessor table, and where scspill departs from the authors' code and from mlsynth. - New case study, prop99-spillovers.qmd (executed and frozen, with a Colab notebook): cd on Cao & Dowd's panel, the spillovers and their tests, the structure test, the sensitivity analysis, and a side-by-side comparison with sar. - New article, articles/cd-replication.qmd: the paper's statements, the authors' application output and simulation statistics, and mlsynth, reproduced live. - The navbar gains a Case studies menu (Prop 99 and Sudan). The catalogue, landing page, Get started, datasets article, For-AI page, llms.txt, quartodoc sections, README, CITATION abstract and package docstrings now describe two models. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Includes the two new cd cases (california_cd, cd_vs_mlsynth) alongside the five sar cases. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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
Stacked on #3. It documents the
cdmodel on the package and the website.New pages
docs/models/cd.qmd, rewritten in the shape of thesarpage:Citations are mapped to the paper's v3 sections.
Case study
prop99-spillovers.qmd(executed and frozen, with a Colab notebooknotebooks/prop99_spillovers.ipynb):cdon Cao & Dowd's 51-unit panel: the direct effect and Nevada's leakage;sar, including why the two models disagree on the sign of Nevada's spillover.Article
articles/cd-replication.qmd(executed and frozen) reproduces, live:Site and package updates
sudan.htmlkeeps its URL.llms.txt, and the quartodoc section descriptions.CITATION.cffabstract, package docstrings, and the cao_dowd fixture README, which now cites v3 and describes its checks as checks against the authors' code.california_cdandcd_vs_mlsynth, registered inbenchmarks/registry.py; both pass. The fullREPORT.mdis regenerating locally and will follow as a commit.Validation
make docsrenders without errors.make lint typecheck test: 306 passed, 3 skipped.🤖 Generated with Claude Code