Hi Everyone I am trying to keep the full sample of one file after merge. However, I tried many times but still got higher number. Could anyone give me some suggestions? Here is my code: DATA ANALYTIC (replace=yes); MERGE ADM_forHYBRID (in=x) MFILE (in=y); BY STATEFIP PROVIDER ; if x=1 then output; RUN; The log shows that the ADM file has 20804087 observations and the MFILE has 177125 observations. However, after merge, the file has 20804107 observations. I want the final file to be 20804087 observations but I cannot get that number. Could anyone help me solve the issue? Thanks a lot!
... View more