Hiii all! I have 25 imputed datasets from SAS, and I transferred these datasets into R. I am wondering how to let R recognize my imputed datasets and perform the analysis? Here are some codes I have so far:
df<-read.spss("IFS.sav",use.value.label=TRUE, to.data.frame=TRUE) #worked
as.mids(long=df,.imp= "X_Imputation_" , .id="survyid" )#doesn't work, it asked me about original dataset. I don't understand why I need that, and i am not sure how to do it.
with(data=analysis_final, exp=glm(......#this doesn't work. i am wondering how to perform analysis for each imputed dataset and use summary statistics?