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
Multiple tabulate for different yearsHello, I am trying to put together a table to see the frequency of occurrence of 1 (it is a dummy v…
Recoding a string variable into numeric (instead of destring) and subsequent mismatch of valuesI have some questions regarding an issue I have encountered when trying to change a string variable …
Reducing my sampleDear all, I'm working on the following sample. Code: * Example generated by -dataex-. To install:…
Interaction in Pandeldata/PanelregressionHi everyone, I have a panel data set and i run logistic regressions with it via xtlogit. I have of …
Industry Adjusted Measurehello, Please guide me about this comment. I am using agency cost measure as dependent variable (sel…
Subscribe to:
Post Comments (Atom)
0 Response to Vlookup style function of variable from other dataset
Post a Comment