Displaying 1 result from an estimated 1 matches for "erorpr".
Did you mean:
eror
2012 Jul 05
0
Confused about multiple imputation with rms or Hmisc packages
...x codes for events as a binary variable.
#The CPH model I would like to fit, using Ograde_dx as the variable for overall grade at
#diagnosis, ord_nodes as an ordinal variable for the # lymph nodes involved.
obj=with(mydata, Surv(recurfree_survival_fromsx,rf_obs_sx))
mod=cph(obj~ord_nodes+Ograde_dx+ERorPR+HER2_Sum,data=mydata,x=T,y=T)
#Impute missing data
mydata.transcan=transcan(~Ograde_dx+tumorsize+ord_nodes+simp_stage_path+afam+
Menopause+Age,imputed=T,n.impute=10)
summary(mydata.transcan)
The issues I have are:
a) In your opinion(s), should I even be imputing this data? Is it appropriate...