HW2_Sol - STATS 202 Homework 2 Austen Head July 6 2011...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
STATS 202 Homework 2 Austen Head July 6, 2011 Disclaimer: These are sample solutions. For some problems there may be other acceptable answers. R code to run before each of the problems: > hw2website <- "http://sites.google.com/site/stats202/homework-2/" 1 Problem 1 (0 points) Read Chapter 3 (only sections 3.1, 3.2 and 3.3). Sample Solution: The solution is in the textbook. 2 Problem 2 (10 points) Chapter 3 textbook problem #2 on page 142: Identify at least two advantages and two disadvantages of using color to visually represent information. Sample Solution: Advantages: Colors allow for an extra dimension to be plotted on a graph It is often easy to distinguish a color when points in a plot are very small, while it can be difficult to distinguish shapes (or some other dimensions that we can include in a plot) Some colors have inherent associations (red for bad, green for good) allows for information to be conveyed more quickly Disadvantages: Not everyone sees color the same way: it may look different on different computers or printed on different printers, some people are color blind Colors do not have a meaningful order: red, orange, yellow, green, blue, indigo, violet, red. You can fix this by excluding a color, but then you have fewer available colors to work with. Higher cost for publishing Poorly chosen color schemes can confuse readers (red for cold, blue for hot) 3 Problem 3 (18 points) This question uses a sample of 1500 California house prices at: http://sites.google.com/site/stats202/homework-2/CA_house_prices.csv and a sample of 10,000 Ohio house prices at
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 08/20/2011 for the course STATS 202 taught by Professor Taylor during the Summer '09 term at Stanford.

Page1 / 5

HW2_Sol - STATS 202 Homework 2 Austen Head July 6 2011...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online