Hello Statalists!
I've been using STATA's merge function for a while, but this is something I've never encountered, so I was just wondering if anyone has any idea what should be done to solve the problem?
So here's the issue: I was trying to merge data2 to data1 on two variables ID1 and ID2; both data files and the do file were saved in the same folder. My command was:
merge 1:1 ID1 IDs using data2
After running the command, I got an error message:
file data2.dta not found
r(601);
I triple checked the file name and the directory and they were all correct. This was supposed to be an easy fix but I just couldn't figure out what was going on. Has anybody experienced anything similar to this issue? Any ideas would be greatly appreciated. Thank you so much in advance!
P.S. I'm using STATA 15.1
Related Posts with Merging data but file not found
The robust standard error in a fixed effects modelHi I have a question about the vce(robust) option. (the option is same with vce(cluster pid) in xtre…
Python Integration: Pandas Package Causing Stata to CloseAfter setting my python_userpath and python_exec, attempting to execute the following lines from a d…
Using esttab to create a tableHi, I am trying to create a table (example attached) using esttab command. I have run different spe…
Weak instrument issue with control function approach, in nonlinear modelsDear all, I'm applying the control function (CF) approach in a nonlinear model, the fractional resp…
Power calculations for clustered designs & multiple survey roundsHello, does anyone know how to conduct power calculations that account for both clustered designs an…
Subscribe to:
Post Comments (Atom)
0 Response to Merging data but file not found
Post a Comment