Score function "IV-type" for PLIV with two IVs #182
-
When trying to compare the result of using the "partialling out" and "IV-type" score functions for PLIV with two IVs there is seemingly only the option of using "partialling out". Is it possible to implement the IV-type score function here in a similar fashion as for the PLIV with one IV as stated in the documentation? Below is the exact message regarding this: Error in private$check_score(self$score) : |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @AdamBaumann , thanks for opening this discussion. Indeed, we are only supporting the Basically, adapting the score in a way you proposed would require to adjust the lines below, I guess doubleml-for-r/R/double_ml_pliv.R Lines 693 to 714 in c9a67bc As far as I see, it should not be too much effort, so feel free to implement it yourself and open a pull request (see our Contributing guidelines). Extending IV models is definitely on the list of the next features we want to include in DoubleML. We are currently working on some other topics, so we haven't completed the work on this yet. |
Beta Was this translation helpful? Give feedback.
Hi @AdamBaumann ,
thanks for opening this discussion. Indeed, we are only supporting the$Z$ at the moment. Right now, the implementations of more complex IV models is still experimental, so when you use such a model, please make sure you double check with a paper reference and verify the validity in a simulation.
'partialling out'
score for PLIV with multiple instrumentsBasically, adapting the score in a way you proposed would require to adjust the lines below, I guess
doubleml-for-r/R/double_ml_pliv.R
Lines 693 to 714 in c9a67bc