Homework Set 1
Due May 19



1. generate a vector of consecutive integers from 50 to 100:
c= 50, 51, 52, ..., 100

Display c as a histogram and in a boxplot
2. Generate 10 vectors r defined by r <- c + a*rnorm(51) for a=1,2,3,...,10
   a.  For each value of a, create a scatter plot of r vs c
   b.  And for each value of a, compute the correlation of r vs c

3. Plot the correlation value for each value of a as a function of a, compute the correlation.