search for: miextract

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

2007 Mar 02
1
Mitools and lmer
...List(lapply(list.files(data.dir, > pattern="imp.\\.dta", full=TRUE), read.dta)) > > #estimate model over each imputed dataset > model0<-with(files.imp,lmer( erq2tnc ~1+trt2+nash+wash+male+coh2+coh3+(1 | > sitebeth))) > #extract betas and standard errors > betas<-MIextract(model0,fun=coef) > vars<-MIextract(model0,fun=vcov) > #Combine the results > summary(MIcombine(betas,vars)) > > Error in cbar + results[[i]] : non-numeric argument to binary operator > Error in summary(MIcombine(betas, vars)) : > error in evaluating the argument 'object&...
2010 Jun 30
3
Logistic regression with multiple imputation
Hi, I am a long time SPSS user but new to R, so please bear with me if my questions seem to be too basic for you guys. I am trying to figure out how to analyze survey data using logistic regression with multiple imputation. I have a survey data of about 200,000 cases and I am trying to predict the odds ratio of a dependent variable using 6 categorical independent variables (dummy-coded).