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: Different results from interaction term and Suest Command
From
natasha agarwal <[email protected]>
To
[email protected]
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/