[R] svyglm and sandwich estimator of variance

2008-12-19 Thread Roberta Pereira Niquini
Hi, I would like to estimate coefficients using poisson regression and then get standard errors that are adjusted for heteroskedasticity, using a complex sample survey data. Then I will calculate prevalence ratio and confidence intervals. Can sandwich estimator of variance be used when observa

[R] prevalence ratio and confidence intervals

2008-12-12 Thread Roberta Pereira Niquini
Hi everybody, I would like to estimate prevalence ratio and confidence intervals. I tried to do a log-binomial regression, but there was a failure of convergence. Now, I would like to learn how to do a poisson regression with robust variance. I am trying to estimate coefficients with poisson r