[R] weighted x variables with glm

Michael Bedward michael.bedward at gmail.com
Mon Nov 29 03:15:29 CET 2010


Hi Wendy,

In case you haven't see it, the glm function accepts an optional
weights argument.

Michael

On 29 November 2010 09:42, Wendy Anderson <newhorizonscandelo at gmail.com> wrote:
> I have a glm regression (quasi-poisson) of log(mu) on x but I have varying
> degrees of confidence in the x values, and can attach a numerical weighting
> to each. Can anyone help me with suggestions of how to analysise this. Is
> there an R package that would help?
>
> Wendy
>
>        [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>



More information about the R-help mailing list