Hi All.
I am analyzing data from a trial looking at the impact of treatment on prognosis (i.e. dead or alive). Participants were either receiving usual care or a new treatment; however, some contamination happened and after running an intention to treat analysis, I would like to adjust for the contamination. I know per protocol analyses are not perfect and have come across a paper suggesting using Complier Average Casual Effect analysis where the instrumental variable is the treatment actually received.
In Stata, there is a command called ivregress that can conduct instrumental variable regressions but this seems to require continuous outcomes (and possibly predictors). Is there an equivalent command (or workaround) that can be used when the outcome, predictor and instrumental variables are binary?
Thanks for your help!
Related Posts with ivregress for binary variables
Where STATA is storing the loading factors ( Factor analysis using GSEM)Hi guys, I used "gsem" commend and "predict, latent" to estimate factor scores and the factors scor…
putpdf image errorAfter a logit, I am doing Code: lroc graph export "$charts\roc_y_1_x_`k'.png", replace putpdf imag…
Do I need to add main effect in a regression model with a Difference value between two variables?Hi, Here is my regression model: regress y x1 x2 x3_x4; /* x3_x4 = x3 - x4 */ Do I need to add x3…
Empty cells in some imputations of multiply imputed dataI have a data set that some colleagues and I need to do a survival analysis on. The outcome is time …
Probably beginner question: How to format monthly datesHi there, I am new to Stata and I started last week as a total newbie. What I want to do is to che…
Subscribe to:
Post Comments (Atom)
0 Response to ivregress for binary variables
Post a Comment