STAT 2864b Winter 2010
Assignment 1
Due: January 15 in class
Do the following calculations in R. Save the results to a le, print it out,
and hand it in. You should also include a short explanation of the method
that you used.
Some of these problems refer
STAT 2864b Winter 2010
Assignment 2
Due February 1 in class
The les http:/www.stats.uwo.ca/faculty/murdoch/2864/fanshawe.
csv, http:/www.stats.uwo.ca/faculty/murdoch/2864/northcentre.csv,
and http:/www.stats.uwo.ca/faculty/murdoch/2864/west.csv contain
oc
STAT 2864b Winter 2010
Assignment 3
Due March 1 in class
Write R code to do the following:
1. Text problem 2, p. 62.
2. In Example 4.9 in the text, we wrote a function annuityAmt() to compute the amount A of an annuity at the end of n years, given interes
STAT 2864b Winter 2010
Assignment 4
Due: March 15 in class
Do the following calculations in R. Save your code and the results to a
le, print it out, and hand it in.
1. Generate 100000 uniform pseudorandom variates using the runif()
function, assigning the
STAT 2864b Winter 2010
Assignment 5
Due March 29, 2010
1. Let
x
4
1 1
A=
Write a function with header condNum <- function(x) to calculate
the condition number of A when the x in the top left entry is replaced
by the entries of x, one at a time. Be sure yo