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" <[email protected]>
To   <[email protected]>
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 
[email protected] 
*
*   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index