[R] clustering and stratification

Thomas Lumley tlumley at u.washington.edu
Thu Feb 6 01:50:03 CET 2003


On Wed, 5 Feb 2003, Jason Bond wrote:

> Hello,
>
>    Does R have any capabilities (or are there any add on packages) which
> can do estimation of standard statistical models (means, regression,
> logistic regression, etc) which take into account not only weights (e.g.
> post-stratification weights) but also the sample design, such as
> stratification and clustering information (to compute a robust taylor
> linearized variance estimator, for example)?  Thanks much for any input,

The new `survey' package does this for means, tables, glm and cox models.
It would be pretty easy to add support for the parametric survival models
if there were any demand.

It incorporates weights, stratification, clustering, and the finite
population correction to variance if desired.

	-thomas




More information about the R-help mailing list