Presenting Multivariate Data Harry R. Erwin, PhD School of Computing and Technology University of Sunderland.

Slides:



Advertisements
Similar presentations
Lecture 06: Design II February 5, 2013 COMP Visualization.
Advertisements

Introduction to Lattice Graphics Richard Pugh 4th December 2012.
Rich Pugh Andy Nicholls Head to Head: Lattice vs ggplot2 Rich Pugh
R Graphics SCS Short Course March 14, Archeology Archeological expedition –Basic graphics – easy and flexible –Lattice (trellis) graphics – powerful.
Theory of Data Graphics Part 1 Most of a graphic’s ink should vary in response to data variation (see chapters 4-6)
Introduction to R Graphics
Lecture 1: Beautiful graphics in R
Plotting Multivariate Data Harry R. Erwin, PhD School of Computing and Technology University of Sunderland.
The visual display of quantitative data Joyce Chapman, Consultant for Communications & Data Analysis State Library of North Carolina,
Statistics for the Behavioral Sciences Second Edition Chapter 3: Visual Displays of Data iClicker Questions Copyright © 2012 by Worth Publishers Susan.
R graphics  R has several graphics packages  The plotting functions are quick and easy to use  We will cover:  Bar charts – frequency, proportion 
Introduction to Data Analytics
Section 2-4 Statistical Graphics.
Data Presentation A guide to good graphics Bureau of Justice Statistics Marianne W. Zawitz.
Plotting Systems in R Dr. Jieh-Shan George YEH
Customizing Graphs Base graphics options. plot() The workhorse plotting function plot(x) plots values of x in sequence or a barplot plot(x, y) produces.
Graphical Display 1 Pictures of Data. Edward Tufte Visual Display of Quantitative Information Using graphics for –Data –Concepts –Instruction –Finding.
Visualization and Data Mining. 2 Outline  Graphical excellence and lie factor  Representing data in 1,2, and 3-D  Representing data in 4+ dimensions.
R for Research Data Analysis using R Day2: Advanced R Baburao Kamble University of Nebraska-Lincoln.
Data Visualization.
1 Determining Effective Data Display with Charts.
Multivariate Statistics Harry R. Erwin, PhD School of Computing and Technology University of Sunderland.
Information Visualization in Data Mining S.T. Balke Department of Chemical Engineering and Applied Chemistry University of Toronto.
Baburao Kamble (Ph.D) University of Nebraska-Lincoln Data Analysis Using R Week5: Charts/Plots in R.
Jeffrey Nichols Displaying Quantitative Information May 2, 2003 Slide 0 Displaying Quantitative Information An exploration of Edward R. Tufte’s The Visual.
Graphics and visual information English 314 Technical communication Note: To hide or reveal these lecture notes, go to VIEW and click COMMENTS. This lecture.
Making Graphs. The Basics … Graphical Displays Should: induce the viewer to think about the substance rather than about the methodology, graphic design,
AN INTRODUCTION TO GRAPHICS IN R. Today Overview Overview –Gallery of R Graph examples High-Level Plotting Functions High-Level Plotting Functions Low-Level.
Baburao Kamble (Ph.D) University of Nebraska-Lincoln
Mark P. Baldwin Northwest Research Associates, USA Cargese UTLS Summer School, 6 Oct Data Graphics AndTypography.
The Center for IDEA Early Childhood Data Systems April 25, 2014 Data Visualization: A Picture’s Worth a Thousand Numbers Nick Ortiz, Alice Ridgway and.
Mark P. Baldwin Northwest Research Associates, USA Cargese UTLS Summer School, 6 Oct Data Graphics AndTypography.
CMPT 880/890 Writing labs. Outline Presenting quantitative data in visual form Tables, charts, maps, graphs, and diagrams Information visualization.
Graphing. The Important Elements of a Graph  Horizontal Axis (X-Axis)  The Independent Variable. A change in this variable affects the y variable. 
Graphical Display and Presentation of Quantitative Information 13 February 2006.
Multivariate Analysis Harry R. Erwin, PhD School of Computing and Technology University of Sunderland.
A Picture Is Worth A Thousand Words. DAY 7: EXCEL CHAPTER 4 Tazin Afrin September 10,
An Introduction to R graphics Cody Chiuzan Division of Biostatistics and Epidemiology Computing for Research I, 2012.
1 Eric Rasmusen, March 10, 2014 Graphs and Tables.
Graphics for Macroeconomics. Principles Graphing is done best when it clearly communicates ideas about data Focus on the main point while preventing distractions.
Excel Charting Quiz Mr. Geerdes Friday, February 27.
MIS2502: Data Analytics Principles of Data Visualization David Schuff
Structures 3 Sat, 27 November : :00 Straight line graphs and solving linear equations graphically 11: :00 Solving simultaneous equations:
COMMUNICATING DATA USING GRAPHICS MIS2502 Data Analytics.
Learn R Toolkit D Kelly O'DayBox, Dot, Histogram, Strip Charts Mod 5 –Box Charts: 1 Module 5 Box, Dot, Histogram, Strip Charts Do See & HearRead Learn.
Notes Graphs. Types of graphs A graph is just a picture of an amount of something. Like size of buildings since 1900.
Math 10 Lesson (3) Using Data to Predict: Focus L Scatterplots.
1 CSE 2337 Chapter 3 Data Visualization With Excel.
Information Design Trends Unit Three: Information Visualization Lecture 1: Escaping Flatland.
GRAPHING A “PICTURE” OF THE RELATIONSHIP BETWEEN THE INDEPENDENT AND DEPENDENT VARIABLES.
Plotting Complex Figures Using R
Technical Communication A Practical Approach Chapter 13: Graphics William Sanborn Pfeiffer Kaye Adkins.
MIS2502: Data Analytics Principles of Data Visualization.
Recap Iterative and Combination of Data Visualization Unique Requirements of Project Avoid to take much Data Audience of Problem.
Using Visuals Module Twenty Five Copyright © 2014 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin.
1 Lecture 5 Post-Graduate Students Advanced Programming (Introduction to MATLAB) Code: ENG 505 Dr. Basheer M. Nasef Computers & Systems Dept.
Solve the equation for y. SOLUTION EXAMPLE 2 Graph an equation Graph the equation –2x + y = –3. –2x + y = –3 y = 2x –3 STEP 1.
Data Visualization.
Multivariate Visualization. Projection Distortion.
MATLAB ® for Engineers, Holly Moore Fourth Edition, Global Edition © Pearson Education Limited 2015 All rights reserved. Figure 5.1 Simple Plot of Time.
Elementary Statistics
Data Visualization.
Using R Graphs in R.
Two-Dimensional Plots
Data Visualization Data visualization principles. Tell a story
Elementary Statistics
What’s the problem? Goodson
Graphing Skills.
R Course 5th lecture.
Graphical Relationships
Presentation transcript:

Presenting Multivariate Data Harry R. Erwin, PhD School of Computing and Technology University of Sunderland

Resources Everitt, BS, and G Dunn (2001) Applied Multivariate Data Analysis, London: Arnold. Everitt, BS (2005) An R and S-PLUS® Companion to Multivariate Analysis, London: Springer Tukey’s seminal paper: – Tufte’s work: – Murrell, P, (2006) R Graphics, Florida: Chapman & Hall/CRC.

Do not lie about the data. How do people lie? –By presenting data selectively –By distorting the visual representation of the data –By failing to extrapolate scales from one portion of the image to another. –By changing scales –By inflating vertical scales –By failing to show the zero point or 100% point of an axis. –By representing linear data by area –By representing areal data linearly –By omitting data

Five Principles Above all else, show the data Maximize the data/ink ratio Erase non-data ink Erase redundant data ink Revise and edit freely

Avoid Chartjunk Avoid moiré effects—shimmering Mute the grid Dump the duck—avoid self-promoting graphics

A Laundry-List of Plotting Commands in R Standard scatterplot commands –plot(dataset) # for two-column data –text(xval,yval,TextString) barplot() produces barplots. hist() produces histograms boxplot() produces boxplots pie() produces piecharts pairs() produces a pairs diagramme

What can you plot? The first argument(s) to any plot command is (are) very flexible –A dataframe –A pair of vectors –A relationship (pressure~temperature, data=pressure) –A model

Adding details to a plot text(locx, locy, TextString) points(vecx,vecy) to add points lines(vecx,vecy) to draw connecting lines matplot() par() to customise the graphics axis() to add an axis grid() to add a grid abline() to add a line to the plot arrows() to add arrows to the plot mtext() to add marginal text title() to add a title legend() to add a legend

Trellis Graphics package(lattice) # creates objects of class trellis Developed by Deepayan Sarkar Generates complete plots Operates just like traditional graphics, but optimised for us based on Bill Cleveland’s recommendations. Ensure accurate and faithful communication of information Supports ‘multi-panel conditioning’, which will be very useful.

The Lattice Graphics Model tplot<-xyplot(lat~long, data=quakes, pch=“.”) print(tplot) tplot2<-update(tplot, main=“Earthquakes in the Pacific Ocean (since 1964)”) Use the trellis.device() function instead of par()

Trellis Plots Trellis –barchart() –bwplot() –densityplot() –dotplot() –histogram() –qqmath() –stripplot() Standard –barplot() –boxplot() –nil –dotchart() –hist() –qqnorm() –stripchart()

More Trellis Plots Trellis –qq() –xyplot() –levelplot() –contourplot() –cloud() –wireframe() –splom() –parallel() Standard –qqplot() –plot() –image() –contour() –nil –persp() –pairs() –nil

Multipanel Conditioning depthgroup<-equal.count(quakes$depth, number=3, overlap=0) xyplot(lat~long|depthgroup, data=quakes, pch=“.”)

Demonstrations