[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: AW: t-test using analytic weights

From   Maarten buis <>
Subject   Re: st: AW: t-test using analytic weights
Date   Tue, 10 Nov 2009 07:04:30 -0800 (PST)

--- Sripal Kumar wrote:
> I am trying to use t-test of independent samples but by
> using analytic weights.  I tried the following:
> ttest age1 == age2 [aweight = wt], unpaired
> I get an error message saying "weights not allowed". 
> Is there a way around it?

--- On Tue, 10/11/09, Martin Weiss wrote:
> The archive is full of advice to try an equivalent
> -regress- command...

The archive is also full of advise that aweights are almost
never the appropriate weight type (aweights are for the 
very special situation where your observations aren't 
observations but estimates and the weights are the inverse 
of the standard error squared).

-- Maarten

Maarten L. Buis
Institut fuer Soziologie
Universitaet Tuebingen
Wilhelmstrasse 36
72074 Tuebingen


*   For searches and help try:

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