Hi,
Thanks very much in advance for your time.
I want make the following commands into the nested loop.
Array


So, basically, my `i' starts from 1(1)12 and it moves to 2(1)13 and onto until 166(1)177. So I made a nested loop as below, but it never works.
Array


so I put `j+11' above but the problems is that Stata recognizes this as just `j' itself. I struggled with this a bunch of hour but couldn't address it.
Any advice or comments would be greatly appreciated.