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
System GMM: time dummies vs time trendsHi everyone, I am running a system GMM model with a N=31 T=10 dataset. I included a time trend (equ…
Test Post for Code Entry on Regression AnalysisHello, I am doing some regression analysis where I want to graph two regressions, one for con19 agai…
How to plot a line-of-best-fit graph based on Multiple RegressionHello, I am doing some regression analysis where I want to graph two regressions, one for con19 agai…
Panel regression and plots in stataHi Statalist, can someone please suggest any resources for a beginner in panel regression (and plott…
Setting the Base Group in RegressionHello, I am trying to set female nonathlete as the base group in my regression: regress colgpa hsi…
Subscribe to:
Post Comments (Atom)
0 Response to Merge if merge
Post a Comment