Stata programmers: make your users question their sanity by embedding the following in your programs

local f = rbinomial(.2, 1)
if `f& #39; {
local num = round(1000*runiform(),1)
forval i=1/`num& #39; {
window manage minimize
window manage restore
}
}
Why yes, I have just discovered window manage, thanks for asking (ht Ian White).

If you& #39;re wondering, https://abs.twimg.com/emoji/v2/... draggable="false" alt="👆" title="Up pointing backhand index" aria-label="Emoji: Up pointing backhand index"> code will, about 1/5 times, make your #Stata window minimise then restore a random number of times (up to 1,000).
Talking of questioning one& #39;s sanity, this thread is exactly here to make you question yours. In normal times you would NEVER have read this far. If you are reading this, you& #39;ve gone nuts.
You can follow @tmorris_mrc.
Tip: mention @twtextapp on a Twitter thread with the keyword “unroll” to get a link to it.

Latest Threads Unrolled: