search for: ograde_dx

Displaying 1 result from an estimated 1 matches for "ograde_dx".

2012 Jul 05
0
Confused about multiple imputation with rms or Hmisc packages
...Here is a sample of my data: https://dl.dropbox.com/u/1852742/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...