Hello -
I have been struggling to find a way to compare the means of a
different categories of one of my variable. I think I have found a way
but I wonder if there would be a more efficient way to do it. In the
following example, var 2 has five categories (var2a-var2e). Here's teh
commands I type (after survey setting the data):
svy linearized : mean var1, over(var2)
test [var1]var2a = [var1]var2b = [var1]var2c = [var1]var2d =
[var1]var2e, mtest(b)
test [var1]var2b = [var1]var2c = [var1]var2d = [var1]var2e, mtest(b)
test [var1]var2c = [var1]var2d = [var1]var2e, mtest(b)
test [var1]var2d = [var1]var2e, mtest(b)
Is there a better way to do this?
Thanks!
Jean-Gael "JG" Collomb
PhD candidate
School of Natural Resources and Environment / School of Forest
Resources and Conservation
University of Florida
*
* 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/