Dear all,
I have a panel dataset No.1 with multiple variables, including time, personal id, education level, training etc. I now need to add another variable - ethnicity - which needs to be imported from dataset No.2 and matched with the original one, No.1, based on personal id. The problem is that the data in the original dataset had been "cleaned up" - missing observations were dropped, some variables were winsorised. This means the number of observations in datasets No.1 and No.2 are not the same anymore for me simply to import the data.
I need to merge the two datasets and figure out if there is a code that matches observations based on personal id, so that I can get rid of all other observations that have not been used in dataset No.1? Thank you in advance!
Related Posts with Panel data - matching observations from an unsorted dataset
Help: Sequential Count in Between Two Variable ValuesHello everyone, I was hoping someone could help me. I am trying to create a variable that would cou…
Attributing survey propensity scores to a general populationHello. I'm conducting a survey where I have a primary dependent variable (would you do x or y), and …
Generating a date variable from a numeric variable after a reshapeHello. I'm working with a dataset that looks like this: company / numeric_date / v1 / v2 / .../ vk…
recoding a new generated variableHi everyone, A sample of my data looks as follows (my current data ). As you can see, the person 1's…
Interpolating annual data to quarterlyHello, I have a data set that contains annual minimum wage numbers. The entire data set contains tw…
Subscribe to:
Post Comments (Atom)
0 Response to Panel data - matching observations from an unsorted dataset
Post a Comment