-
Notifications
You must be signed in to change notification settings - Fork 7
Explain CS vs SA pre-period discrepancy in Tutorial 02 #102
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Conversation
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
- Add detailed explanation in Section 14 of why pre-treatment effects differ between Callaway-Sant'Anna (varying base) and Sun-Abraham (fixed reference period e=-1), while post-treatment effects match - Enhance comparison code to show CS with both base_period options - Add point #10 to tutorial summary documenting expected behavior - Add test documenting this methodological difference - Update REGISTRY.md with cross-reference note Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
|
Overall assessment: Executive summary:
Methodology
Code Quality
Performance
Maintainability
Tech Debt
Security
Documentation/Tests
Open questions / assumptions:
|
- Fix misleading "smaller SEs" wording in Tutorial 02 Cell 43 → Changed to "lower t-statistics" which is more accurate - Update SA reference period notation throughout docs → e=-1 → e=-1-anticipation (defaults to e=-1 when anticipation=0) - Update REGISTRY.md SunAbraham section with correct reference period - Add meaningful assertions to pre-period test → Test now requires pre-periods exist (not vacuous) → Assert CS(universal) closer to SA than CS(varying) for pre-periods Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Owner
Author
|
/ai-review |
|
🔁 AI review rerun (requested by @igerber) Head SHA: Overall assessment: ✅ Looks good Executive Summary
Methodology
Code Quality
Performance
Maintainability
Tech Debt
Security
Documentation/Tests
|
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
base_period="varying"andbase_period="universal"optionstest_pre_period_difference_expected_between_cs_sadocumenting this methodological differenceMethodology references (required if estimator / math changes)
Validation
tests/test_sun_abraham.py- addedtest_pre_period_difference_expected_between_cs_saSecurity / privacy
Generated with Claude Code