-
Notifications
You must be signed in to change notification settings - Fork 99
Implementation of sample selection estimators #231
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
SvenKlaassen
merged 38 commits into
DoubleML:add-sample-selection-models
from
mychaelka:causalweight_impl
Mar 28, 2024
Merged
Changes from 1 commit
Commits
Show all changes
38 commits
Select commit
Hold shift + click to select a range
7a29196
Move sample selection model to double_ml_for_py from templates
f5e2a78
Move sample selection model to double_ml_for_py from templates
5ce921f
Nuisance estimation for MAR sample selection
98cde59
Add pi and p propensity scores estimation
254a1dc
Fix estimation of nuisance functions
65ac448
fix estimation error caused by S column
0c7705f
Fix issues with wrong sampling
6c0a2e5
Start working on nonignorable nonresponse
ba22c03
Save before rebasing
64c04f9
Implement estimator for selection under nonignorable nonresponse
c443a96
Fix estimation errors in MAR and nonignorable nonresponse estimators …
ce21cc0
Implement weights normalization and start writing tests
e45d1e4
Write initial tests for MAR
c9658c2
Write initial tests for nonignorable nonresponse estimator
694389f
Remove unnecessary imports
02029f6
Add DoubleMLS to __init__.py for relative imports
3a9be3c
Add minor comments and change sample size in simulated data in confte…
38a65fa
Fix formatting according to PEP8
83f8143
Change model name to DoubleMLSSM and remove line redefining pi_hat
bf267fd
Raise warning instead of error when instrument is present and MAR sel…
c005549
Create DGP for sample selection in datasets.py
f90804d
Add default value tests for sample selection models
ecf6485
Add tests for SSM return types
26aab36
Remove z column from data returned in case of MAR
20ef6af
Fix formatting and change default number of CV folds to 5
ad19b97
Raise NotImplementedError for sequential conditional independence
209662e
Add exception tests for SSM
1f6e341
Change DGP for sample selection tests
315fe8b
Add binary outcome check for classifier mu and trim observations in _…
93ed42e
Remove unused imports and variables
d6e0af7
Change names of nuisance functions
fc3bf2d
Change score name 'mar' to 'missing-at-random' and set default ipw no…
b428015
Use _check_score from utilities and allow multiple instruments in cas…
6d29055
Refactor to use only one splitting procedure and correct ordering, re…
0e1969b
Rename selection to ssm
fb6a38f
Fix return type tests after renaming nuisance functions
7bd83d7
Add .coverage
6115f25
Save fitted models under nonignorable nonresponse
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Change model name to DoubleMLSSM and remove line redefining pi_hat
- Loading branch information
There are no files selected for viewing
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
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
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 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.
Uh oh!
There was an error while loading. Please reload this page.