Re: [R] weighted x variables with glm

2010-11-28 Thread Michael Bedward
Hello again Wendy, Actually, the simex package is probably a more useful suggestion... http://www.stat.uni-muenchen.de/~helmut/Texte/Simex_Rnews.pdf Michael On 29 November 2010 13:55, Michael Bedward wrote: >>> In case you haven't see it, the glm function accepts an optional >>> weights argume

Re: [R] weighted x variables with glm

2010-11-28 Thread Michael Bedward
>> In case you haven't see it, the glm function accepts an optional >> weights argument. >> > > Thanks for the reply. But the philosopy behind weighting is the assumption > of unequal variance in the y values. In normal regression one assumes that > the x values are known without error > > Wendy S

Re: [R] weighted x variables with glm

2010-11-28 Thread Michael Bedward
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 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

[R] weighted x variables with glm

2010-11-28 Thread Wendy Anderson
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 ver