Hello everyone,
first of all thanks to whoever will help me out.
I'm trying to run a stcrreg command to have a competing risk survival analysis on my (m=10) imputed dataset. (below you have the code).
here is a unvariable regression that I've tried to see if it works before running the correct multivariable model. Nonetheless STATA process for more than 20 min without displaying any results (or error) than my Mac starts overheating and pre program crashes.
You see any error in the code here? any suggestion?
Thanks
Paolo
________________
- I generate the competing risk variable -
generate competerisk1 = 0
replace competerisk = 1 if CVD == 1
replace competerisk1 = 2 if OM == 1
label define competerisk1 1"1" 2"2",replace
label values competerisk1 competerisk1
mi stset sos_outtime_death, failure(competerisk=1)
mi estimate, eform post: stcrreg i.treatment , compete(competerisk1==2)
first of all thanks to whoever will help me out.
I'm trying to run a stcrreg command to have a competing risk survival analysis on my (m=10) imputed dataset. (below you have the code).
here is a unvariable regression that I've tried to see if it works before running the correct multivariable model. Nonetheless STATA process for more than 20 min without displaying any results (or error) than my Mac starts overheating and pre program crashes.
You see any error in the code here? any suggestion?
Thanks
Paolo
________________
- I generate the competing risk variable -
generate competerisk1 = 0
replace competerisk = 1 if CVD == 1
replace competerisk1 = 2 if OM == 1
label define competerisk1 1"1" 2"2",replace
label values competerisk1 competerisk1
mi stset sos_outtime_death, failure(competerisk=1)
mi estimate, eform post: stcrreg i.treatment , compete(competerisk1==2)
Comment