I ran the code below, and I got different results for the interaction
term of 0.foreign#0b.good. Basically, one result showed all zeros for
0.foreign#0b.good, but the other result showed a mix of one's and
zero's.
Why did this occur? Thank you in advance for your insights.
sysuse auto, clear
gen good=rep78>3 if rep78<.
list ibn.foreign#i.good
list ibn.foreign##i.good
Yu Chen
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/faqs/resources/statalist-faq/
* http://www.ats.ucla.edu/stat/stata/