Skip to content

lme4 package

3 messages · Alejandro Izaguirre, Ben Bolker

#
My name is Alejandro Izaguirre, I am an economist specialized in spatial
data analysis. I use linear mixed  models for estimating poverty maps.
I have a question about the *lme4* package, specifically about lmer. I
usually work with informative sampling designs and I would like to know if
the command *"weights"* in *lmer* stands for sampling weights. There are
discussions on the internet about this, and I would like to ask you for
some clarifications.

Thank you very much.

regards,

Alejandro Izaguirre
1 day later
#
lmer does *not* implement sampling weights. You may want to look at 
the svylme <https://CRAN.R-project.org/package=svylme> package (see the 
README at https://cran.r-project.org/web/packages/svylme/readme/README.html)

    cheers
    Ben Bolker
On 2024-06-24 3:21 p.m., Alejandro Izaguirre wrote:

  
    
#
I've been reminded that I forgot about the WeMix package 
<https://CRAN.R-project.org/package=WeMix>, which supports some models 
that svylme doesn't ...

   Ben Bolker
On 2024-06-26 9:21 a.m., Ben Bolker wrote: