[R-sig-ME] design weights
Mohd Masood
drmasoodmohd at gmail.com
Tue Aug 18 11:53:47 CEST 2015
Hi Andrea
Use "survey" package in R. It deals with survey design including weights.
BW
Masood
Sent from my iPhone
> On Aug 18, 2015, at 5:36 PM, Andrea Cantieni <andrea.cantieni at phsz.ch> wrote:
>
> Hi,
>
> Is there a way to use design weights - i.e. each unit is weighted inversely proportional to its probability of selection - as in HLM?
>
> http://www.ssicentral.com/hlm/example6-2.pdf
>
> Or does anybody know how to do this in R otherwise?
>
> Best regards,
> Andrea Cantieni
>
> ........................................
>
> Andrea Cantieni
> Research Assistant
>
> University of Teacher Education Schwyz
> Institute for Media and Schools
> Zaystrasse 42
> 6410 Goldau
> Switzerland
>
> andrea.cantieni at phsz.ch<mailto:andrea.cantieni at phsz.ch>
> www.phsz.ch<http://www.phsz.ch>
>
> ..........................................
> _____ _ _ _ _
> | __ \ | | | | (_) | |
> | |__) | ___ _ __ | |_| |__ _ _ ___ _ __ _ ___| |_
> | _ / / _ \ '_ \| __| '_ \| | | / __| |/ _` / __| __|
> | | \ \ | __/ | | | |_| | | | |_| \__ \ | (_| \__ \ |_
> |_| \_\ \___|_| |_|\__|_| |_|\__,_|___/_|\__,_|___/\__|
>
>
>
>
>
>
> [[alternative HTML version deleted]]
>
> _______________________________________________
> R-sig-mixed-models at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-sig-mixed-models
More information about the R-sig-mixed-models
mailing list