Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: Welch's test with weighted data


From   "Nick Cox" <n.j.cox@durham.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: RE: Welch's test with weighted data
Date   Mon, 10 Jun 2002 14:38:53 +0100

VIVIAND Xavier
> 
> -ttest- command can be used to perform a two-sample comparison of 
> means with
> unequal variances
> (Welch's approximation). However, this command does not accept [weight].
> Does anyone know a method
> to get a Welch's test with weighted data (analytical weight) ?

Assuming that the weights are integers, then use -expand- 
before -ttest-.  

Nick 
n.j.cox@durham.ac.uk 
*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index