Skip to content

Conversation

@SvenKlaassen
Copy link
Member

@SvenKlaassen SvenKlaassen commented Feb 3, 2025

Update the sensitivity calculations in the DoubleMLFramework:

  • Remove psi_sigma2 and psi_nu2 from sensitivity_elements (still contained in DoubleML)
  • Add max_bias and psi_max_bias to sensitivity_elements
  • Update operations +, - and *

Update APO and IRM model

  • Improve DoubleMLAPO nuisance estimation for main regression (S learner for $d\neq \text{treatment level}$)
  • Includes sharper bounds for causal_contrast() sensitivity analysis
  • Update IRM and APO model scores: $\psi_a = -1 \cdot \omega(Y, D, X) / E[\omega(Y, D, X)] $
  • Update propensity score normalization for sensitivity analysis

Further changes

  • add pytest-coverage to development dependencies
  • add .coverage to .gitignore

PR Checklist

  • The title of the pull request summarizes the changes made.
  • The PR contains a detailed description of all changes and additions.
  • References to related issues or PRs are added.
  • The code passes all (unit) tests.
  • Enhancements or new feature are equipped with unit tests.
  • The changes adhere to the PEP8 standards.

@SvenKlaassen SvenKlaassen added the enhancement extension of existing feature label Feb 6, 2025
@SvenKlaassen SvenKlaassen changed the title Update Sensitivity Operations Update Sensitivity Operations & APO Model Feb 7, 2025
@SvenKlaassen SvenKlaassen marked this pull request as ready for review February 10, 2025 11:14
@SvenKlaassen SvenKlaassen merged commit ae15abf into main Mar 3, 2025
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement extension of existing feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants