Hi Statalist,
My problem is to evaluate two treatments for bladdercancer. Data is from an observational register. Outcome is dead/not dead. The two treatments are U and V. My instrument (IV) is the fraction of former patients, treated with U, at that very hospital. Thus for each and every patient I have calculated (nU/(nU+nV)) for formerly treated patients. This is the instrumental variable constructed to avoid or mitigate bias due to confounding in the choice of treatment. It could be called the hospital preference. It will take a value 0-1. I will also include (the same) confounders in the two stages, such as gender, age, education and cancer type. Thus, in the first stage I would like to set up the model: Treatment (U/V)= IV+gender+age+edu+ct. In the second stage it would be Death=estimated Treatment (from 1st stage)+gender+age+edu+ct.
I am supposed to use ivreg2 to solve the problem. I am quite unfamiliar with the econometric terminology (endogenous/exogenous/in-/excluded instruments) mostly used in this context. I am unfamiliar with STATA.
Could anyone help me to specify the command?
Kind Regards
Related Posts with ivreg2
How to construct the distribution of propensity scores calculated from the pre-match conditional logistic regression?Dear Statalists, Hope my message finds you well. I am trying to construct an estimated propensity …
Drop panel if condition of at least one observation of panel is trueHi together, i use stata 16.0 and have a panel data set including banks (unique identifier is the v…
Convergence error in calculating of productivity by SFA - "Kumbhakar, S.C, 2015"Dear everyone, I am calculating total factor productivity by SFA model in using STATA. When I run …
Binning times in hours, rounding error?Hello, I am trying to truncate times to only the hour using floor so that I can merge all data for …
Marginsplot axis value labelsI'm using marginsplot to graph a repeated measures anova, with the timepoints labeled t0-t9. This me…
Subscribe to:
Post Comments (Atom)
0 Response to ivreg2
Post a Comment