File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -352,7 +352,7 @@ def cate(self, basis):
352
352
'Valid score ' + ' or ' .join (valid_score ) + '.' )
353
353
354
354
# define the orthogonal signal
355
- orth_signal = self .psi_b .reshape (- 1 )
355
+ orth_signal = self .psi_elements [ ' psi_b' ] .reshape (- 1 )
356
356
# fit the best linear predictor
357
357
model = DoubleMLBLP (orth_signal , basis = basis ).fit ()
358
358
@@ -393,7 +393,7 @@ def gate(self, groups):
393
393
warnings .warn ('At least one group effect is estimated with less than 6 observations.' )
394
394
395
395
# define the orthogonal signal
396
- orth_signal = self .psi_b .reshape (- 1 )
396
+ orth_signal = self .psi_elements [ ' psi_b' ] .reshape (- 1 )
397
397
# fit the best linear predictor for GATE (different confint() method)
398
398
model = DoubleMLBLP (orth_signal , basis = groups , is_gate = True ).fit ()
399
399
You can’t perform that action at this time.
0 commit comments