search for: vars_to_imput

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

Did you mean: vars_to_impute
2008 May 30
0
imputationlist, update, and recode
...e-imputed dataset to multiple datasets. The imputation runs just fine, as does the reading of the mi data sets into an imputationList. I run into trouble, though, when I try to construct a scale across all the data sets. Is there a simple way to do this? (here's what I've been trying) vars_to_impute = c("var1", ... "var50") imputed <- amelia(data=vars_to_impute, m=5, outname="miset") files.allmisets <- list.files(getwd(),pattern="miset*",full=TRUE) allmis <- imputationList(lapply(files.allmisets, read.csv)) scale1_vars <- c("var1"...