HW Due 01.29.2015: try questions 1.13 - 1.24. You may ignore questions 1.17 and 1.18
Day One: Playing with R, mean, median, mode
Goal: Create a Plot on r using two sets of data, showing mean, median, and mode
Links:
data set "Mundt Age"
data set "MLB Salaries"
Mundt Age (2015 data):
MLB data: represents salaries of all MLB teams (in millions, 2014 season):
mlb.teams=c(228, 216, 165, 150, 148, 140, 127, 119, 117, 115, 114, 114, 107, 104, 90, 89, 89, 83, 81, 80, 78, 76, 73, 72, 72, 67, 60, 58, 36, 22)
for the mlb data:
1) find the five number summary
2) find the mean
3) construct a box plot of the data. Label well!
4) construct a histogram of the data. make sure to consider bins carefully. Lebel Well!
5) remove the two highest salary numbers from the data set. Get a new five number summary.
Compare the old five number summary and the new number summary and compare and contrast the values.
Day Two: Using Data From Other Sources
Plan:
finish the MLB work from Monday.
notes: what does each piece inform us about? (histogram, boxplot, five number summary)
r: using a .csv
r: seq(0,10,by=2)
Goals:
Pull Data from SAT Data, create Two Different Useful Visuals
Use a .csv file and master the idea of columns and rows
With the data in that file, I want you to make the following visuals. All of them should end up in a Google Doc:
Day Three: Using Data, Creating Sweet Plot Tables
1) A histogram, boxplot, five number summary of Teacher Pay (these should all fit on one google doc page, and should include r code)
2) A plot comparing SAT.M and SAT.V
a. protocol: plot().
b. Try detail: pch=19
3) Some other graph that you think is useful or interesting or fun or just gets the job done.
Links:
data used was taken from: http://www.math.hope.edu/swanson/data/SAT.txt
---
THE ACTUAL DATA SET.
Day Three: Written Data Set One: Potatoes, Leaves, and Other Goods.
Day Four: Written Data Set One: Potatoes, Leaves, and Other Goods completed.