[Bug]: store_predictions=TRUE
in fit()
does not save results with more than one treatment
#188
Labels
bug
Something isn't working
Describe the bug
I am working with DoubleMLPLIV. When there is more than one treatment and more than one instrument, and I use
store_predictions=TRUE
infit()
, the results for ml_m do not get saved and show NAs. Can this please be fixed?Minimum reproducible code snippet
Expected Result
There should not be NAs saved for
ml_m
variablesActual Result
I get NAs saved for
Versions
R version 4.2.2 (2022-10-31 ucrt)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 19045)
Matrix products: default
locale:
[1] LC_COLLATE=English_Canada.utf8 LC_CTYPE=English_Canada.utf8
[3] LC_MONETARY=English_Canada.utf8 LC_NUMERIC=C
[5] LC_TIME=English_Canada.utf8
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] mlr3learners_0.5.4 mlr3_0.14.1 DoubleML_0.5.3
loaded via a namespace (and not attached):
[1] Rcpp_1.0.9 parallelly_1.32.1 splines_4.2.2
[4] MASS_7.3-58.1 uuid_1.1-0 lattice_0.20-45
[7] R6_2.5.1 foreach_1.5.2 lgr_0.4.4
[10] globals_0.16.1 tools_4.2.2 palmerpenguins_0.1.1
[13] grid_4.2.2 glmnet_4.1-4 parallel_4.2.2
[16] checkmate_2.1.0 data.table_1.14.2 clusterGeneration_1.3.7
[19] mlr3tuning_0.15.0 iterators_1.0.14 survival_3.4-0
[22] digest_0.6.29 crayon_1.5.2 Matrix_1.5-1
[25] paradox_0.10.0 mlr3measures_0.5.0 codetools_0.2-18
[28] shape_1.4.6 future.apply_1.9.1 compiler_4.2.2
[31] readstata13_0.10.0 bbotk_0.6.0 backports_1.4.1
[34] mlr3misc_0.11.0 future_1.28.0 mvtnorm_1.1-3
[37] listenv_0.8.0
The text was updated successfully, but these errors were encountered: