[R] t-test, survey data

Thomas Lumley tlumley at u.washington.edu
Wed Mar 11 14:05:57 CET 2009


On Wed, 11 Mar 2009, Marie Vandresse wrote:
>
>     *How can I do a t-test with survey data?*
>

The 'survey' package does analysis of survey data.  There isn't a t-test function; the easiest way to test for differences in means is with a linear regression model, using svyglm()

   -thomas



Thomas Lumley			Assoc. Professor, Biostatistics
tlumley at u.washington.edu	University of Washington, Seattle




More information about the R-help mailing list