Skip to main content

Research Repository

Advanced Search

Dr Nicholas Cox's Outputs (4)

Speaking Stata: Automating axis labels: Nice numbers and transformed scales (2022)
Journal Article
Cox, N. J. (2022). Speaking Stata: Automating axis labels: Nice numbers and transformed scales. The Stata Journal, 22(4), 975-995. https://doi.org/10.1177/1536867x221141058

Two common problems with graph axis labels are to decide in advance on some “nice” numbers to use on one or both axes and to show particular labels on some transformed scale. In this column, I discuss the nicelabels and mylabels commands, which addre... Read More about Speaking Stata: Automating axis labels: Nice numbers and transformed scales.

Speaking Stata: The largest five - A tale of tail values (2022)
Journal Article
Cox, N. J. (2022). Speaking Stata: The largest five - A tale of tail values. The Stata Journal, 22(2), 446-459. https://doi.org/10.1177/1536867x221106436

How do you work with the largest five, or smallest five, or any other fixed number of values in a tail of a distribution? In this column, I give examples of problems and code for basic calculations as a prelude to graphics, tables, and more detailed... Read More about Speaking Stata: The largest five - A tale of tail values.