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
Regression and Outreg2 variable label displayHello I am running a normal regression and i labeled my variables and their values (they are all cat…
How can I extract a portion of a string variable using regular expressions?Hi everyone! Thanks in advance for your time and help. I have the following problem....Some of the …
Wildcards with noccurHi there, Can I use wildcards with the egen function noccur? If not, is there another way to use wi…
Reporting R-squared values in System GMM estimationHi everyone, This is a query on how to report the R-squared (or Adjusted R-squared) value in a syst…
Using svyset for melogitHello, I am analyzing a binary outcome (depvar) using melogit so that I may 1) account for the comp…
Subscribe to:
Post Comments (Atom)
0 Response to How to Properly Format a Loop Command
Post a Comment