Skip to content

Score function "IV-type" for PLIV with two IVs #182

Answered by PhilippBach
AdamBaumann asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @AdamBaumann ,

thanks for opening this discussion. Indeed, we are only supporting the 'partialling out' score for PLIV with multiple instruments $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.

Basically, adapting the score in a way you proposed would require to adjust the lines below, I guess

r_hat = dml_cv_predict(self$learner$ml_r,
c(
self$data$x_cols,
self$data$other_treat_cols,
self$data$z_cols),
self$data$tr…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@PhilippBach
Comment options

Answer selected by AdamBaumann
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants