Stata tip 144: Adding variable text to graphs that use a by() option
(2021)
Journal Article
Cox, N. J. (2021). Stata tip 144: Adding variable text to graphs that use a by() option. The Stata Journal, 21(4), https://doi.org/10.1177/1536867x211063413
Dr Nicholas Cox's Outputs (6)
Speaking Stata: Loops in parallel (2021)
Journal Article
Cox, N. J. (2021). Speaking Stata: Loops in parallel. The Stata Journal, 21(4), https://doi.org/10.1177/1536867x211063415This column is a tutorial discussing looping in parallel using foreach and forvalues. Such looping may use not only local macros defined for the purpose but also other devices, including the gettoken command and ways to increment and decrement other... Read More about Speaking Stata: Loops in parallel.
Stata tip 141: Adding marginal spike histograms to quantile and cumulative distribution plots (2021)
Journal Article
Cox, N. J. (2021). Stata tip 141: Adding marginal spike histograms to quantile and cumulative distribution plots. The Stata Journal, 21(3), 838-846. https://doi.org/10.1177/1536867x211045583
Speaking Stata: Ordering or ranking groups of observations (2021)
Journal Article
Cox, N. J. (2021). Speaking Stata: Ordering or ranking groups of observations. The Stata Journal, 21(3), 818-837. https://doi.org/10.1177/1536867x211045582Results for categorical variables may often be clearer if those variables are reordered or reranked, say, according to some measure of absolute or relative frequency or according to summaries of some other variable. Some graphical and tabulation comm... Read More about Speaking Stata: Ordering or ranking groups of observations.
Speaking Stata: Front-and-back plots to ease spaghetti and paella problems (2021)
Journal Article
Cox, N. J. (2021). Speaking Stata: Front-and-back plots to ease spaghetti and paella problems. The Stata Journal, 21(2), 539-554. https://doi.org/10.1177/1536867x211025838The spaghetti problem arises in graphics when multiple time series or other functional traces show mostly a tangled mess. The related paella problem (often experienced but not usually named as such) arises for multiple patterns combined in scatterplo... Read More about Speaking Stata: Front-and-back plots to ease spaghetti and paella problems.
Stata tip 140: Shorter or fewer category labels with graph bar (2021)
Journal Article
Cox, N. J. (2021). Stata tip 140: Shorter or fewer category labels with graph bar. The Stata Journal, 21(1), 263 - 271. https://doi.org/10.1177/1536867x211000032