Statalist


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

Re: st: comparing the means of two variables(not groups) for survey data


From   [email protected]
To   [email protected]
Subject   Re: st: comparing the means of two variables(not groups) for survey data
Date   Wed, 19 Aug 2009 15:40:09 -0400

-
Sorry, the t-test for the regression is not valid without including a
response dummy variable, and the F test does not appear.
so:

tempvar dum
gen `dum'=1
svy: reg drw `dum'   // CI and test
svy: mean drw        //  CI only

-Steve

On Wed, Aug 19, 2009 at 3:24 PM, <[email protected]> wrote:
> --
>
> gen drw = read - write
> svy: reg drw
>
>
> -Steve
>
> On Wed, Aug 19, 2009 at 12:04 AM, Mandy fu<[email protected]> wrote:
>> Hi all,
>>
>>. I am interested in comparing means of two variables in survey
>> data.
> --
> Steven Samuels
> [email protected]
> 18 Cantine's Island
> Saugerties NY 12477
> USA
> 845-246-0774
>



-- 
Steven Samuels
[email protected]
18 Cantine's Island
Saugerties NY 12477
USA
845-246-0774
*
*   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/



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