concat Concat Stata Mdevexp allows by varlist. The value of _merge is 1 if the observation comes form file1 master file…