I want to merge data between variable1 in dataset1 and variable2, variable3, variable4 in dataset2 repectively.
Can we use user-written command to fulfill this? Changing the names of variable2, variable3, and variable4 to variable1 in dataset2 step by step is a direct way, but I want to figure out do we have easier way.
Thanks so much!
Related Posts with how to merge data using different key variable names?
1000 times simulation with random treatment for different y variables I want to randomly assign treatment and then simulate it for 1000 times for all my y variables. I w…
Quadratic term omitted when using # operatorHello all, I am running xtlogit command in Stata 14.2 and my main variable of interest includes a q…
IV(2SLS) regression with fixed effects and two-way clusteringHello, I tired IV(2SLS) regression with STATA, but I do not know whether what I do is right or not.…
Dataset: converting blank cells to numerical zeroHere's my data set in a .csv file: ("ins3.csv"): https://www.dropbox.com/s/000rcyo4oo7o4n8/ins3.csv?…
Test of mean differencesWhat is the correct command to use when I want to compare groups that are nested within each other? …
Subscribe to:
Post Comments (Atom)
0 Response to how to merge data using different key variable names?
Post a Comment