EconPapers    
Economics at your fingertips  
 

Speaking Stata: Letter values as selected quantiles

Nicholas Cox

Stata Journal, 2016, vol. 16, issue 4, 1058-1071

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.

Keywords: lvalues; letter values; order statistics; quantiles; distributions; level; spread; shape; skewness; exploratory data analysis; graphics (search for similar items in EconPapers)
Date: 2016
Note: to access software from within Stata, net describe http://www.stata-journal.com/software/sj16-4/st0465/
References: Add references at CitEc
Citations: View citations in EconPapers (1)

Downloads: (external link)
http://www.stata-journal.com/article.html?article=st0465 link to article purchase

Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.

Export reference: BibTeX RIS (EndNote, ProCite, RefMan) HTML/Text

Persistent link: https://EconPapers.repec.org/RePEc:tsj:stataj:v:16:y:2016:i:4:p:1058-1071

Ordering information: This journal article can be ordered from
http://www.stata-journal.com/subscription.html

Access Statistics for this article

Stata Journal is currently edited by Nicholas J. Cox and Stephen P. Jenkins

More articles in Stata Journal from StataCorp LLC
Bibliographic data for series maintained by Christopher F. Baum () and Lisa Gilmore ().

 
Page updated 2025-03-29
Handle: RePEc:tsj:stataj:v:16:y:2016:i:4:p:1058-1071