#statatip — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #statatip, aggregated by home.social.
-
A very pro #StataTip:
You can split & stack your dofiles in tabbed windows. Just drag a dofile to the left of the dofile editor and click "New vertical tab group"
This is highly useful for parallel updating or comparing multiple files, and makes the workflow easier.
-
A #StataTip: If you are repeatedly using the same set of commands, for example for graphs or regressions, then:
1) start using macros, and/or
2) define small programsThis saves you:
(a) space, and
(b) the hassle of copy/pastingand looks neater!
-
Once in a while I post a #StataTip. Below is a thread that collects them all:
---
RT @asjadnaqvi
A 🧵 to consolidate the #Statatip posts from the past three years! Bookmark these.If you want to read them in detail, have a look at the Awesome @Stata tips collection:
https://medium.com/the-stata-guide/the-awesome-stata-tips-collection-6805afdedffa
Its updated every 2-3 months or so. Many tips below 👇
https://twitter.com/AsjadNaqvi/status/1570150362505687041 -
#StataTip: to suspend the execution of a @[email protected] loop (eg when certain conditions are met), add --continue-- and Stata will move to the next iteration (to stop the loop entirely, write --continue, break--)