Homework 3

Lab

Complete the Lab 1 assignment we started in class. Follow the submission instructions from that assignment.

Problems

Note: For each of the following problems, you can either compute the requested statistics by-hand, or use R. I recommend using R, and saving all of your work in an R script.

Example: Suppose you were asked to compute the mean of the numbers: 1, 2, 3.

In R, you would first store these numbers in a vector x using:

x = c(1, 2, 3)

The 'c' is short for 'concatenate,' and tells R to combine all of the values you pass as arguments into a single vector.

Then compute the mean of x using:

mean(x)

Section 1.3:

30abd, 34, 38, 40

Section 1.4:

44, 48, 56