How To Write A Stata Code With Loops