Displaying 1 result from an estimated 1 matches for "t0rhfa".
2013 Feb 15
0
Ho w Do I Get Cox Model Convergence After Multiple Imputation
...h some of my predictor variables I first do multiple
imputation as follows:
library(foreign)
library(Amelia)
library(norm)
set.seed(666)
M=10
impdat <-
NVP[,c("X_t0","X_t","nvp","adstatus","t0rwfa","ageatran","whostage","t0rhfa","vlsupp","t0rwfh","t0rvl","t0rcd4pc","postrantb","resistance","id")]
round(apply(apply(impdat,c(1,2),is.na),2,mean),digits=3) # percentage of
missing values
myimp <- amelia(impdat, m=M, p2s=0,
noms=c("postrantb&qu...