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
lme4 package
3 messages · Alejandro Izaguirre, Ben Bolker
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:
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 [[alternative HTML version deleted]]
_______________________________________________ R-sig-mixed-models at r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-sig-mixed-models
Dr. Benjamin Bolker Professor, Mathematics & Statistics and Biology, McMaster University Director, School of Computational Science and Engineering (Acting) Graduate chair, Mathematics & Statistics > E-mail is sent at my convenience; I don't expect replies outside of working hours.
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:
?? 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:
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 ????[[alternative HTML version deleted]]
_______________________________________________ R-sig-mixed-models at r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-sig-mixed-models
Dr. Benjamin Bolker Professor, Mathematics & Statistics and Biology, McMaster University Director, School of Computational Science and Engineering (Acting) Graduate chair, Mathematics & Statistics > E-mail is sent at my convenience; I don't expect replies outside of working hours.