[R] survey methods

Thomas Lumley thomas at biostat.washington.edu
Wed May 31 17:45:03 CEST 2000


On Mon, 29 May 2000, Jose Ramon G. Albert wrote:

> i've just gotten hold of STATA and see that there are a number
> of helpful functions for survey based analysis that takes into
> account stratification, weights, etc. is there something
> similar in R or is this on a to-do list?

I would like to have this sort of code and have vague plans to look into
it but nothing concrete. It would be useful to distinguish between
sampling weights and frequency weights the way Stata does, particularly
with inverse-probability weighting techniques becoming more popular in
biostatistics.  I'm most likely to get around to this for lm and glm
rather than for descriptive statistics, though.

At the moment, though, I think the traditional response "if
you want Stata you know where to find it".  You can transfer data easily
between Stata and R using the stataread package, and Stata is very good at
the things it is good at (which are in many ways orthogonal to the
things R is good at)


	-thomas

Thomas Lumley
Assistant Professor, Biostatistics
University of Washington, Seattle

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list