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!
how to add values from variable of one observation to another observationhttps://www.statalist.org/forums/for...72#post1681572 …
IV regression syntax (different sample periods)Hello, I am trying to run IV regressions in STATA. I use xtivreg or ivregress with year and industr…
Are wage data with 7% of observations earning '0' censored?Hi all Trying to understand the nature of my wage data and whether Tobit regression (or some other …
Pooling Multimputation Variable OutputsHello all! I am working with a complex survey dataset and have 1 variable, povcat, that needs to be…
Merging Compustat annual and segment databaseI have the compustat segment data that looks as follows: gvkey stype sid datadate cogss dps 100…
Subscribe to:
Post Comments (Atom)
0 Response to combine multiple lines of codes into one command!
Post a Comment