Hey Statalist,
I want to find a way in which I can combine multiple lines of codes into one single command. for example, I have many regressions, and I want to run certain commands after each regression. I want to save the workspace and just write one command to run all the same lines at once. Any hint would be appreciated.
ps: one of the codes after each regress is that I want to store each regression's results. So I want to assign each regression a unique name (model1, model2, etc.).
Thanks,
Related Posts with combine multiple lines of codes into one command!
Help interpreting longitudinal mixed model interaction termHi all I have data from a randomized trial that measures the effect of an intervention group (0/1) …
Name of the current do fileIs there a way to get the name of the currently executing do-file into a macro? I had hoped to inclu…
What does " Set the active IRF file" mean?Dear all, In calculating the Impulse response functions I type in irf create irf, set(myname) I am…
sts graph risktable order errorAll, I'm getting an error re-labeling the risktable variables. I've searched for solutions and have…
Linear Lasso Regressions and Stata's "lasso linear" CommandHi, I have a methodological question concerning lasso regressions and the lasso linear command in S…
Subscribe to:
Post Comments (Atom)
0 Response to combine multiple lines of codes into one command!
Post a Comment