--- 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
Germany
http://www.maartenbuis.nl
--------------------------
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/