Stata do file for replication