Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


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

RE: st: RE: RE: comparing different means using ttest


From   Nick Cox <[email protected]>
To   "'[email protected]'" <[email protected]>
Subject   RE: st: RE: RE: comparing different means using ttest
Date   Fri, 17 Dec 2010 08:57:24 +0000

The regression still assumes independent error terms. There is more scope for doing something about that in a regression framework then within -ttest-, but in terms of what Eric suggested it is still a matter of six on one side and half-a-dozen on the other. 

Nick 
[email protected] 

DE SOUZA Eric

It does, because it simply avoids the starting point of David Lempert which in my opinion is a false start: regressing GDP levels on a time trend will get you nowhere. If David is interested testing the equality of GDP growth rates across two time periods, you pool the data, calculate the GDP growth rate and regress this variable on two dummy (binary) variables for each time period. In order to avoid perfect collinearit you drop one of the two dummies and test whether the coefficient on the other is equal to zero.

Steven Samuels

But. Eric, I don't think that pooling will solve the dependence issues that Nick mentioned.


On Dec 16, 2010, at 1:26 PM, DE SOUZA Eric wrote:

Why not just pool your data and regress %GDP-growth on a dummy
(binary) variable (and a constant, of course) which takes the value of one for one of the two sub-samples and zero for the other; and test whether the coefficient on the dummy is significantly different from zero (or examine its confidence interval) ?
You can robustify for heteroscedasticity.


*
*   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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index