Exploratory Data Analysis: Plotting
Johns Hopkins Bloomberg School of Public Health
Instructor: Jeff Leek
Youtube: http://www.youtube.com/JHSPHAppliedStat
An important book
Exploratory data analysis
table()
quantile()
summary()
Suggestion
When performing exploratory data analysis you will often have the choice of performing a statistical test/summary or making a plot. Make the plot. This doesn't mean don't think!
Choosing how to make plots and using them to convince yourself/others that trends are real is an important skill.
Scale matters!
Correlation can be hard to interpret
r2
1-(1-r2)-1/2
Common scales are important
Judging ratios of slopes is hard
Position is better
plot(),points(),lines()
qqplot()
boxplot()
hist()
image(),heatmap()
matplot(),matpoints(),matlines()
smoothScatter() [genefilter]
xyplot() [lattice package]
qplot [ggplot2]
d3.js
svgAnnotation
dev.copy2pdf()
pdf(),png(),jpeg()
Figures in papers
Try not to end up on Broman's List
Something to aspire to