Hi,
I used the one to many formula to merge two data sets. Once done, how can I keep only the matched observations?
merge 1:m hhcode using "xyz.dta"
(label province already defined)
(label region already defined)
Result # of obs.
-----------------------------------------
not matched 379,662
from master 142 (_merge==1)
from using 379,520 (_merge==2)
matched 120,347 (_merge==3)
-----------------------------------------
Best,
Shehryar
Related Posts with How do I keep only the matched observation after data set merge (STATA 15)
Using the character ehat_t in the y-axisDear all, I hope you are all keeping well! I want to use the character ehat_t in my y-axis So I t…
Negative statistic chi2 after hausman testHello everyone, I have panel data and my dependent variable is a dummy variable. N=801 (individuals)…
Controlling for differences caused by occupationHello - I am new to the world of econometrics and am working on a small research paper. I am trying …
Stata vs Mplus for LPA?Dear researchers, I am trying to conduct Latent Profile Analysis but wonder conducting it with Stat…
How should I fix this error in my scatter plot?Hello, I've been trying to make a more advanced scatter plot and have managed to figure out the bit…
Subscribe to:
Post Comments (Atom)
0 Response to How do I keep only the matched observation after data set merge (STATA 15)
Post a Comment