[R] weighted x variables with glm

Michael Bedward michael.bedward at gmail.com
Mon Nov 29 04:10:56 CET 2010

Hello again Wendy,

Actually, the simex package is probably a more useful suggestion...



On 29 November 2010 13:55, Michael Bedward <michael.bedward at gmail.com> wrote:
>>> 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
> Sorry Wendy - I posted my reply prior to engaging my brain (ie. didn't
> read your question properly).
> You're talking about Model II / major axis type methods. The smatr
> package might cater for what you're trying to do.
> Hope this helps (more).
> Michael

More information about the R-help mailing list