Skip to content

Commit

Permalink
normalization documented
Browse files Browse the repository at this point in the history
  • Loading branch information
sami6mz committed Aug 31, 2023
1 parent 3de1915 commit 0df129d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/benchmark_mediation.py
Original file line number Diff line number Diff line change
Expand Up @@ -1123,7 +1123,9 @@ def med_dml(
Trimming treshold for discarding observations with extreme probability.
normalized : boolean, default=True
Normalizes the inverse probability-based weights.
Normalizes the inverse probability-based weights so they add up to 1, as
described in "Identifying causal mechanisms (primarily) based on inverse probability weighting",
Huber (2014), https://doi.org/10.1002/jae.2341
regularization : boolean, default=True
Whether to use regularized models (logistic or linear regression).
Expand Down

0 comments on commit 0df129d

Please sign in to comment.