Skip to content

Commit 9900656

Browse files
committed
Fix DoubleMLQTE summary for unfitted model
1 parent 57720b2 commit 9900656

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doubleml/irm/qte.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,7 @@ def summary(self):
358358
A summary for the estimated causal effect after calling :meth:`fit`.
359359
"""
360360
col_names = ['coef', 'std err', 't', 'P>|t|']
361-
if np.isnan(self.coef).all():
361+
if self.framework is None:
362362
df_summary = pd.DataFrame(columns=col_names)
363363
else:
364364
summary_stats = np.transpose(np.vstack(

0 commit comments

Comments
 (0)