Displaying 1 result from an estimated 1 matches for "ord_nod".
Did you mean:
word_no
2012 Jul 05
0
Confused about multiple imputation with rms or Hmisc packages
...742/sample.csv
Drawing from Chapter 8 of Harrell's book, this is what I've been toying with:
#recurfree_survival_fromsx is survival time, rf_obs_sx 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,...