Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
From | Nick Cox <njcoxstata@gmail.com> |
To | statalist@hsphsun2.harvard.edu |
Subject | Re: st: merge problem |
Date | Fri, 21 Sep 2012 14:25:41 +0100 |
The display formats are immaterial here; the difference is presumably in variable or storage type. Nick On Fri, Sep 21, 2012 at 2:22 PM, Jerome Fauconnier <jeromefauconnier@gmail.com> wrote: > I have just understood : my old variable "numven" exists in the two files, but in two different formats. > So, it cannot be merged ! > Thank you Le 21 sept. 2012 à 15:08, Jerome Fauconnier a écrit : >> I am using Stata 12. >> I have two files that I want to merge with a new variable "numhosp" which I have just created from a existing variable "numven". >> When I try to merge the two files with the following command : >> "merge 1:1 numhosp using lamda2011" >> I have got the following error message : >> "numven is double in using data" >> >> I don't use "numven" in the merge command. Why is it taken in account? * * 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/