求助:stata怎么遍历某一个变量下的每一个值

求代码函数
本人小白
查了各种教程
while, forvalue ,foreach似乎都没有相应的方法,求大神解答

https://zhidao.baidu.com/question/1900176436078090900.html