List of Course Learning Outcomes
Useful links
Matt Bognar's Probability Distribution Applets
Week 1 Homework: Reading in CSV Data in R and Some Basic R Commands
This assignment refers to problems within the text.
In a CSV file (like Excel, Numbers, etc.), input the data from the following chapter 1 problems: 1.5, 1.6, 1.10, and 1.12. You can put the data in separate columns within the same sheet. To start getting familiar with the R environment:
Read in the data into R. This file contains data given in the problems.
Learn from the video (in Resources), how to access each column in the dataset (use the '$' sign), determine the number of observations (use the "str" command). Then use the "mean" and "sd" commands, to compute the average age and the average salary in this dataset.
You can ignore making any plots by hand, don't waste your time. If you need to, you can either use a software you are familiar with, learn how to use R to create plots, or use a website to do it for you. I suggest this one, as it allows you to plot up to 4 data sets.
Use the above skills to answer the chapter 1 problems: 1.5, 1.6, 1.10, and 1.12.
For problems 5 and 6:
1) Instead of dot plots, you can just make histograms in R (or feel free to investigate how to make dot plots in R). Do this for 1.5a and 1.6a.
2) Ignore the "trimmed mean" in 5b and c. In 5c, only compare the differences between means and medians.
3) In 1.6a, the language makes it seems like they want one giant plot of all the data, but this is pointless. For this part, do like in 1.5a and make two separate histograms for each temperature. Then use those graphs together with the means in 1.5b to answer the rest.
When providing your solutions, please give a report of all the commands that you used to perform these tasks (you could copy and paste the commands and results from your R console, into a Word document).
Week 2 Homework: Probability
Complete the following problems from the text and write all your work/solutions neatly on paper. Submit scans of your work.
Chapter 2: #17, 32, 48, 59, 69, 70, 71, 86, 91, 95, 97, 127