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
Diff-in-Diffs with time-varying treatment effect and variation in treatment timingDear all, My question is related to those in here and here. Yet, I believe that none of them addres…
Membership functions and fuzzy sets in StataHi, I have a data set on which I want to make Qualitative Comparative Analysis using fuzzy logic. Bu…
efficiently calculating leave-out median of a variable by groups with weightsI would like to calculate the leave-out weighted median of a variable within groups. The following c…
multiple imputation chained equationsDear all, i am trying to impute some 75 continuous variables with 500 observations using mi impute c…
Panel graph with country names attachedHi all, I'm using panel data on public debt from 1980 to 2015. What I would like to do is a xtline …
Subscribe to:
Post Comments (Atom)
0 Response to Help with merging variables
Post a Comment