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: merging datasets
From
Maarten buis <[email protected]>
To
[email protected]
Subject
Re: st: merging datasets
Date
Thu, 19 Aug 2010 16:05:09 +0000 (GMT)
--- On Thu, 19/8/10, Wenxia Ge wrote:
> I am using Stata 10. When I use "merge m:1 var1 var2 using
> t1", I will get the following error information "variable
> m not found" . When I use "merge 1:m var1 var2 using t2"
> command, then get this error message "1 invalid name". So
> I am just wondering how to make "merge m:1" or "merge 1:m"
> work?
You cannot do so in Stata 10, the -1:m- and -m:1- syntax was
introduced in Stata 11. To find the correct syntax for your
problem in Stata 10 type in Stata -help merge-.
Hope this helps,
Maarten
--------------------------
Maarten L. Buis
Institut fuer Soziologie
Universitaet Tuebingen
Wilhelmstrasse 36
72074 Tuebingen
Germany
http://www.maartenbuis.nl
--------------------------
*
* 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/