Skip to content

Commit fa6edbb

Browse files
committed
update for DoubleMLSSM data class
1 parent 3bcd5c5 commit fa6edbb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

monte-cover/src/montecover/ssm/ssm_mar_ate.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,5 +119,5 @@ def _generate_dml_data(self, dgp_params: Dict[str, Any]) -> dml.DoubleMLData:
119119
mar=True,
120120
return_type="DataFrame",
121121
)
122-
dml_data = dml.DoubleMLData(data, "y", "d", s_col="s")
122+
dml_data = dml.data.DoubleMLSSMData(data, "y", "d", s_col="s")
123123
return dml_data

monte-cover/src/montecover/ssm/ssm_nonig_ate.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,5 +121,5 @@ def _generate_dml_data(self, dgp_params: Dict[str, Any]) -> dml.DoubleMLData:
121121
mar=False,
122122
return_type="DataFrame",
123123
)
124-
dml_data = dml.DoubleMLData(data, "y", "d", z_cols="z", s_col="s")
124+
dml_data = dml.data.DoubleMLSSMData(data, "y", "d", z_cols="z", s_col="s")
125125
return dml_data

0 commit comments

Comments
 (0)