René's URL Explorer Experiment


Title: Add base_period parameter to CallawaySantAnna for pre-treatment effects by igerber · Pull Request #97 · igerber/diff-diff · GitHub

Open Graph Title: Add base_period parameter to CallawaySantAnna for pre-treatment effects by igerber · Pull Request #97 · igerber/diff-diff

X Title: Add base_period parameter to CallawaySantAnna for pre-treatment effects by igerber · Pull Request #97 · igerber/diff-diff

Description: A Python library for Difference-in-Differences (DiD) causal inference analysis with an sklearn-like API and statsmodels-style outputs. - Add base_period parameter to CallawaySantAnna for pre-treatment effects by igerber · Pull Request #97 · igerber/diff-diff

Open Graph Description: Summary Add base_period parameter to CallawaySantAnna matching R's did::att_gt() API Implement "varying" mode (default): pre-treatment uses t-1 as base (consecutive comparisons) Impl...

X Description: Summary Add base_period parameter to CallawaySantAnna matching R's did::att_gt() API Implement "varying" mode (default): pre-treatment uses t-1 as base (consecutive compa...

Opengraph URL: https://github.com/igerber/diff-diff/pull/97

X: @github

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:c8f2cfe9-3193-cfba-ab61-d0507e7d38cc
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB426:3B966:21FBF2:2BC2E9:699030D6
html-safe-nonce9419f58048f7e0091dacedb21b85c57e9edc7434520a7a7404f0ec5773cea1b7
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNDI2OjNCOTY2OjIxRkJGMjoyQkMyRTk6Njk5MDMwRDYiLCJ2aXNpdG9yX2lkIjoiMzMwMDQ2MDk0MTcwODExMjA4NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmaccde81caa0f904a8ee4779587786527dce27b971caa1eae8ff550adfc9905e234
hovercard-subject-tagpull_request:3196467009
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/igerber/diff-diff/97/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/5df57a53835ea180a313653ff52c3254f59d95b468af518a8795857923946039/igerber/diff-diff/pull/97
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/5df57a53835ea180a313653ff52c3254f59d95b468af518a8795857923946039/igerber/diff-diff/pull/97
og:image:altSummary Add base_period parameter to CallawaySantAnna matching R's did::att_gt() API Implement "varying" mode (default): pre-treatment uses t-1 as base (consecutive comparisons) Impl...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameigerber
hostnamegithub.com
expected-hostnamegithub.com
None42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b
turbo-cache-controlno-cache
go-importgithub.com/igerber/diff-diff git https://github.com/igerber/diff-diff.git
octolytics-dimension-user_id107073927
octolytics-dimension-user_loginigerber
octolytics-dimension-repository_id1126412969
octolytics-dimension-repository_nwoigerber/diff-diff
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1126412969
octolytics-dimension-repository_network_root_nwoigerber/diff-diff
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release3b33c5aedc9808f45bc5fcf0b1e4404cf749dac7
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/igerber/diff-diff/pull/97#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Figerber%2Fdiff-diff%2Fpull%2F97
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Figerber%2Fdiff-diff%2Fpull%2F97
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=igerber%2Fdiff-diff
Reloadhttps://github.com/igerber/diff-diff/pull/97
Reloadhttps://github.com/igerber/diff-diff/pull/97
Reloadhttps://github.com/igerber/diff-diff/pull/97
igerber https://github.com/igerber
diff-diffhttps://github.com/igerber/diff-diff
Notifications https://github.com/login?return_to=%2Figerber%2Fdiff-diff
Fork 12 https://github.com/login?return_to=%2Figerber%2Fdiff-diff
Star 94 https://github.com/login?return_to=%2Figerber%2Fdiff-diff
Code https://github.com/igerber/diff-diff
Issues 1 https://github.com/igerber/diff-diff/issues
Pull requests 0 https://github.com/igerber/diff-diff/pulls
Actions https://github.com/igerber/diff-diff/actions
Projects 0 https://github.com/igerber/diff-diff/projects
Security 0 https://github.com/igerber/diff-diff/security
Insights https://github.com/igerber/diff-diff/pulse
Code https://github.com/igerber/diff-diff
Issues https://github.com/igerber/diff-diff/issues
Pull requests https://github.com/igerber/diff-diff/pulls
Actions https://github.com/igerber/diff-diff/actions
Projects https://github.com/igerber/diff-diff/projects
Security https://github.com/igerber/diff-diff/security
Insights https://github.com/igerber/diff-diff/pulse
igerberhttps://github.com/igerber
mainhttps://github.com/igerber/diff-diff/tree/main
feature/base-period-pretreatmenthttps://github.com/igerber/diff-diff/tree/feature/base-period-pretreatment
Conversationhttps://github.com/igerber/diff-diff/pull/97
Commits7 (7)https://github.com/igerber/diff-diff/pull/97/commits
Checkshttps://github.com/igerber/diff-diff/pull/97/checks
Files changedhttps://github.com/igerber/diff-diff/pull/97/files
Add base_period parameter to CallawaySantAnna for pre-treatment effectshttps://github.com/igerber/diff-diff/pull/97#top
igerberhttps://github.com/igerber
mainhttps://github.com/igerber/diff-diff/tree/main
feature/base-period-pretreatmenthttps://github.com/igerber/diff-diff/tree/feature/base-period-pretreatment
https://github.com/igerber
igerberhttps://github.com/igerber
Jan 21, 2026https://github.com/igerber/diff-diff/pull/97#issue-3839638388
https://doi.org/10.1016/j.jeconom.2020.12.001https://doi.org/10.1016/j.jeconom.2020.12.001
Please reload this pagehttps://github.com/igerber/diff-diff/pull/97
https://github.com/igerber
https://github.com/claude
Add base_period parameter to CallawaySantAnna for pre-treatment effectshttps://github.com/igerber/diff-diff/pull/97/commits/673a83050145aa6cef24fade57f6e350f5afa89c
673a830https://github.com/igerber/diff-diff/pull/97/commits/673a83050145aa6cef24fade57f6e350f5afa89c
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Jan 21, 2026https://github.com/igerber/diff-diff/pull/97#issuecomment-3780713798
Please reload this pagehttps://github.com/igerber/diff-diff/pull/97
https://github.com/igerber
https://github.com/claude
Address PRhttps://github.com/igerber/diff-diff/pull/97/commits/c40c46cfb8e274e9997c4dfe21e07a3fed40e879
#97https://github.com/igerber/diff-diff/pull/97
review: fix base_period fallback and add validationhttps://github.com/igerber/diff-diff/pull/97/commits/c40c46cfb8e274e9997c4dfe21e07a3fed40e879
c40c46chttps://github.com/igerber/diff-diff/pull/97/commits/c40c46cfb8e274e9997c4dfe21e07a3fed40e879
https://github.com/igerber
igerberhttps://github.com/igerber
Jan 21, 2026https://github.com/igerber/diff-diff/pull/97#issuecomment-3780770351
Please reload this pagehttps://github.com/igerber/diff-diff/pull/97
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Jan 21, 2026https://github.com/igerber/diff-diff/pull/97#issuecomment-3780802465
@igerberhttps://github.com/igerber
Please reload this pagehttps://github.com/igerber/diff-diff/pull/97
https://github.com/igerber
https://github.com/claude
Address PRhttps://github.com/igerber/diff-diff/pull/97/commits/cbc28dd50bba61b97ebebec079d8cfc47135d93d
#97https://github.com/igerber/diff-diff/pull/97
review round 2: NaN propagation for empty post-treatmenthttps://github.com/igerber/diff-diff/pull/97/commits/cbc28dd50bba61b97ebebec079d8cfc47135d93d
cbc28ddhttps://github.com/igerber/diff-diff/pull/97/commits/cbc28dd50bba61b97ebebec079d8cfc47135d93d
https://github.com/igerber
igerberhttps://github.com/igerber
Jan 21, 2026https://github.com/igerber/diff-diff/pull/97#issuecomment-3780894294
Please reload this pagehttps://github.com/igerber/diff-diff/pull/97
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Jan 21, 2026https://github.com/igerber/diff-diff/pull/97#issuecomment-3780985532
@igerberhttps://github.com/igerber
Please reload this pagehttps://github.com/igerber/diff-diff/pull/97
https://github.com/igerber
https://github.com/claude
Address PRhttps://github.com/igerber/diff-diff/pull/97/commits/39b6f93e15b931d4e6a51cb9e6435a4a4c6f3faf
#97https://github.com/igerber/diff-diff/pull/97
review round 3: anticipation filtering and NaN t_stathttps://github.com/igerber/diff-diff/pull/97/commits/39b6f93e15b931d4e6a51cb9e6435a4a4c6f3faf
39b6f93https://github.com/igerber/diff-diff/pull/97/commits/39b6f93e15b931d4e6a51cb9e6435a4a4c6f3faf
https://github.com/igerber
igerberhttps://github.com/igerber
Jan 22, 2026https://github.com/igerber/diff-diff/pull/97#issuecomment-3784118896
Please reload this pagehttps://github.com/igerber/diff-diff/pull/97
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Jan 22, 2026https://github.com/igerber/diff-diff/pull/97#issuecomment-3784162290
@igerberhttps://github.com/igerber
Please reload this pagehttps://github.com/igerber/diff-diff/pull/97
https://github.com/igerber
https://github.com/claude
Address PRhttps://github.com/igerber/diff-diff/pull/97/commits/573496480eaac779b99574722675fe9fec0bfabc
#97https://github.com/igerber/diff-diff/pull/97
review round 4: aggregation t_stat and bootstrap pre-t…https://github.com/igerber/diff-diff/pull/97/commits/573496480eaac779b99574722675fe9fec0bfabc
5734964https://github.com/igerber/diff-diff/pull/97/commits/573496480eaac779b99574722675fe9fec0bfabc
https://github.com/igerber
igerberhttps://github.com/igerber
Jan 22, 2026https://github.com/igerber/diff-diff/pull/97#issuecomment-3784235238
Please reload this pagehttps://github.com/igerber/diff-diff/pull/97
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Jan 22, 2026https://github.com/igerber/diff-diff/pull/97#issuecomment-3784283540
@igerberhttps://github.com/igerber
Please reload this pagehttps://github.com/igerber/diff-diff/pull/97
https://github.com/igerber
https://github.com/claude
Address PRhttps://github.com/igerber/diff-diff/pull/97/commits/021bd6676e0746cccb81871341f516dc076dc733
#97https://github.com/igerber/diff-diff/pull/97
review round 5: not-yet-treated control group overlaphttps://github.com/igerber/diff-diff/pull/97/commits/021bd6676e0746cccb81871341f516dc076dc733
021bd66https://github.com/igerber/diff-diff/pull/97/commits/021bd6676e0746cccb81871341f516dc076dc733
https://github.com/igerber
igerberhttps://github.com/igerber
Jan 22, 2026https://github.com/igerber/diff-diff/pull/97#issuecomment-3784376890
Please reload this pagehttps://github.com/igerber/diff-diff/pull/97
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Jan 22, 2026https://github.com/igerber/diff-diff/pull/97#issuecomment-3784475164
@igerberhttps://github.com/igerber
Please reload this pagehttps://github.com/igerber/diff-diff/pull/97
https://github.com/igerber
https://github.com/claude
Address PRhttps://github.com/igerber/diff-diff/pull/97/commits/78cdffb8b2bc76a4dab039fcbf763ac310e25f29
#97https://github.com/igerber/diff-diff/pull/97
review round 6: clarify ATT(g,t) equation documentationhttps://github.com/igerber/diff-diff/pull/97/commits/78cdffb8b2bc76a4dab039fcbf763ac310e25f29
78cdffbhttps://github.com/igerber/diff-diff/pull/97/commits/78cdffb8b2bc76a4dab039fcbf763ac310e25f29
https://github.com/igerber
igerberhttps://github.com/igerber
14bc71fhttps://github.com/igerber/diff-diff/commit/14bc71f0c295e61d234d6befb6fd70e5b5b8f9f8
Jan 22, 2026https://github.com/igerber/diff-diff/pull/97#event-22217344822
Please reload this pagehttps://github.com/igerber/diff-diff/pull/97
https://github.com/igerber
igerberhttps://github.com/igerber
January 22, 2026 14:19https://github.com/igerber/diff-diff/pull/97#event-22217346276
igerberhttps://github.com/igerber
Jan 22, 2026 https://github.com/igerber/diff-diff/pull/97#ref-commit-be89974
https://github.com/igerber
https://github.com/claude
Add pre-merge-check skill and improve PR review workflowhttps://github.com/igerber/diff-diff/commit/be8997430edacefbcc36f9413ff1ec6f54889528
be89974https://github.com/igerber/diff-diff/commit/be8997430edacefbcc36f9413ff1ec6f54889528
#97https://github.com/igerber/diff-diff/pull/97
https://github.com/igerber
igerberhttps://github.com/igerber
Jan 22, 2026 https://github.com/igerber/diff-diff/pull/97#ref-pullrequest-3843171311
Add pre-merge-check skill and improve PR review workflow #98 https://github.com/igerber/diff-diff/pull/98
igerberhttps://github.com/igerber
Jan 31, 2026 https://github.com/igerber/diff-diff/pull/97#ref-commit-1b97f78
https://github.com/igerber
https://github.com/claude
Fix NaN t-statistics across 7 locations for consistent undefined infe…https://github.com/igerber/diff-diff/commit/1b97f787004720177311b34ca5170377254f4493
1b97f78https://github.com/igerber/diff-diff/commit/1b97f787004720177311b34ca5170377254f4493
#97https://github.com/igerber/diff-diff/pull/97
https://github.com/igerber
igerberhttps://github.com/igerber
Jan 31, 2026 https://github.com/igerber/diff-diff/pull/97#ref-pullrequest-3880050689
Fix NaN t-statistics across 7 locations for consistent undefined inference #118 https://github.com/igerber/diff-diff/pull/118
https://github.co/hiddenchars
https://github.com/igerber/diff-diff/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Figerber%2Fdiff-diff%2Fpull%2F97
Please reload this pagehttps://github.com/igerber/diff-diff/pull/97
https://github.com/igerber
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.