Displaying 1 result from an estimated 1 matches for "ageatran".
Did you mean:
agaran
2013 Feb 15
0
Ho w Do I Get Cox Model Convergence After Multiple Imputation
Due to missing data with 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(impda...