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
ivreg/ ivprobitThe impact of child health on the school enrollment so child's health is endogenous and the author …
Return do.filesHi. I have accidentally closed do.file without saving the changes. Is there anyway to return unsaved…
Difference-in-Difference-in-Difference with Continuous Treatment VariableI am trying to estimate the effect of 4H participation on student test scores in Virginia using the …
How to compute the probability for a firm to move from on group to another in a panel database?I have a panel database for firms i (90 firms) across year t (from 2013 to 2019). Some firms witness…
Which analysis pre/post analysisDear experts, For my thesis I have to do an analysis in Stata but unfortunately do I have problems …
Subscribe to:
Post Comments (Atom)
0 Response to Merge if merge
Post a Comment