Monday, December 29, 2008

Chapter 2, Exercise 6, pg 33-34 (basic bivariate regression)

Exercise 6 has been posted on the companion web page. This exercise covers bivariate regression in the R statistical computing program. First a brief example of how to manually calculate regression coefficients using formulas 2.4.3 and 2.4.4 is provided. Then, the linear model function lm() is used to specify a basic regression model. The summary() function is then used to show model results. This exercise uses the data set C0206DT from the book's CD.

No comments: