Hello, everyone. I am actually quite new with Statalist, and just beginning to learn Stata beyond what was taught in our syllabi. I need your help with IV estimation. I wish to estimate mortality risk with BMI as main predictor (with survival analysis). To address the issue of reverse causation involving BMI and comorbid illness, I would like to use BMItime–1 as instrumental variable for BMI... with both BMIs as ordinal variables (underweight, normal[baseline], overweight, obese 1, obese 2, obese 3). What should I use in Stata? Is it ivregress or ivpoisson. Also, can anyone help me on how to code this in Stata? So far, the Stata manual hasn't been really helpful (the instrument is treated as continuous), and I've searched as extensively as I can, but came up with nothing. Do I create a separate dummy variable for each BMI class (e.g., BMI_time-1_underweight = 0 or 1, etc.)?
For completion, my other exogenous variables are age, sex, and current smoking status, and my other instruments are diabetestime-1 (0 or 1) and cardiovascular diseasetime-1 (0 or 1) and smoking status at time-1 (smoker vs nonsmoker).
Thank you all so much for your time and understanding.
Related Posts with IV estimation with ordinal endogenous variable and ordinal instrumental variable
Sample ExtractionDear All, I have a panel monthly dataset (id and month), from 2001 - 2018, and I need 10 year (120 …
Best desktop PC / configuration / charastectics for StataHi, I spend a lot of time working with Stata, handling sometimes medium to large datasets (4-100Go)…
Word cloud and sentiment analysis using StataDear Stata Forum members, I wish to find a user-written program to perform high quality "word clou…
Duplicating previous year data Code: +----------------------------------------+ | country year dbagdp pcrdbgd…
-mkcons- .ado to make a constantDear data cleaners I made a small program to check whether there is a constant called cons in the d…
Subscribe to:
Post Comments (Atom)
0 Response to IV estimation with ordinal endogenous variable and ordinal instrumental variable
Post a Comment