Skip to content
Prev 6194 / 20628 Next

fitting mixed effects logistic regression with weights

Dear all,

I have been trying to fit a logistic regression model with random intercept for survey sampled data using the lmer in the lme4 package. I also want to get HPD intervals. I tried family=binomial as well as family=quasibinomial. I am encountering the following errors. "Eror in .local(object, n, verbose, ...) : Update not yet written" and  "Error in HPD interval(mcmcsamp(fit, 1000)) :   error in evaluating the argument 'object' in selecting a method for function 'HPDinterval'. See more below:

Does anyone know how to go around this problem?
Thanks.
Loading required package: Matrix
Loading required package: lattice
Attaching package: 'Matrix'
The following object(s) are masked from 'package:base':
    det
Attaching package: 'lme4'
The following object(s) are masked from 'package:stats':
    AIC
Error in .local(object, n, verbose, ...) : Update not yet written
Error in HPDinterval(mcmcsamp(fit, 1000)) : 
  error in evaluating the argument 'object' in selecting a method for function 'HPDinterval'
Error: object 'ci' not found
Error: object 'ci' not found
__________________________________________
Mulugeta Gebregziabher, PhD
Assistant Professor
Division of Biostatistics and Epidemiology
135 cannon St. Suite 303
Charleston, SC 29425
Tel: 843-876-1112; Fax: 843-876-1126
E-mail: gebregz at musc.edu