Compact Letter Display
   HOME

TheInfoList



OR:

Compact Letter Display (CLD) is a statistical method to clarify the output of multiple hypothesis testing when using the
ANOVA Analysis of variance (ANOVA) is a collection of statistical models and their associated estimation procedures (such as the "variation" among and between groups) used to analyze the differences among means. ANOVA was developed by the statistician ...
and
Tukey John Wilder Tukey (; June 16, 1915 – July 26, 2000) was an American mathematician and statistician, best known for the development of the Cooley–Tukey FFT algorithm, fast Fourier Transform (FFT) algorithm and box plot. The Tukey's range test ...
's range tests. CLD can also be applied following the
Duncan's new multiple range test In statistics, Duncan's new multiple range test (MRT) is a multiple comparisons, multiple comparison procedure developed by David B. Duncan in 1955. Duncan's MRT belongs to the general class of multiple comparison procedures that use the studentized ...
(which is similar to Tukey's range test). CLD facilitates the identification of variables, or
factors Factor, a Latin word meaning "who/which acts", may refer to: Commerce * Factor (agent), a person who acts for, notably a mercantile and colonial agent * Factor (Scotland), a person or firm managing a Scottish estate * Factors of production, suc ...
, that have statistically different means (or averages) vs. the ones that do not have statistically different means (or averages). The basic technique of compact letter display is to label variables by one or more letters, so that variables are statistically indistinguishable if and only if they share at least one letter. The problem of doing so, using as few distinct letters as possible can be represented combinatorially as the problem of computing an edge clique cover of a graph representing pairs of indistinguishable variables. As well as marking distinguishability in this way, CLD also ranks variables, or factors, by their respective mean (or average) in descending order. The CLD methodology can be applied to tabular data (
spreadsheet A spreadsheet is a computer application for computation, organization, analysis and storage of data in tabular form. Spreadsheets were developed as computerized analogs of paper accounting worksheets. The program operates on data entered in cel ...
,
data frame A frame is a digital data transmission unit in computer networking and telecommunication. In packet switched systems, a frame is a simple container for a single network packet. In other telecommunications systems, a frame is a repeating structure s ...
) or visual data (
box plot In descriptive statistics, a box plot or boxplot is a method for graphically demonstrating the locality, spread and skewness groups of numerical data through their quartiles. In addition to the box on a box plot, there can be lines (which are ca ...
and
bar chart A bar chart or bar graph is a chart or graph that presents categorical data with rectangular bars with heights or lengths proportional to the values that they represent. The bars can be plotted vertically or horizontally. A vertical bar chart is ...
).


The basics of CLD


CLD identifies the variables that are statistically different vs. the ones that are not

Each variable that shares a mean that is not statistically different from another one will share the same letter.  For example: ”a” “ab” “b” The above indicates that the first variable “a” has a mean (or average) that is statistically different from the third one “b”.  But, the second variable “ab” has a mean that is not statistically different from either the first or the third variable. Let's look at another example: ”a” “ab” “bc” “c” The above indicates that the first variable “a” has a mean (or average) that is statistically different from the third variable “bc” and the fourth one “c”.  But, this first variable “a” is not statistically different from the second one “ab”. Given the structure of the Roman alphabet, the CLD methodology could readily compare up to 26 different variables, or factors. This constraint is typically much higher than the vast majority of multiple hypothesis testing conducted using ANOVA and Tukey's range tests.


CLD ranks the variables in descending mean (or average) order

So, the variable with the highest mean (or average) will be named “a” (if it is statistically different from all the others, otherwise it may be called "ab", etc.).  And, the variable with the lowest mean (or average) will have the highest letter among the tested variables.


A CLD example

We are going to test if the average rainfall in five West Coast cities is statistically different.  These cities are: # Eugene (OR) #
Portland Portland most commonly refers to: * Portland, Oregon, the largest city in the state of Oregon, in the Pacific Northwest region of the United States * Portland, Maine, the largest city in the state of Maine, in the New England region of the northeas ...
(OR) #
San Francisco San Francisco (; Spanish language, Spanish for "Francis of Assisi, Saint Francis"), officially the City and County of San Francisco, is the commercial, financial, and cultural center of Northern California. The city proper is the List of Ca ...
(CA) #
Seattle Seattle ( ) is a seaport city on the West Coast of the United States. It is the seat of King County, Washington. With a 2020 population of 737,015, it is the largest city in both the state of Washington and the Pacific Northwest regio ...
(WA) #
Spokane Spokane ( ) is the largest city and county seat of Spokane County, Washington, United States. It is in eastern Washington, along the Spokane River, adjacent to the Selkirk Mountains, and west of the Rocky Mountain foothills, south of the Ca ...
(WA) The data is annual rainfall inches (1951 – 2021). The data source is the
NOAA The National Oceanic and Atmospheric Administration (abbreviated as NOAA ) is an United States scientific and regulatory agency within the United States Department of Commerce that forecasts weather, monitors oceanic and atmospheric conditio ...
. First, we will improve the tabular data using CLD. Next, we will improve the visual data using CLD.


Improving tabular data with CLD

Here are the five West Coast cities rainfall data before applying CLD methodology. As shown above, the rainfall data for the five West Coast cities is sorted in alphabetical order. This order is not informative. It is challenging to figure out which cities' respective mean or average are different from each other. Next, we reproduce the same table but we sort the cities using the CLD methodology after we would have conducted a Tukey's range test. The above table using the CLD methodology is far more informative. It has ranked the cities by their respective mean or average rainfall in descending order. And, it has also grouped the cities that have similar mean-rainfall (not statistically different using an alpha value of 0.05). As shown, Seattle and Portland have mean rainfall levels that are not statistically different from each other. They are both classified "b". Also, San Francisco and Spokane have mean rainfall levels that are not statistically different from each other. They are both classified "c." But, Eugene's mean rainfall level is statistically different and higher than either Seattle & Portland or San Francisco & Spokane. And, Seattle & Portland have mean rainfall levels that are statistically different and higher than San Francisco & Spokane.


Improving visual data with CLD

Here is a first
box plot In descriptive statistics, a box plot or boxplot is a method for graphically demonstrating the locality, spread and skewness groups of numerical data through their quartiles. In addition to the box on a box plot, there can be lines (which are ca ...
with cities just sorted in alphabetical order from left to right. The box plot above is not entirely clear. It is hard to distinguish the cities that are somewhat similar (average or mean is not statistically different) vs. the ones that are dissimilar (average or mean is statistically different). Now, let's view the same boxplot using the CLD methodology. The box plot above, using the CLD methodology, is now far more informative. The cities are sorted in descending order from left to right. The color density is tiered with the cities having higher rainfall being colored with more dense or opaque tones; meanwhile, the cities with lower rainfall have less dense or more transparent tones. Additionally, we can readily identify the cities that have similar rainfall means (not statistically different) such as Seattle & Portland hat are both identified with the "b" letter. Additionally, San Francisco & Eugene also have similar rainfall means as they are both identified with the "c" letter. On the other hand, Eugene has the highest mean rainfall level of them all; and, it is statistically different (higher) than all other cities as it is the only city identified with the letter "a".


The benefits of CLD

In the absence of the CLD methodology, the main underlying way of identifying statistical difference in means between paired variables is the mentioned Tukey's range test. The latter is a very informative test catered to an audience of statisticians. Outside of such a specialized audience, the test output as shown below is rather challenging to interpret. The Tukey's range test uncovered that San Francisco & Spokane did not have statistically different rainfall mean (at the alpha = 0.05 level) with a p-value of 0.08. Seattle & Portland also did not have statistically different rainfall mean, with a difference associated with a p-value of 0.54. As shown earlier, it is a lot easier to convey the differentiation between cities rainfall mean using the CLD methodology. And, the CLD enhanced information can be readily interpreted by a far wider audience than doing otherwise (communicating the results without using the CLD methodology, including communicating the result of the Tukey's range test directly).


How to construct a boxplot in R with Compact Letter Display


Compact Letter Displays in R using ggplot2


ref>


References


Further reading

* *{{Cite web , last1=Greenwood , first1=Mark , last2=Banner , first2=Katharine , title=Multiple (pair-wise) comparisons using Tukey's HSD and the compact letter display - Mark Greenwood and Katharine Banner , url=https://arc.lib.montana.edu/book/statistics-with-r-textbook/item/59 , access-date=2022-09-05 , website=Montana State University (MSU) Library , language=en Statistical hypothesis testing Data visualization