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   sjsamuels@gmail.com
To   statalist@hsphsun2.harvard.edu
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, <sjsamuels@gmail.com> wrote:
> --
>
> gen drw = read - write
> svy: reg drw
>
>
> -Steve
>
> On Wed, Aug 19, 2009 at 12:04 AM, Mandy fu<mandy.fu1@gmail.com> wrote:
>> Hi all,
>>
>>. I am interested in comparing means of two variables in survey
>> data.
> --
> Steven Samuels
> sjsamuels@gmail.com
> 18 Cantine's Island
> Saugerties NY 12477
> USA
> 845-246-0774
>



-- 
Steven Samuels
sjsamuels@gmail.com
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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index