We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 85de39a commit 2b331e1Copy full SHA for 2b331e1
doc/guide/models.rst
@@ -237,7 +237,7 @@ Estimation is conducted via its ``fit()`` method:
237
ml_m = RandomForestClassifier(n_estimators=100, max_depth=5, min_samples_leaf=5)
238
np.random.seed(42)
239
data = make_did_SZ2020(n_obs=500, return_type='DataFrame')
240
- # y is already defined a the difference of observed outcomes
+ # y is already defined as the difference of observed outcomes
241
obj_dml_data = dml.DoubleMLData(data, 'y', 'd')
242
dml_did_obj = dml.DoubleMLDID(obj_dml_data, ml_g, ml_m)
243
print(dml_did_obj.fit())
0 commit comments