Skip to content
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

Doubly robust models renaming + multiple treatment-feature options #28

Merged
merged 6 commits into from
Jan 25, 2022

Conversation

ehudkr
Copy link
Collaborator

@ehudkr ehudkr commented Jan 25, 2022

Current doubly robust options have opaque naming due to historical reasons.
This PR fixes it (on the expanse of backward compatibility) and provides more meaningful names.

Additionally, expands the capabilities of the propensity-feature doubly robust (adding a treatment-based covariate to the outcome model), by allowing several variants of the treatment-based feature.

ehudkr and others added 6 commits January 25, 2022 13:57
Adds several options for propensity features:
 1. inverse-propensity weight: 1/Pr[A=a_i|X].
 2. inverse-propensity matrix: 1/Pr[A=a|X] for all possible `a`s.
 3. propensity vector: Pr[A=1|X]
 4. logit-transformed propensities: logit(Pr[A=1|X])
 5. propensity matrix: Pr[A=a|X] for all possible `a`s.

Also adds corresponding tests for these options.
@ehudkr ehudkr merged commit 63e171d into master Jan 25, 2022
@ehudkr ehudkr deleted the dr_renaming branch January 25, 2022 20:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant