Hi,
I have used the command "merge", creating a new var called "epr" instead of "_merge":
merge m:1 id using "D:\Files\COST2020.dta",gen(epr)
And I want to use "merge" again but just if epr==2, that's mean:
merge m:1 id using "D:\Files\PW2020.dta", if epr==2
Is that possibible with this software? I hope you can help me
Kind Regards,
S.
Related Posts with Merge if merge
Dropping duplicates randomlyHi I'd like to drop duplicates randomly instead of just the first duplicate observation. A snapsho…
extracting data from numbersDear Statalists, I have an excel file with dates like 29.02.1980, 30.03.1980 and etc... I have appen…
Using frequency weights on graph bar to produce weighted averages.Hello. I am working with a dataset that has the number of births and number of preterm births in dif…
Significance of the main effects when main effects aren't significant but interaction isDear Statalisters, Hi, I have a problem about interpreting significance of the main effects and int…
xtprobit with time invariant dependent variableHey, I have a sample of start-ups and want to check if the probability of an Exit (IPO or M&A) …
Subscribe to:
Post Comments (Atom)
0 Response to Merge if merge
Post a Comment