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!
Obtain regression residual for panel dataDear Statalist, I am new to the Stata and am dealing with the panel data for a sample of firms over…
New version of stcmd on SSCThanks as always to Kit Baum, a new version of the stcmd package is now available for download from …
error: rename using local inside loopDear Stata-users, I have a problem with rename using local inside loop. I would like to import an …
Fix no room to add more variables because of width issue when splitting a long stringHi all, I have a single string that is extremely long. It has a length of about 600,000 characters …
Generating date variableHello all, I have the following code: Code: clear input float(qdate) 1900q1 1900q2 1900q3 1900q4 …
Subscribe to:
Post Comments (Atom)
0 Response to combine multiple lines of codes into one command!
Post a Comment