Dear community,
I have merged two datasets based on a unique companyid with the reclink command.
reclink company_lender_id using "C:\Users\huett\OneDrive\Dokumente\SS_19\Kaserer\s nydicated_loans\lenders - unique.dta", idmaster(idmaster
> ) idusing(idlender) gen(score2) _merge(mergedata2) minscore(.99)
905 perfect matches found
Added: idlender= identifier from C:\Users\huett\OneDrive\Dokumente\SS_19\Kaserer\sn ydicated_loans\lenders - unique.dta score2 = matching s
> core
Observations: Master N = 906 C:\Users\huett\OneDrive\Dokumente\SS_19\Kaserer\sn ydicated_loans\lenders - unique.dta N= 19920
Unique Master Cases: matched = 896 (exact = 905), unmatched = 10
After having run the command several times I noticed that there are 10 observations in total which stata refuses to match although the variable which is used for matching is exactly the same in both data sets (namely the unique identifier). I was wondering whether anyone has encountered a similar Problem with reclink so far. What strikes me is that it is the same 10 observations every time that remains unmatched whereas the algorithm works perfectly for the rest of the ~ 1000 observations. I have checked that there are no Special characters such as äüö etc.
What am I missing?
Thanks a lot!
Marie
Related Posts with reclink
Loop for moving rangeGoodafternoon, I have a file which includes a significant amount of cusips (S&P1500) and dates …
Need help re-arranging dataHi my dataset looks like this right now: clear input long mrn str10 date str11 diagnosis long date_n…
Panel data: xtoverid rejects RE for model with only time controls; odd result or information?Dear Statalisters, I am using interrupted time series methods on household panel data. I have month…
Need help with dataset with multiple datesHi I am working with a dataset which ahs multiple dates for the same diagnosis for a patient and I o…
How to change a line pattern within a same graph? Hi, I would like to plot a graph using Code: twoway line and draw a different graph pattern after …
Subscribe to:
Post Comments (Atom)
0 Response to reclink
Post a Comment