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)
What are .r values in a dataset? Can all values be replaced with 0?Hello, I have ".r" values in my dataset and I am unable to figure out why. Data comes from MSCI (KL…
Problem with selecting only one county per stateHey there, I am a bit new to Stata, so I hope my question will be clear enough. I am looking at the …
-estout- returning "file could not be opened" error except for tex filesI'm running into a puzzling situation where I'm receiving the "file [XYZ] could not be opened" error…
Regression over time, industry, company, country, timeHello, I would like to regress the following equation: DV_{i,c,j,t} = a_i+α_c+α_j+a_t+beta * (IV_i*…
RE: Creating simulated dataHello, I generated a dummy variable using the following code: gen employed = 1 + int(2*runiform()) …
Subscribe to:
Post Comments (Atom)
0 Response to Nested loop question (index changes for every loop)
Post a Comment