Hello,
I'm trying to merge two datasets that have basically the same observations but with different variable names.
One has for example "AUS1954" (Australia 1954) as country_id. The other dataset has "AUS" and "1954" in two separate variables (country and year). Is it possible to merge these who in a new variable so they can match AUS1954 in the first dataset?
Thank you in advance, i'm a beginner.
Related Posts with Help with merging variables
Random Effect Autocorrelation TestDear Good People, I am currently shifting to using Random Effect for my data and I would like to kn…
Code of Patell Z-statisticGoodmorning everyone, I'd like to derive a Z-statistic by means of the Patell test (https://www.eve…
renaming variables using values they holdHey everyone, Is there a simple command (or few lines of code) to rename variables based on a speci…
Sample size estimation for comparison of three proportions: Control, Treatment1 and Treatment2Dear StataList, How can I calculate the sample size requirements for proportions in 3 (three) groups…
How to display the P value of the mediation with khb command?Hi all, Recently I read a paper published in JAMA Pediatrics(doi:10.1001/jamapediatrics.2019.1212),…
Subscribe to:
Post Comments (Atom)
0 Response to Help with merging variables
Post a Comment