Hello SIG members,

I would like to incorporate sampling weights in glmer. I was wondering if supplying the sampling weights to the 'weights' option in glmer (package lme4) would be a possibility. The documentation for the 'weights' option only states that it's the same as in lm(). Since I'm running a logistic model for a binary outcome variable, sticking the weights in this option yields the (not surprising) error message that the outcome variable is no longer binary and that it conflicts with fitting a logistic regression model.

Are there other options for using sampling weights in glmer or do I need to incorporate them into the data compilation before running glmer?

Many thanks for your response!
Tanja


	[[alternative HTML version deleted]]


