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.