36-315 Homework 1 Solutions
1
OPEC Oil Graph (15)
The main problem with this graph is that the section that displays the 1979
quarterly oil prices is on dierent scales for both the x and y variables. One
quarter of 1979 takes up as much horizontal space a
Statistics 36-315: Statistical Graphics and Visualization
Homework 2
Date: January 30, 2006
Due: 12:30pm February 6, 2006
Please submit your homework electronically via blackboard (but be sure to retain a copy).
1. Go to the Kids Graphics Website prepared
Statistics 36-315: Statistical Graphics and Visualization
Homework 5
Date: February 22, 2005
Due: Via Blackboard, 12:30pm, March 1, 2006
1. There have been few marine disasters resulting in the staggering loss of life which occurred
in the sinking of the
Statistics 36-315: Statistical Graphics and Visualization
Homework 4
Date: February 6, 2005
Due: 12:30pm February 13, 2005
1. Both Cleveland Wainer talks about the possibility of discovery from graphics as opposed
to display. Sometimes we discover things
Statistics 36-315: Statistical Graphics and Visualization
Lab 6
Date: February 24, 2006
Due: End of day via Blackboard
In the previous labs, you examined income in cities and percentage of women in cities. Now you will
put them together to answer a questi
Statistics 36-315: Statistical Graphics and Visualization
Homework 4
Date: February 13, 2006
Due: Via Blackboard, 12:30pm, February 20, 2006
In this problem set, you will write some R code, which you should submit along with your
plots as part of your sol
Statistics 36-315: Statistical Graphics and Visualization
Homework 6: Who really won the 2000 presidential election?
Date: March 1, 2006
Due: Via Blackboard, 12:30pm, March 8, 2006
Background
The 2000 U.S. Presidential election was eventually settled when
Statistics 36-315: Statistical Graphics and Visualization
Homework 8
Date: March 29, 2006
Due: via Blackboard, April 5, 2006, 12:30pm
1. In this weeks lab, for the 1990 Pennsylvania census tract data, you will show that
PCTCOLL4 (education) and PCTFEMHE (
Statistics 36-315: Statistical Graphics and Visualization
Homework 7
Date: March 20, 2006
Due: via Blackboard,March 29, 2006, 12:30pm
1. (20% of Grade) This question is based on two readings from Wainer (2005) distributed
in class.
(a) In Chapter 13, Wain
Statistics 36-315: Statistical Graphics and Visualization
Final Project
Date: April 12, 2006
Due: 5:00pm Friday May 12, 2006
The project as a whole is due at the end of the semester, but you will do pieces of it in
weekly assignments, the rst of which is
36-315: Statistical Graphics and Visualization
Homework 1
Due: Start of class January 30, 2006
Questions 1 and 2 draw on materials from Howard Wainer (2005) Graphic Discovery: A
Trout in the Milk and Other Visual Adventures, Princeton University Press, di
Statistics 36-315: Statistical Graphics and Visualization
Lab 2: Histograms and Alternatives
Date: January 27, 2006
Due: End of Day via Blackboard
In this lab, you will try out some modern alternatives to the histogram. Interspersed throughout this
lab ar
36-315: Statistical Graphics and Visualization
Lab 1: Getting Started with R
Date: January 20, 2006
Due: end of lab
Retrieve the Data
The data currently reside in an Excel spreadsheet and need to be converted to a format that R can
read.
1. Download lab1.
Statistics 36-315: Statistical Graphics and Visualization
Lab 7
Date: March 3, 2006
Due: End of day via Blackboard
This lab is focused on the analysis of data for 21 successive days of a plant oxidizing ammonia to
nitric acid. Variable X1 is the ow of air
36-315 Homework 2 Solutions
[Grading note: there are several places here where you are asked to make
a choice about which graph to use. I did not grade o for answers that were
dierent than mine, as long as you made an eort to justify your choice.]
1
Rats
Graphics & Visualization Exam 1/HW 6 Solutions Your answer for each of your scenarios should be in the following order: Graph(s) used to visualize the research scenario Description of your graph(s) and what they show. Answer the questions about the resear
36-315 HOMEWORK 1
Due: Wednesday 1/21/09 at 12:30pm in class (No Digital Dropbox copy necessary)
1. Recall the OPEC Oil Prices graph discussed in class (see lecture handout or HW1
on Blackboard). In class we discussed several of its shortcomings. There ar
36-315 Homework 3 Solutions
[Note: I have re-organized the solutions - all of the gures are in the back.]
1
1.1
Discoveries (45)
A (9)
library(datasets)
data(discoveries)
print(length(discoveries)
print(mean(discoveries)
print(max(discoveries)
print(quant
36-315 Homework 4 Solutions
[Note: I have re-organized the solutions - all of the gures are in the back.]
1
Graphs (15)
library(MASS)
data(survey)
attach(survey)
par(mfrow=c(2,2)
pie(table(Sex),main="Student Survey: Sex of Students",col=c(0,115)
pie(table
36-315 HOMEWORK 7
Due: Wednesday 3/18/09 at 12:30pm in Digital Dropbox; B-W copy in class
The HW problems require the use of R. Your answers should include the R commands used to
answer the questions, the graphs, and any discussion asked for in the questi
36-315 Homework 8 Solutions
[Note: All of the gures are in the back.]
[Note: I was a bit more fancy with my R code this week, if you have questions,
or want to test the code, email me or come to oce hours and I can help you
understand what I did.]
1
(30)
36-315 HOMEWORK 9
Due: Wednesday 4/1/09 at 12:30pm in Blackboard Digital Dropbox;
B-W copy in class; Two copies if you want exam feedback
The HW problems require the use of R. Your answers should include the R commands used to
answer the questions, the gr
36-315 HOMEWORK 10
Due: Wednesday 4/15/09 at 5:00pm in Blackboard Digital Dropbox; drop-off B-W copy
Do not forget to cite anyone whom you work with on the HW.
In this HW, you will answer the ve questions you did not answer on your lab exam using your dat
36-315 HOMEWORK 11 Due: Wednesday 4/22/09 at 12:30pm in Blackboard Digital Dropbox; bring COLOR copy to Lab In this homework, you will design a graphic display to visualize Burtin's antibiotic data (HW11Data.pdf). You have four variables (three continuous
Graphics & Visualization Lab Exam 2
out Friday 4/3/09; in-lab Friday 4/10/09 12:30pm
This exam is a week-long take-home exam that culminates with an in-class lab exam.
You will receive an exam write-up with a list of research scenarios to be answered and
36-315 Lab 08
Katt White
Due Friday, February 26, 2016 (6:30pm)
library(ggplot2)
library(gsheet)
library(GGally)
# Warning: package 'GGally' was built under R version 3.2.4
library(gridExtra)
# Load Data -olive <- gsheet2tbl("https:/docs.google.com/spread