Dear all,
I come to you as I face a problem that sounds easy but I have stuck for good. I have two datasets to which I have a variable of a unique ID number to each (e.g. link, pair). I want to tell Stata to search if each ID number of the one variable (e.g. link) is present on the other variable (pair) and generate a dummy as an indicator.
I have searched on the Internet and tried several ways but with no success.
The last thing that maybe is important to know is that the datasets are large (191,000 and 26,000,000 obs).
Any ideas would be highly appreciated.
Thank you in advance.
Related Posts with Vlookup style function of variable from other dataset
merging two year database company keys with one year observations databaseHi all, I would like to have an answer regarding the following topic. I want to match observations f…
How do i get the mean of all the seperate regressions?Hey, I have the problem that I have multiple regressions of years from 1963 to 2004 and I want the …
Stata runs very slow when estimating mixed models in a multiple imputed databaseDear Statalisters, I am using mixedin Stata 13 to assess the effect of a treatment on four different…
Stata runs very slow when estimating mixed models in a multiple imputed databaseDear Statalisters, I am using mixedin Stata 13 to assess the effect of a treatment on four different…
longitudinal dataI would be very pleased if someone can provide me references on how to claen longitudinal data. Than…
Subscribe to:
Post Comments (Atom)
0 Response to Vlookup style function of variable from other dataset
Post a Comment