Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
sdaza committed Dec 12, 2024
1 parent 9edc7c3 commit dec3a36
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions experiment_utils/experiment_analyzer.py
Original file line number Diff line number Diff line change
Expand Up @@ -581,13 +581,12 @@ def get_effects(self, min_binary_count=100, adjustment=None):
relevant_covariates = set(self.final_covariates) & set(self.regression_covariates)

adjustment_labels = {
None: '',
'IPW': 'IPW',
'IV': 'IV'
}

if adjustment in adjustment_labels and len(relevant_covariates) > 0:
adjustment_label = adjustment_labels[adjustment] + ' + Regression'
adjustment_label = adjustment_labels[adjustment] + '+Regression'
elif adjustment in adjustment_labels:
adjustment_label = adjustment_labels[adjustment]
elif len(relevant_covariates) > 0:
Expand Down

0 comments on commit dec3a36

Please sign in to comment.