Re: [R] relative risk regression with survey data

2010-09-15 Thread Thomas Lumley
On Wed, 15 Sep 2010, Ravi Varadhan wrote: Dear Thomas, You said, "the log-binomial model is very non-robust when the fitted values get close to 1, and there is some controversy over the best approach." Could you please point me to a paper that discusses the issues? I have written some code to

Re: [R] relative risk regression with survey data

2010-09-15 Thread Ravi Varadhan
lund Cc: r-help@r-project.org Subject: Re: [R] relative risk regression with survey data On Mon, 13 Sep 2010, Daniel Nordlund wrote: > I have been asked to look at options for doing relative risk regression on > some survey data. I have a binary DV and several predictor / adjustment &g

Re: [R] relative risk regression with survey data

2010-09-13 Thread Daniel Nordlund
Thanks to Thomas Lumley and David Winsemius for their responses. I had read a number of papers by Thomas and have ordered his book on survey analysis, but I wanted to get some confirmation because I wanted to get started before the book arrived. Thanks, again. Dan Daniel Nordlund Bothell, WA US

Re: [R] relative risk regression with survey data

2010-09-13 Thread Thomas Lumley
On Mon, 13 Sep 2010, Daniel Nordlund wrote: I have been asked to look at options for doing relative risk regression on some survey data. I have a binary DV and several predictor / adjustment variables. In R, would this be as "simple" as using the survey package to set up an appropriate desig

[R] relative risk regression with survey data

2010-09-13 Thread Daniel Nordlund
I have been asked to look at options for doing relative risk regression on some survey data. I have a binary DV and several predictor / adjustment variables. In R, would this be as "simple" as using the survey package to set up an appropriate design object and then running svyglm with family=