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]

Re: st: Different results from interaction term and Suest Command


From   natasha agarwal <agarwana2@googlemail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Different results from interaction term and Suest Command
Date   Wed, 16 Jun 2010 14:18:58 +0100

Hello everyone,

I think am communicating the problem wrongly.

First Method with the interaction term:

xtreg lnrval lnk lnw lnvfdi fdev1 y14-y18, fe vce(robust)

where fdev1=1 if region higher developed and zero otherwise. In this
method fdev1 (which is the difference between the two groups is not
statistically significant)

Second Method with sample splitting

bysort number: center lnrval lnk lnw lnvfdi y14-y18, casewise
regress c_lnrval c_lnk c_lnw c_lnvfdi c_y14-c_y18 if fdev1==1
est sto fe2
reg c_lnrval c_lnk c_lnw c_lnvfdi c_y14-c_y18 if fdev1==0
est sto fe3
suest fe2 fe3, vce(cluster number)
est sto fe4
test [fe2_mean]c_lnvfdi==[fe3_mean]c_lnvfdi (the slopes are
significantly different

Can anyone please help me with this?

Thanks
Natasha
*
*   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