Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Reclink not returning any matches

    I'm attempting to merge two datasets together using reclink, but I'm not understanding exactly why I'm not having any matches returned. I know from manually examining the datasets that there are at least some matches which should merge, but they're not when I run the following code:

    Code:
    reclink country year using "D:\STATADATA\MEPV\MEPVv2018.dta", idm(idm) idu(idu) minscore(.8) gen(mscore)
    and here is the output:
    Code:
    Observations:  Master N = 10203    D:\STATADATA\MEPV\MEPVv2018.dta N= 10060 
      Unique Master Cases: matched = 0 (exact = 0), unmatched = 10203
    If I need to supply any other information to help, let me know.

  • #2
    I did end up figuring this out. I imported the data from xcel, and so I had to manually change the variable names in stata, and drop the entry which listed the variable names. Then I ran destring on my year, and this somehow fixed it.

    Comment

    Working...
    X