PRINCIPLES OF GRAPH CONSTRUCTION Frank E Harrell Jr Department of Biostatistics Vanderbilt University School of Medicine
[email protected] biostat.mc.vanderbilt.edu at Jump: StatGraphCourse Office of Biostatistics, FDA CDER
[email protected] Blog: fharrell.com Twitter: @f2harrell DIA/FDA STATISTICS FORUM NORTH BETHESDA MD 2017-04-24 Copyright 2000-2017 FE Harrell All Rights Reserved Chapter 1 Principles of Graph Construction The ability to construct clear and informative graphs is related to the ability to understand the data. There are many excellent texts on statistical graphics (many of which are listed at the end of this chapter). Some of the best are Cleveland’s 1994 book The Elements of Graphing Data and the books by Tufte. The sugges- tions for making good statistical graphics outlined here are heavily influenced by Cleveland’s 1994 book. See also the excellent special issue of Journal of Computa- tional and Graphical Statistics vol. 22, March 2013. 2 CHAPTER 1. PRINCIPLES OF GRAPH CONSTRUCTION 3 1.1 Graphical Perception • Goals in communicating information: reader percep- tion of data values and of data patterns. Both accu- racy and speed are important. • Pattern perception is done by detection : recognition of geometry encoding physi- cal values assembly : grouping of detected symbol elements; discerning overall patterns in data estimation : assessment of relative magnitudes of two physical values • For estimation, many graphics involve discrimination, ranking, and estimation of ratios • Humans are not good at estimating differences with- out directly seeing differences (especially for steep curves) • Humans do not naturally order color hues • Only a limited number of hues can be discriminated in one graphic • Weber’s law: The probability of a human detecting a difference in two lines is related to the ratio of the two line lengths CHAPTER 1.