| |
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
RE: st: merge multiple database
How about this: try to keep id and var1 from master dataset, and then merge
with the merging dataset, since the keep option here can only keep those
var's from merging rather than master dataset.
nick
Hi, I am trying to merge multiple database and keep specific
variables
from each of the using files.
I type "merge id using db1 db2, keep(var1 var2)". var1 is in db1
and
var2 is in db2. But stata gives an error message: "variable var2 not
found in using dataset." Please help. Thank you!
*
* 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/
_________________________________________________________________
��������ص����ѽ��н������������ Live Messenger;
http://get.live.com/messenger/overview
*
* 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/