Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: Jointly testing mean differences among two groups for 2 variables using survey data


From   [email protected]
To   [email protected]
Subject   Re: st: Jointly testing mean differences among two groups for 2 variables using survey data
Date   24 Feb 2008 13:47:06 -0600

Thank you so much Austin!..... This has been very helpful... I appreciate it

Regards

Renato

On Feb 24 2008, Austin Nichols wrote:

Renato <[email protected]>:
Try -suest- e.g.

sysuse auto
svyset [pw=wei]
qui svy: reg len for
est sto length
qui svy: reg turn for
est sto turn
qui svy: reg tru for
est sto trunk
suest length turn trunk, svy
test [length]foreign [turn]foreign [trunk]foreign


On 23 Feb 2008 16:34:29 -0600,  <[email protected]> wrote:
I have a data base with 2 different test scores and two groups, a treatment
group and a control group. I have managed to test whether the mean of each
test scores is different among the two groups using svymean and then lincom
in this way:

svy: mean testA, over(treatment)
lincom [testA]1-[testA]0

svy: mean testB, over(treatment)
lincom [testB]1-[testB]0

What I want to do is jointly test whether both variables (testA and testB)
are jointly statistically different among the two groups, but incorporating
the sample design in my estimation.

*
*   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/

*
*   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