Skip to content

Commit

Permalink
fixed alpha bug
Browse files Browse the repository at this point in the history
  • Loading branch information
jmafoster1 committed Aug 22, 2024
1 parent 2b7042d commit 362ecb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion causal_testing/testing/estimators.py
Original file line number Diff line number Diff line change
Expand Up @@ -823,7 +823,7 @@ def estimate_hazard_ratio(self):

# IPCW step 4: Use these weights in a weighted analysis of the outcome model
# Estimate the KM graph and IPCW hazard ratio using Cox regression.
cox_ph = CoxPHFitter()
cox_ph = CoxPHFitter(alpha=self.alpha)
cox_ph.fit(
df=preprocessed_data,
duration_col="tout",
Expand Down

0 comments on commit 362ecb1

Please sign in to comment.