search for: m2_1

Displaying 2 results from an estimated 2 matches for "m2_1".

Did you mean: m21
2012 Jan 11
3
summarizing a complex dataframe
I need some help summarizing complex data frames (small example below): m1_1 m2_1 m3_1 m1_2 m2_2 m3_2 i1 1 1 1 2 2 2 i1 2 1 1 2 2 2 i2 2 2 1 2 2 2 For an arbitrary number of columns (say m1 ?. m199) where the column names have variable patterns, and such that each set of columns is repeated (with potentially u...
2013 Feb 15
0
Ho w Do I Get Cox Model Convergence After Multiple Imputation
...ns[[i]])[21]<-c("nvpcat1") myimp$imputations[[i]] <- cbind(myimp$imputations[[i]],cut(myimp$imputations[[i]]$nvp,breaks=c(-1,4,1000000000))) colnames(myimp$imputations[[i]])[22]<-c("nvpcat10")} head(myimp$imputations[[1]]) ###### Then I perform cox regression as follows m2_1<-coxph(Surv(X_t0,X_t, vlsupp) ~ nvp + as.factor(cd4pccat) + as.factor(vlcat) + as.factor(agecat) + as.factor(whostage) + as.factor(hfacat) + as.factor(wfacat) + as.factor(wfhcat) + as.factor(resistance) + as.factor(postrantb) + cluster(id),data=myimp$imputations[[1]],method="breslow"...