I get frustrated time and again by the fact that join variables need to have identical names in both datasets for Stata to perform the join, so finally I decided to ask.
In SQL, names don't matter as long as I specify, which variables to match on e.g. "SELECT * FROM a, b WHERE a.v1 = b.v2"
Why can't it work in similar fashion in Stata? I'd appreciate any explanations that could soothe my pain over this issue.
Related Posts with Joining when the join variable has a different name in two datasets
R Square in Panel DataHi everyone, I tried zapping through the search a bit but could no find a correct answer. My proble…
Drop variables if total sum is the largestDear all, I’m working with a dataset of 396 observations and 148 variables. I’m trying to drop a var…
Panel ordered logit modelDear Scholars, Please someone should assist me on how install xtologit on stata 11 …
Interpreting Oaxaca Decomposition with categorical variablesHello all, I am writing an undergraduate dissertation on UK gender pay gap using LFS data. I am hav…
Help with problem in creating variable that describes one event occurring at least onceHello. I'm new to this forum, and quite new to Stata in general, as I just started using it for the …
Subscribe to:
Post Comments (Atom)
0 Response to Joining when the join variable has a different name in two datasets
Post a Comment