IDEAS home Printed from https://ideas.repec.org/a/tsj/stataj/v16y2016i4p1058-1071.html
   My bibliography  Save this article

Speaking Stata: Letter values as selected quantiles

Author

Listed:
  • Nicholas J. Cox

    (Durham University)

Abstract

Letter values were introduced and named by J. W. Tukey in the 1970s as selected quantiles. The idea is to choose a small set of quantiles to characterize an ordered sample of values, quantiles that are each defined as either individual order statistics or the mean of two such statistics. The procedure is to start with the median, to continue with quartiles, and then with first and last octiles, and so on. At each step, approximate medians are identified of successively smaller tail fractions until the extremes, the minimum and maximum, are reached. As a historical aside, the same idea can be identified in work by Francis Galton from 1880. Letter values are supported by Stata through the official command lv, but that command is geared to letter-value displays and (arbitrarily) will compute no more than 21 letter values. A new command, lvalues, is introduced that supports calculation of letter values without such limits and is designed to save results in new variables for as many variables and distinct groups as are specified. Results may then be easily listed and (especially) plotted in pursuit of identification and comparison of distribution level, spread, and shape. Examples are given with emphasis on quantile plots. Copyright 2016 by StataCorp LP.

Suggested Citation

  • Nicholas J. Cox, 2016. "Speaking Stata: Letter values as selected quantiles," Stata Journal, StataCorp LP, vol. 16(4), pages 1058-1071, December.
  • Handle: RePEc:tsj:stataj:v:16:y:2016:i:4:p:1058-1071
    Note: to access software from within Stata, net describe http://www.stata-journal.com/software/sj16-4/st0465/
    as

    Download full text from publisher

    File URL: http://www.stata-journal.com/article.html?article=st0465
    File Function: link to article purchase
    Download Restriction: no
    ---><---

    Citations

    Citations are extracted by the CitEc Project, subscribe to its RSS feed for this item.
    as


    Cited by:

    1. Teresa Famulska & Jan Kaczmarzyk & Małgorzata Grząba-Włoszek, 2022. "Environmental Taxes in the Member States of the European Union—Trends in Energy Taxes," Energies, MDPI, vol. 15(22), pages 1-20, November.

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:tsj:stataj:v:16:y:2016:i:4:p:1058-1071. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Christopher F. Baum or Lisa Gilmore (email available below). General contact details of provider: http://www.stata-journal.com/ .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.