Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, is already up and running.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: merging datasets

From   Maarten buis <>
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 L. Buis
Institut fuer Soziologie
Universitaet Tuebingen
Wilhelmstrasse 36
72074 Tuebingen


*   For searches and help try:

© Copyright 1996–2015 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index