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.
Related Posts with Nested loop question (index changes for every loop)
Drawing a graph with insignificant*coefficient!Hi, Can we draw a graph when some of our regression coefficients show up as insignificant? Specific…
generating DHS indiciatorCan someone guide me how to generate percentage of basic and limited sanitation service for nigeria …
RMSEA 90% CI using Satorra-Bentler in sem CFAI am running a CFA using sem but am having trouble figuring out the output and possibly whether ther…
How to write a command for nultiple condition with a character variable?Hi all, in my study, I want to study the subsample without observations from some countries without …
xtreg results or margins to show correlation coefficent with each level of interacted factori'm trying to model the linear relation in a panek of continuous indep var X on continuous dep var Y…
Subscribe to:
Post Comments (Atom)
0 Response to Nested loop question (index changes for every loop)
Post a Comment