Hi there
I am using the merge command for matching between two datasets.
A successful pair needs to match on var1 and at least one other variable (var2, var3 or var4).
Ideally I would then get a report on which combination of variables allowed the pairs to be successfully matched (e.g. var1+var2, var1+var4, var1+var3+var4, etc).
Is there a way to do this without breaking my datasets into multiple different pieces and running multiple merge commands?
Many thanks for any advice.
Related Posts with merge on one variable and AT LEAST one other variable
Unlimited loop of events tested when using eventstudy2Hello! I am currently conducting my final thesis and for that I am using the package eventstudy2, a…
Rearranging individual dates within a varlistHi, I'm extremely new to Stata (5 weeks) and am stuck with something my lecturer has asked us to do.…
Request syntax assistance with v17 [table] command to get table of frequency in descending frequency orderI apologize for even asking, assuming there is something very simple I simply cannot find. As [tabl…
Making not to show the each results in the tableHello, Thank you so much for your help in advance. I see my result of table as below, but to put it…
what should we do if after first differences the non-stationary of panel data still remained?hello everyone, I use a panel data and do after running the regression I get the residual and to fol…
Subscribe to:
Post Comments (Atom)
0 Response to merge on one variable and AT LEAST one other variable
Post a Comment