Re: [R] Estimating the standard error when you have sampling weights.

From: Thomas Lumley <>
Date: Tue, 25 Nov 2008 13:05:49 -0800 (PST)

On Mon, 24 Nov 2008, Robert Wilkins wrote:

> Hi,
> Where can I find information ( freely available on the Internet , and also
> books or other sources ) on how having sampling weights changes the
> calculation of the standard error (of means and proportions)?

Alan Zaslavsky keeps a comprehensive list of software for complex surveys, at

Although I'm biased, I think the 'survey' package in R is better than either SPSS or SAS for this purpose. The main competition would be Stata and the specialised packages such as SUDAAN and WesVar.

If you just want means and proportions, though, any of the software would be perfectly adequate.

The PEAS project at Napier University has some nice introductory material, although some of their software comparisons are a bit out of date:


Thomas Lumley			Assoc. Professor, Biostatistics	University of Washington, Seattle

______________________________________________ mailing list PLEASE do read the posting guide and provide commented, minimal, self-contained, reproducible code. Received on Tue 25 Nov 2008 - 21:12:08 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 25 Nov 2008 - 21:30:27 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive