Skip to content
Prev 19366 / 20628 Next

Methodological and practical issues about survey weights using lme4

Fernando,

Again, I think lmer does not handle survey weights, even at level 1. The weights argument is for precision weights (not sampling weights). From ?lmer: "The diagonal of the residual covariance matrix is the squared residual standard deviation parameter sigma times the vector of inverse weights."

If your analysis is about relating country-level features to country-level predictors, and you are unsure about an appropriate weighting strategy, then perhaps you could simplify things by aggregating to the country level. You could use the (level-1) survey weights to generate estimates of the population mean outcome in each country, along with a sampling variance for each country?s estimate. Then estimate the country level regression, or use meta-regression to account for the different sampling variances of the estimates from each country.

James