Wanli,
Rename the variables in one file, merge the data and then calculate
the difference.
Friedrich Huebler
--- Wanli Zhao <[email protected]> wrote:
> I have 2 datasets. Each one has 10 variables and they share the
> same names
> across the 2 data files. Is there a quick way to generate the third
> file
> which has the differenced values for each variables in the 2
> original files?
> Thanks.
>
> Cheers,
> Wanli
__________________________________
Yahoo! FareChase: Search multiple travel sites in one click.
http://farechase.yahoo.com
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/