How to interpret scientific & statistical graphs

Similar documents
Unit 1 Exploring and Understanding Data

Population. Sample. AP Statistics Notes for Chapter 1 Section 1.0 Making Sense of Data. Statistics: Data Analysis:

Statistics is the science of collecting, organizing, presenting, analyzing, and interpreting data to assist in making effective decisions

Understandable Statistics

Chapter 1: Exploring Data

Statistics is the science of collecting, organizing, presenting, analyzing, and interpreting data to assist in making effective decisions

CHAPTER 3 Describing Relationships

Medical Statistics 1. Basic Concepts Farhad Pishgar. Defining the data. Alive after 6 months?

Outline. Practice. Confounding Variables. Discuss. Observational Studies vs Experiments. Observational Studies vs Experiments

Lecture Outline. Biost 517 Applied Biostatistics I. Purpose of Descriptive Statistics. Purpose of Descriptive Statistics

Undertaking statistical analysis of

Readings: Textbook readings: OpenStax - Chapters 1 4 Online readings: Appendix D, E & F Online readings: Plous - Chapters 1, 5, 6, 13

Business Statistics Probability

Introduction to Statistical Data Analysis I

Frequency distributions

Describe what is meant by a placebo Contrast the double-blind procedure with the single-blind procedure Review the structure for organizing a memo

Still important ideas

Unit 7 Comparisons and Relationships

Describe what is meant by a placebo Contrast the double-blind procedure with the single-blind procedure Review the structure for organizing a memo

Identify two variables. Classify them as explanatory or response and quantitative or explanatory.

2.4.1 STA-O Assessment 2

Describe what is meant by a placebo Contrast the double-blind procedure with the single-blind procedure Review the structure for organizing a memo

STATISTICS & PROBABILITY

Still important ideas

Theory. = an explanation using an integrated set of principles that organizes observations and predicts behaviors or events.

Part 1. For each of the following questions fill-in the blanks. Each question is worth 2 points.

bivariate analysis: The statistical analysis of the relationship between two variables.

Statistics: A Brief Overview Part I. Katherine Shaver, M.S. Biostatistician Carilion Clinic

Lesson 9 Presentation and Display of Quantitative Data

Statistics is a broad mathematical discipline dealing with

M 140 Test 1 A Name SHOW YOUR WORK FOR FULL CREDIT! Problem Max. Points Your Points Total 60

Probability and Statistics. Chapter 1

Observational studies; descriptive statistics

Biostatistics. Donna Kritz-Silverstein, Ph.D. Professor Department of Family & Preventive Medicine University of California, San Diego

SPRING GROVE AREA SCHOOL DISTRICT. Course Description. Instructional Strategies, Learning Practices, Activities, and Experiences.

Data, frequencies, and distributions. Martin Bland. Types of data. Types of data. Clinical Biostatistics

Readings: Textbook readings: OpenStax - Chapters 1 11 Online readings: Appendix D, E & F Plous Chapters 10, 11, 12 and 14

Stats 95. Statistical analysis without compelling presentation is annoying at best and catastrophic at worst. From raw numbers to meaningful pictures

4.3 Measures of Variation

Biostatistics for Med Students. Lecture 1

STT315 Chapter 2: Methods for Describing Sets of Data - Part 2

Types of Statistics. Censored data. Files for today (June 27) Lecture and Homework INTRODUCTION TO BIOSTATISTICS. Today s Outline

Before we get started:

Chapter 4: Scatterplots and Correlation

Part III Taking Chances for Fun and Profit

Measuring the User Experience

2.75: 84% 2.5: 80% 2.25: 78% 2: 74% 1.75: 70% 1.5: 66% 1.25: 64% 1.0: 60% 0.5: 50% 0.25: 25% 0: 0%

STP226 Brief Class Notes Instructor: Ela Jackiewicz

STATISTICS AND RESEARCH DESIGN

Table of Contents. Plots. Essential Statistics for Nursing Research 1/12/2017

MINUTE TO WIN IT: NAMING THE PRESIDENTS OF THE UNITED STATES

List of Figures. List of Tables. Preface to the Second Edition. Preface to the First Edition

Outcome Measure Considerations for Clinical Trials Reporting on ClinicalTrials.gov

Chapter 3: Examining Relationships

Summarizing Data. (Ch 1.1, 1.3, , 2.4.3, 2.5)

Chapter 7: Descriptive Statistics

V. Gathering and Exploring Data

LOTS of NEW stuff right away 2. The book has calculator commands 3. About 90% of technology by week 5

AP Statistics. Semester One Review Part 1 Chapters 1-5

AP STATISTICS 2010 SCORING GUIDELINES

Methodological skills

Chapter 3 CORRELATION AND REGRESSION

M 140 Test 1 A Name (1 point) SHOW YOUR WORK FOR FULL CREDIT! Problem Max. Points Your Points Total 75

Introduction to Quantitative Methods (SR8511) Project Report

Readings: Textbook readings: OpenStax - Chapters 1 13 (emphasis on Chapter 12) Online readings: Appendix D, E & F

DOWNLOAD PDF SUMMARIZING AND INTERPRETING DATA : USING STATISTICS

Nature Neuroscience: doi: /nn Supplementary Figure 1. Behavioral training.

STAT 503X Case Study 1: Restaurant Tipping

Further Mathematics 2018 CORE: Data analysis Chapter 3 Investigating associations between two variables

3.2 Least- Squares Regression

Homework #3. SHORT ANSWER. Write the word or phrase that best completes each statement or answers the question.

How to describe bivariate data

NORTH SOUTH UNIVERSITY TUTORIAL 1

WDHS Curriculum Map Probability and Statistics. What is Statistics and how does it relate to you?

Department of Statistics TEXAS A&M UNIVERSITY STAT 211. Instructor: Keith Hatfield

MATH 2560 C F03 Elementary Statistics I LECTURE 6: Scatterplots (Continuation).

Organizing Data. Types of Distributions. Uniform distribution All ranges or categories have nearly the same value a.k.a. rectangular distribution

Chapter 1. Picturing Distributions with Graphs

Chapter 1: Introduction to Statistics

Math for Liberal Arts MAT 110: Chapter 5 Notes

CHAPTER ONE CORRELATION

Example The median earnings of the 28 male students is the average of the 14th and 15th, or 3+3

STATISTICS INFORMED DECISIONS USING DATA

Biostatistics II

Chapter 1 Where Do Data Come From?

Statistics and Epidemiology Practice Questions

Section 1.2 Displaying Quantitative Data with Graphs. Dotplots

Quantitative Methods in Computing Education Research (A brief overview tips and techniques)

Lab 4 (M13) Objective: This lab will give you more practice exploring the shape of data, and in particular in breaking the data into two groups.

q2_2 MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question.

Statistics: Interpreting Data and Making Predictions. Interpreting Data 1/50

Research Methods in Forest Sciences: Learning Diary. Yoko Lu December Research process

What you should know before you collect data. BAE 815 (Fall 2017) Dr. Zifei Liu

LAB ASSIGNMENT 4 INFERENCES FOR NUMERICAL DATA. Comparison of Cancer Survival*

CHAPTER 3 DATA ANALYSIS: DESCRIBING DATA

Types of data and how they can be analysed

Key: 18 5 = 1.85 cm. 5 a Stem Leaf. Key: 2 0 = 20 points. b Stem Leaf Key: 2 0 = 20 cm. 6 a Stem Leaf. c Stem Leaf

Frequency Distributions

Review+Practice. May 30, 2012

Main article An introduction to medical statistics for health care professionals: Describing and presenting data

Transcription:

How to interpret scientific & statistical graphs Theresa A Scott, MS Department of Biostatistics theresa.scott@vanderbilt.edu http://biostat.mc.vanderbilt.edu/theresascott 1

A brief introduction Graphics: One of the most important aspects of presentation and analysis of data; help reveal structure and patterns. Graphical perception (ie, interpretation of a graph): The visual decoding of the quantitative and qualitative information encoded on graphs. Objective: To discuss how to interpret some common graphs. 2

Sidebar: Types of variables Continuous (quantitative data): Have any number of possible values (eg, weight). Discrete numeric set of possible values is a finite (ordered) sequence of numbers (eg, a pain scale of 1, 2,, 10). Categorical (qualitative data): Have only certain possible values (eg, race); often not numeric. Binary (dichotomous) a categorical variable with only two possible value (eg, gender). Ordinal a categorical variable for which there is a definite ordering of the categories (eg, severity of lower back pain as none, mild, moderate, and severe). 3

Graphs for a single variable s distribution 4

Histograms Continuous variable. Values are divided into a series of intervals, usually of equal length. Data are displayed as a series of vertical bars whose heights indicate the number (count) or proportion (percentage) of values in each interval. What is the overall shape? Is it symmetric? Is it skewed? Affected by the size of the interval. Is there more than one peak? What is the range of the intervals? Is the shape wide or tight (ie, what s the variability?) Frequenc cy 15 20 25 0 5 10 0 200 400 600 800 1000 1200 Look for concentration of points and/or outliers, which can distort the graph. 5

Boxplots Continuous variable. Displays a numerical summary of the distribution. Most include the 25 th, 50 th (median), and 75 th percentiles. Optionally includes the mean (average). May extend to the min & max or may use a rule to indicate outliers. Graphed either horizontally or vertically. Interpretation: What statistics are displayed? Most often, the central box includes the middle 50% of the values. Whiskers (& outliers) show the range. Symmetry is indicated by box & whiskers and by location of the median (and mean). X Variable 800 1000 1200 0 200 400 600 6

Boxplot with raw data Going one step beyond just a boxplot. Boxplot is overlaid with the raw values of the continuous variable. Therefore, displays both a numerical summary as well as the actual data. Gives a better idea the number of values the numerical summary (ie, boxplot) is based on and where they occur. Raw values are often jittered that is, in order to visually depict multiple occurrences of the same value, a random amount of noise is added in the horizontal direction (if boxplot is vertical; in the vertical direction if the boxplot is horizontal). X Variable 800 1000 1200 0 200 400 600 Look for concentration of points and (as before) outliers. 7

Barplots (aka, bar charts) Categorical variable. Data are displayed as a series of vertical (or horizontal) bars whose heights indicate the number (count) or proportion (percentage) of values in each category. Visual representation of a table. How do the heights of the bars compare? Which is largest? Smallest? tion Proport 0.6 0.8 1.0 0.0 0.2 0.4 Censored Dead 8

Dot plots (aka, dotcharts) Categorical variable. Alternative to a barplot (bar chart). Height of the (vertical) bars are indicated with a dot (or some other character) on a (often horizontal dotted) line. Line represents the counts or percentages. Same interpretation as barplot (bar chart). Dead Censored 0.0 0.2 0.4 0.6 0.8 1.0 Proportion 9

Graphs for the association/relation between two variables 10

Side-by-side boxplots A continuous variable and a categorical variable. Displays the distribution of the continuous variable within each category of the categorical variable. Width of the boxes can also be made proportional to the number of values in each category. Here, side-by-side boxplots are overlaid with the raw values. How does the symmetry of each boxplot differ across categories? How do they compare to the boxplot of the continuous variable ignoring the categorical variable? Is there a concentration of points and/or outliers in one particular category? Is the number of values in each category fairly consistent? Serum Albumin 3.6 3.8 4.0 4.2 2.8 3.0 3.2 3.4 1 2 3 4 Histological stage of disease 11

Barplots Two categorical variables. Visual representation of a two-way table. Bars are most often nested. The count/proportion of the 2 nd variable s categories is displayed within each of the 1 st variable s categories. Allows you to compare the 2 nd variable s categories (1) within each of the 1 st variable s categories, and (2) across the 1 st variable s categories. Bars can also be stacked. A single bar is constructed for each category of the 1 st variable & divided into segments, which are proportional to the count/ percentage of values in each category of the 2 nd variable. Counts should sum to the no. of values in the dataset; percentages should sum to 100%. Unlike side-by-side, segments do not have a common axis makes difficult to compare segment sizes across bars. Proportion Proportion 0.0 0.2 0.4 0.6 0.8 1.0 0.0 0.2 0.4 0.6 0.8 1.0 D-penicillamine D-penicillamine Treatment Treatment Placebo Placebo Stage 1 Stage 2 Stage 3 Stage 4 Stage 4 Stage 3 Stage 2 Stage 1 12

D-penicillamine Dot plots Stage 4 Stage 3 Stage 2 Stage 1 Two categorical variables. Alternative visual representation of a two-way table. Placebo Stage 4 Stage 3 Stage 2 Like barplots, can be nested. Have different lines for each category of the 2 nd variable grouped for each category of the 1 st variable. Stage 1 0.0 0.2 0.4 0.6 0.8 1.0 Proportion Can also be stacked. Categories of the 2 nd variable are shown on a single line; one line for each category of the 2 nd variable; 1 st variable s categories are distinguished with different symbols. Unlike stacked barplots, do have a common axis for comparisons. Same interpretation as barplot (bar chart). Same comparisons within and across categories. Placebo D-penicillamine 0.0 0.2 0.4 0.6 0.8 1.0 Proportion Stage 1 Stage 2 Stage 3 Stage 4 13

Scatterplots Two continuous variables. Usually, the response variable (ie, outcome) is plotted along the vertical (y) axis and the explanatory variable (ie, predictor; risk factor) is plotted along the horizontal (x) axis. Doesn t matter if there is no distinction between the two variables. Each subject is represented by a point. Often include lines depicting an estimate of the linear/non-linear relation/ association, and/or confidence bands. http://www.stat.sfu.ca/~cschwarz/stat-201/handouts/node41.html What to look for : Overall pattern: Positive association/ relation? Negative association/ relation? No association/relation? Form of the association/relation: Linear? Non-linear (ie, a curve)? Strength of the relation/association: How tightly clustered are the points (ie, how variable is the relation/ association)? Outliers Lurking variables: A 3 rd (continuous or categorical) variable that is related to both continuous variables and may confound the association/relation. Often incorporated into graph see Graphs for mutlivariate data slides. 14

Example Scatterplots 160 170 180 1.0 1.2 1.4 1.6 1.8 20 30 40 50 60 70 5 10 15 20 Height X 15 Weight 110 120 130 140 150 Y

Graphs for multivariate data (ie, more than two variables) 16

(More complex) Scatterplots Two continuous variables and a categorical variable. Often, categorical variable is a confounder the association/relation between the two continuous variables is (possibly) different between the categories of the categorical variable. Categorical variable incorporated using different symbols and/or line types for each category. What to look for: Same as mentioned for general scatterplot. Serum Albumin 3.5 4.0 2.0 2.5 3.0 D-penicillamine Placebo Does the association/relation between the two continuous variables differ between the categories of the categorical variable? If so, how? 200 400 600 800 1000 Serum Cholesterol 17

Examples of other graphs you might encounter 18

Modified side-by-side boxplot (great alternative to a dynamite plot next slide) Age (years) 30 40 50 60 70 80 Mean and SD of Age Across Stage of Disease Stage 1 Stage 2 Stage 3 Stage 4 Histological stage of disease 19

Dynamite plot (often, height of bar = mean; error bar = standard deviation) IMPORTANT Even though commonly seen, not a good graph to generate. Interested in the height of the bar (rest of the bar is just unnecessary ink). Have no idea how many values the mean and standard deviation are based on (often quite small) or how the raw values are distributed. Both affect the values of the mean and standard deviation. Bars can also be hanging, which may represent negative values very confusing. Expression of protein.5 2.0 2.5 3.0 0.0 0.5 1.0 1. Wild Type Type of mouse Knockout 20

Survival & Hazard plots Survival Plot Hazard Plot Survival Probability of 0.6 0.8 1.0 0.0 0.2 0.4 Maintenance No Maintenance Cumulative Hazard 2.0 2.5 3.0 0.0 0.5 1.0 1.5 Maintenance No Maintenance 0 50 100 150 Months Each step down represents one or more deaths ; + signs represent censoring. 0 50 100 150 Months Each step up represents one or more deaths ; + signs represent censoring. 21

Spaghetti & Line plots 350 400 350 400 Treatment Group Placebo Drug A Drug B Red cell fol 200 250 300 Red cell fol 200 250 300 late late Baseline 6 mos 12 mos Post-op Post-op Baseline 6 mos 12 mos Post-op Post-op Each line plots the raw data points of a single subject. Each line plots summary measures (eg, mean) from a group of subjects. 22

WARNING: Very easy for a graph to lie What are the limits of the axis/axes? Is the scale consistent? How do the height and width of the graph compare to each other? Is the graph a square? A rectangle (ie, short & wide; tall & skinny)? If two or more graphs are shown together (eg, side-by-side, or in a 2x2 matrix), do all of the axes have the same limits? Same scale? Do they have the same relative dimensions? Are there two x- or y-axes in the same graph? If so, do they have the same scale? Can you get a feel for the raw data? The number of data points? Does a graph of a continuous variable show outliers? Does the data look too pretty? 23

General steps Do I understand this graph? If NO: (1) it might be a really bad graph; or (2) it might be a type of graph you don t know about. Carefully examine the axes and legends, noting any oddities. Scan over the whole graph, to see what it is saying, generally. If necessary, look at each portion of the graph. Re-ask Do I understand this graph? If YES, what is it saying? If NO, why not? Overview of Statistical Graphs, Peter Flom 24