Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, statalist.org is already up and running.


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

st: RE: significance of differences


From   Kieran McCaul <kieran.mccaul@uwa.edu.au>
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
Subject   st: RE: significance of differences
Date   Fri, 1 Jun 2012 14:48:33 +0800

...

I don't understand this.
What null hypothesis are you testing?  That the mean in the first fifth equals the mean in the last fifth?
If you split a variable AT the quintiles then the mean in the first fifth will be different from the mean in the last fifth by definition, won't it.



-----Original Message-----
From: owner-statalist@hsphsun2.harvard.edu [mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of "Fabian Schönenberger"
Sent: Friday, 1 June 2012 2:27 PM
To: statalist@hsphsun2.harvard.edu
Subject: st: significance of differences 

Dear Statalist
I want to compare if the difference of a specific variable between the first and fifth quintile is significant. 
I tried ttest with if; ttest var if varquintile==1 == var if varquintile==5 
However, this does not work. Any suggestions?

Many thanks in advance, Fabian 
-- 
NEU: FreePhone 3-fach-Flat mit kostenlosem Smartphone!                                  
Jetzt informieren: http://mobile.1und1.de/?ac=OM.PW.PW003K20328T7073a
*
*   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/

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