Hi there, I am fairly new to Stata but especially new to loop commands. I am trying to replicate a loop from a tutorial video but I am not having very good luck at it. If you could help me with properly writing out the loop command so it will work, I would greatly appreciate it.
This is the code from the video, where the loop command is formatted like this:
Array
Here is my code, how can I format this like the one above? Am I simply writing it all out incorrectly? I apologize if this is extremely simple and I am just not seeing a silly error.
Array
Related Posts with How to Properly Format a Loop Command
Tobit model with variable upper limits on Stata 13Hi all, I need to run a Tobit model with variable upper limits on Stata 13, and these upper limits …
Matching within strata in psmatch2Dear Statalists, I am working on treatment effects of foreign acquisition on firms' productivity, i…
Non-inferiority sample size calculation for proportionsNow this may be a massively stupid question however... I am trying to sort out a sample size calcul…
Panzar and Rose Model Code in StataDear Forum members, I am a beginner in Stata and working on the thesis. I am trying to implement th…
Problem with exporting graph as postscriptIn some occasions I export graph as postscript and it is rotated to the right, and I have to edit. A…
Subscribe to:
Post Comments (Atom)
0 Response to How to Properly Format a Loop Command
Post a Comment