Skip to content

Binary outcome, and multiple binary treatments. #228

Answered by SvenKlaassen
ctrivino1 asked this question in Q&A
Discussion options

You must be logged in to vote

Your are correct that the DoubleMLPLR odel can handle binary treatments, but you should use two seperate models if you want to use binary and continious treatments. The reason would be that the learner for ml_m is either used as a regressor or classifier (see DoubleMLPLR).
You can just define two DoubleMLData objects, where the first just uses the continuous treatments and add the binary treatments to the controls x. There you can use a regressor as learner for ml_m. Afterwards, use the binary treatments and instead add the continuous treatments to the controls. Then you should use a classifier as learner for ml_m.

For binary treatments, you could also use the DoubleMLIRM model, but there…

Replies: 2 comments 11 replies

Comment options

You must be logged in to vote
2 replies
@ctrivino1
Comment options

@SvenKlaassen
Comment options

Answer selected by SvenKlaassen
Comment options

You must be logged in to vote
9 replies
@SvenKlaassen
Comment options

@ctrivino1
Comment options

@ctrivino1
Comment options

@SvenKlaassen
Comment options

@ctrivino1
Comment options

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