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   "Austin Nichols" <[email protected]>
To   [email protected]
Subject   Re: st: Jointly testing mean differences among two groups for 2 variables using survey data
Date   Sun, 24 Feb 2008 04:35:46 -0500

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/



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