+ All Categories
Home > Documents > Spatial Reasoning, & Statistical Graphics EMR 21: September 12, 2012.

Spatial Reasoning, & Statistical Graphics EMR 21: September 12, 2012.

Date post: 22-Dec-2015
Category:
Upload: edwina-white
View: 214 times
Download: 1 times
Share this document with a friend
98
Spatial Reasoning, & Statistical Graphics EMR 21: September 12, 2012
Transcript
Page 1: Spatial Reasoning, & Statistical Graphics EMR 21: September 12, 2012.

Spatial Reasoning, & Statistical Graphics

EMR 21: September 12, 2012

Page 2: Spatial Reasoning, & Statistical Graphics EMR 21: September 12, 2012.

Spatial Reasoning, & Statistical Graphics

EMR 21: September 12, 2012

Page 3: Spatial Reasoning, & Statistical Graphics EMR 21: September 12, 2012.

Map This

• Scenario:• You are a graphics director at the

New York Times• Whole Foods story• This is the 21st century mapmaking

process…

Page 4: Spatial Reasoning, & Statistical Graphics EMR 21: September 12, 2012.

Map this data… (handout)

Page 5: Spatial Reasoning, & Statistical Graphics EMR 21: September 12, 2012.
Page 6: Spatial Reasoning, & Statistical Graphics EMR 21: September 12, 2012.
Page 7: Spatial Reasoning, & Statistical Graphics EMR 21: September 12, 2012.
Page 8: Spatial Reasoning, & Statistical Graphics EMR 21: September 12, 2012.

45 Countries, various quantities

Page 9: Spatial Reasoning, & Statistical Graphics EMR 21: September 12, 2012.
Page 10: Spatial Reasoning, & Statistical Graphics EMR 21: September 12, 2012.
Page 11: Spatial Reasoning, & Statistical Graphics EMR 21: September 12, 2012.

That moment

• When you have data/findings but you are wondering how to visualize...

Page 12: Spatial Reasoning, & Statistical Graphics EMR 21: September 12, 2012.

Part I: Spatial ReasoningWhat is it?

EMR 21: September 12, 2012

Page 13: Spatial Reasoning, & Statistical Graphics EMR 21: September 12, 2012.

What is Spatial Reasoning?

Page 14: Spatial Reasoning, & Statistical Graphics EMR 21: September 12, 2012.

Spatial Reasoning 1:

• Spatial reasoning is the ability we use to position and orient ourselves in everyday environments. This ability is present in all animals and humans to a more or lesser extent. Spatial reasoning consists of two main abilities namely spatial visualization ability which is your ability to call up images in your mind and the ability to reason with these images. (http://www.fibonicci.com/)

Page 15: Spatial Reasoning, & Statistical Graphics EMR 21: September 12, 2012.

Spatial Reasoning 2:

• Probably the most common and basic form of human intelligence. From birth, people employ methods of spatial reasoning almost continuously to infer information about their environment, how it evolves over time and how we change our location in space…. (Golledge, 1998)

Page 16: Spatial Reasoning, & Statistical Graphics EMR 21: September 12, 2012.

Spatial Reasoning 2:

• When applied to computation, spatial reasoning attempts to solve problems that deal with objects that occupy space. (Golledge 1998)

Page 17: Spatial Reasoning, & Statistical Graphics EMR 21: September 12, 2012.

Spatial Reasoning 3:

• The ability to visualize spatial patterns and mentally manipulate them over a time-ordered sequence of spatial transformations…. (Wikipedia)

Page 18: Spatial Reasoning, & Statistical Graphics EMR 21: September 12, 2012.

Spatial Reasoning

• Human Intelligence• Mental Representations / Mental

Maps– Acquiring and organizing information– Internal representations

• Environmental Knowledge• Traditionally conducted at human

scales

Page 19: Spatial Reasoning, & Statistical Graphics EMR 21: September 12, 2012.

• Maps, GIS, and spatial analyses stimulate spatial reasoning about our world at non-human scales

Page 20: Spatial Reasoning, & Statistical Graphics EMR 21: September 12, 2012.

Part II: Statistical Graphics

Page 21: Spatial Reasoning, & Statistical Graphics EMR 21: September 12, 2012.

Statistical Graphics

• Central to and parallel with the “development of science”

• Most statistical analysis yields numeric or tabular forms

• Some techniques enable reporting in more pictorial fashion

• Big Data and Visualization• Exploratory Data Analysis

– We don’t know what we’re going to find

Page 22: Spatial Reasoning, & Statistical Graphics EMR 21: September 12, 2012.

Why do we “visualize” data?

Page 23: Spatial Reasoning, & Statistical Graphics EMR 21: September 12, 2012.

Why do we visualize data?

• External representations• To create a visual interface / We are

visual creatures• To detect structures that are otherwise

hidden• Data analysis without visualization risks

missing important happenings• To take advantage of our most powerful

sense: vision• To see things!

Page 24: Spatial Reasoning, & Statistical Graphics EMR 21: September 12, 2012.

Seminal figure

• William Playfair (Scottish architect)

Page 25: Spatial Reasoning, & Statistical Graphics EMR 21: September 12, 2012.

William Playfair

• 22 September 1759 – 11 February 1823

• 3 or 4 MAJOR Contributions• The Commercial and Political Atlas• The founder of graphical methods for

statistics…• Invisible structures

Page 26: Spatial Reasoning, & Statistical Graphics EMR 21: September 12, 2012.
Page 27: Spatial Reasoning, & Statistical Graphics EMR 21: September 12, 2012.
Page 28: Spatial Reasoning, & Statistical Graphics EMR 21: September 12, 2012.

William Playfair

• “Information Architect”• Line Graph, Bar Chart, Pie Chart

Page 29: Spatial Reasoning, & Statistical Graphics EMR 21: September 12, 2012.
Page 30: Spatial Reasoning, & Statistical Graphics EMR 21: September 12, 2012.

Data Graphics

• Visually display measured quantities by means of the combined use of points, lines, a coordinate system, numbers, symbols, words, shading, and color– Edward Tufte (Visual Display of

Quantitative Information)

Page 31: Spatial Reasoning, & Statistical Graphics EMR 21: September 12, 2012.

Tufte Pages

Page 32: Spatial Reasoning, & Statistical Graphics EMR 21: September 12, 2012.

Good Data Graphics Should:

• Show the data• Induce viewer to think about

phenomena• Present many numbers in a small

space

Page 33: Spatial Reasoning, & Statistical Graphics EMR 21: September 12, 2012.
Page 34: Spatial Reasoning, & Statistical Graphics EMR 21: September 12, 2012.

Good Data Graphics Should:

• Show the data• Induce viewer to think about phenomena• Present many numbers in a small space• Make large data sets coherent• Facilitate comparison• Work at multiple levels (to see vs. to read)• Be closely integrated with text or other

descriptors

Page 35: Spatial Reasoning, & Statistical Graphics EMR 21: September 12, 2012.
Page 36: Spatial Reasoning, & Statistical Graphics EMR 21: September 12, 2012.

Graphics Reveal Information

• An interface with data that mimics primitive environmental knowledge acquisition.

• We are visual creatures!• Let’s look at some techniques…

Page 37: Spatial Reasoning, & Statistical Graphics EMR 21: September 12, 2012.

Individual Variables

• Raw Table• Grouped Frequency Table• Dispersion Graphs• Histogram• Other Charts

Page 38: Spatial Reasoning, & Statistical Graphics EMR 21: September 12, 2012.

Raw Table

• Header on top• Name in the left column

• Attribute/variable on the right

Page 39: Spatial Reasoning, & Statistical Graphics EMR 21: September 12, 2012.

Raw Table: Pros and Cons

• Pros– Specific info– Easy to retrieve min and max

• Cons– Do not reveal overall distribution– Hard to see patterns, clusters

Page 40: Spatial Reasoning, & Statistical Graphics EMR 21: September 12, 2012.

Grouped Frequency Tables

• See pg. 37 of your book• Table 3.2• Half table / half histogram

Page 41: Spatial Reasoning, & Statistical Graphics EMR 21: September 12, 2012.

Point Graphs

• AKA 1-dimensional scatter plot– Each data value plotted on a number line– Open circles

Page 42: Spatial Reasoning, & Statistical Graphics EMR 21: September 12, 2012.
Page 43: Spatial Reasoning, & Statistical Graphics EMR 21: September 12, 2012.

Point Graphs

• Pros: – Show distributions, clusters

• Cons:– Overlapping symbols– Hard to detect duplicates

Page 44: Spatial Reasoning, & Statistical Graphics EMR 21: September 12, 2012.

Dispersion Graphs

• Like point graphs, but classed• Stacked dots in each class

– Figure 3.1B in your book

Page 45: Spatial Reasoning, & Statistical Graphics EMR 21: September 12, 2012.
Page 46: Spatial Reasoning, & Statistical Graphics EMR 21: September 12, 2012.

Dispersion graphs

• Pros: – Show distributions– Easier to read

• Cons:– Precision is lost

Page 47: Spatial Reasoning, & Statistical Graphics EMR 21: September 12, 2012.

Histogram

• Conceptually similar to the dispersion graph

Page 48: Spatial Reasoning, & Statistical Graphics EMR 21: September 12, 2012.

What’so the difference?

Page 49: Spatial Reasoning, & Statistical Graphics EMR 21: September 12, 2012.

Histograms

• Fewer classes than dispersion graphs• Much more common

Page 50: Spatial Reasoning, & Statistical Graphics EMR 21: September 12, 2012.

Measures of Central Tendency

• Objective measures of averages:– MODE– MEAN– MEDIAN

Page 51: Spatial Reasoning, & Statistical Graphics EMR 21: September 12, 2012.

Measures of Dispersion

Range: max minus min Affected by outliers

Interquartile range: 75th percentile minus 25th percentile Immune to outliers

Standard Deviation Affected by outliers

Page 52: Spatial Reasoning, & Statistical Graphics EMR 21: September 12, 2012.

Scatter plots

• What are they?• What do they do?

Page 53: Spatial Reasoning, & Statistical Graphics EMR 21: September 12, 2012.

Scatter plots

• AKA Scatter Diagram• A graphing technique used to examine the relationship of variables against one another

Page 54: Spatial Reasoning, & Statistical Graphics EMR 21: September 12, 2012.

Scatter plots

Page 55: Spatial Reasoning, & Statistical Graphics EMR 21: September 12, 2012.

Scatter plots

Page 56: Spatial Reasoning, & Statistical Graphics EMR 21: September 12, 2012.

Scatter plots

• The data is displayed as a collection of points, each having the value of one variable determining the position on the horizontal axis and the value of the other variable determining the position on the vertical axis.

Page 57: Spatial Reasoning, & Statistical Graphics EMR 21: September 12, 2012.

Scatter plots

• Cartesian Coordinates?

Page 58: Spatial Reasoning, & Statistical Graphics EMR 21: September 12, 2012.

Scatter plots

• Cartesian Coordinates• AKA the rectangular coordinate system

• Developed in the 1630’s by Rene Descartes

Page 59: Spatial Reasoning, & Statistical Graphics EMR 21: September 12, 2012.
Page 60: Spatial Reasoning, & Statistical Graphics EMR 21: September 12, 2012.

Scatter plots

• Pros: Help determine if two attributes are correlated

• Cons: Hard to interpret with lots of observations (the more measurements, the more dots)

Page 61: Spatial Reasoning, & Statistical Graphics EMR 21: September 12, 2012.

Parallel Coordinate Plot• What?

Page 62: Spatial Reasoning, & Statistical Graphics EMR 21: September 12, 2012.
Page 63: Spatial Reasoning, & Statistical Graphics EMR 21: September 12, 2012.

Parallel Coordinate Plot (PCP)

• A graphing technique for multivariate data (more than 2 attributes)

• A set of parallel vertical axes are drawn– One vertical axis per variable attribute)– Each observation is a line connecting the

vertical axes

Page 64: Spatial Reasoning, & Statistical Graphics EMR 21: September 12, 2012.
Page 65: Spatial Reasoning, & Statistical Graphics EMR 21: September 12, 2012.

Parallel Coordinate Plots

• If adjacent variables are perfectly correlated, no lines will intersect between the vertical axes

• See figures 3.8, 3.9

Page 66: Spatial Reasoning, & Statistical Graphics EMR 21: September 12, 2012.

Parallel Coordinate Plots

• Pros: Powerful, Very effective within interactive statistical software

• Cons: Hard to identify individual values and individual observations

Page 67: Spatial Reasoning, & Statistical Graphics EMR 21: September 12, 2012.

Some More Statistical Graphics

• Bar Graphs

• Box plots

• Multivariate ray glyphs

• Cher off faces

Page 68: Spatial Reasoning, & Statistical Graphics EMR 21: September 12, 2012.

Bar Graphs

• AKA Bar Charts

• What do they do?

Page 69: Spatial Reasoning, & Statistical Graphics EMR 21: September 12, 2012.
Page 70: Spatial Reasoning, & Statistical Graphics EMR 21: September 12, 2012.

Bar Graphs

• AKA Bar Charts

• Summarizes categorical data

• Horizontal axis represents categories

• Vert. axis represents counts or %

• Illustrates the differences in % or counts between categories

Page 71: Spatial Reasoning, & Statistical Graphics EMR 21: September 12, 2012.

Bar Charts

• Look like histograms, BUT:– The data is discrete, discontinuous (often

qualitative)• Animal species

– Histograms are for continuous data (often quantitative)

• E.g. heights of a population, city populations

Page 72: Spatial Reasoning, & Statistical Graphics EMR 21: September 12, 2012.

Box Plots

• AKA box-and-whisker diagram or candlestick chart

• What are they? When do we use them?

Page 73: Spatial Reasoning, & Statistical Graphics EMR 21: September 12, 2012.

Box Plots: What are they?

• Graphic depictions of population distributions

Page 74: Spatial Reasoning, & Statistical Graphics EMR 21: September 12, 2012.

Box Plots: What are they?

• Graphic depictions of population distributions

• Indicate the population’s “5-number summary”– Minimum– Lower Quartile– Median– Upper Quartile– Maximum

Page 75: Spatial Reasoning, & Statistical Graphics EMR 21: September 12, 2012.

How They’re Made:

• 1st: find the 5 values for each of your populations

Page 76: Spatial Reasoning, & Statistical Graphics EMR 21: September 12, 2012.

How They’re Made:

• 2nd: Plot the values as points

Page 77: Spatial Reasoning, & Statistical Graphics EMR 21: September 12, 2012.

How They’re Made:

• 3rd: Draw the boxes

Page 78: Spatial Reasoning, & Statistical Graphics EMR 21: September 12, 2012.

Question:• Which Groups has the smallest

interquartile range

Page 79: Spatial Reasoning, & Statistical Graphics EMR 21: September 12, 2012.

Box Plots:

• Pros: – Easy to generate (esp. by hand)– Easy to interpret

• Cons:– Only show a summary of population– Some trends, and clusters will be invisible

Page 80: Spatial Reasoning, & Statistical Graphics EMR 21: September 12, 2012.
Page 81: Spatial Reasoning, & Statistical Graphics EMR 21: September 12, 2012.

Pie Charts

• We all know what they are, but in this context, what is their purpose?

Page 82: Spatial Reasoning, & Statistical Graphics EMR 21: September 12, 2012.

The point of a pie chart

• A circle divided into parts– “Parts of a whole”– Example: Harvard Student Body by Class

• Freshman• Sophomores• Juniors• Seniors• Grad students

Page 83: Spatial Reasoning, & Statistical Graphics EMR 21: September 12, 2012.

Multivariate Ray Glyphs

• Figure 18.8 of your book

Page 84: Spatial Reasoning, & Statistical Graphics EMR 21: September 12, 2012.

Multivariate Ray Glyphs

• Extended rays from an interior circle

• Lengths of the rays proportional to value of each attribute

• If you connect the rays, called “snowflake”

Page 85: Spatial Reasoning, & Statistical Graphics EMR 21: September 12, 2012.
Page 86: Spatial Reasoning, & Statistical Graphics EMR 21: September 12, 2012.

Chernoff Faces

• Who’s heard of them?

Page 87: Spatial Reasoning, & Statistical Graphics EMR 21: September 12, 2012.
Page 88: Spatial Reasoning, & Statistical Graphics EMR 21: September 12, 2012.
Page 89: Spatial Reasoning, & Statistical Graphics EMR 21: September 12, 2012.

Chernoff Faces

• Used to illustrate trends in multivariate data

• Different attributes are mapped to different facial features– Face width– Level of the ears– Curvature of the mouth– Length of the nose– Shape of the eyes – Eyebrows

Page 90: Spatial Reasoning, & Statistical Graphics EMR 21: September 12, 2012.

Chernoff Faces

• Pros: Intuitive depiction of multivariate data

• Cons: Lose lots of numerical precision

Page 91: Spatial Reasoning, & Statistical Graphics EMR 21: September 12, 2012.

Conclusion

• Lots of ways to summarize, share, organize, and communicate stats

• Choosing the right way is important– Know your data– Know your audience– Know your medium– Know your graphics

Page 92: Spatial Reasoning, & Statistical Graphics EMR 21: September 12, 2012.

Conclusion

Many techniques for looking at data Tables Graphed methods:

Grouped-Frequency Tables Dispersion Graph, Histogram Scatter plots, and PCP’s

Know what they’re for and when to use them Read Ch. 3

Page 93: Spatial Reasoning, & Statistical Graphics EMR 21: September 12, 2012.

Graphs

Page 94: Spatial Reasoning, & Statistical Graphics EMR 21: September 12, 2012.

Data Tables

• What are they?• When to use them• Design Issues

Page 95: Spatial Reasoning, & Statistical Graphics EMR 21: September 12, 2012.

Pie Charts

• What are they?• When to use them• Design Issues

Page 96: Spatial Reasoning, & Statistical Graphics EMR 21: September 12, 2012.

Bar Graphs

• What are they?• When to use them• Design Issues

Page 97: Spatial Reasoning, & Statistical Graphics EMR 21: September 12, 2012.

Line Graphs

• What are they?• When to use them• Design Issues

Page 98: Spatial Reasoning, & Statistical Graphics EMR 21: September 12, 2012.

Scatter Plots

• What are they?• When to use them• Design Issues


Recommended