Docsity

Homework #2 - Applied Least Squares - Fall 2008 | ST 708, Assignments of Statistics

Toggle sidebar
bg1
ST 708, Fall 2008 Homework 2, due 9/16/08
The datasets used in the text can be found at:
http://www.stat.ncsu.edu/publications/rawlings/applied_least_squares
One option is to view the dataset and then copy and paste it into the SAS editor
instead of typing it in.
For this homework the datasets used are:
# 5 - SOILOMN.DTA
# 10 - HOSPDAYS.DTA
# 12 - PEAKFLOW.DTA
Chapter 3, pages 68-74
• # 1. Note that order just refers to the dimensions, i.e. number of rows by number
of columns.
• # 3. Same note as above.
• # 5. For part (c) you do not have to verify that the given matrix is the inverse, just
do the rest of the question. For parts (b), (c) and (d) the calculations should be
done in SAS using options in PROC REG. For part (e), do not compute the matrix
P by hand, you only need the diagonal elements of P to answer the questions, and
you can get the diagonal elements from PROC REG.
• # 7
• # 10. Note that in SAS, the natural logarithm is done using log (X), not ln (X).
• # 12. Same note as above.

Partial preview of the text

Download Homework #2 - Applied Least Squares - Fall 2008 | ST 708 and more Assignments Statistics in PDF only on Docsity!

ST 708, Fall 2008 Homework 2, due 9/16/

The datasets used in the text can be found at: http://www.stat.ncsu.edu/publications/rawlings/applied_least_squares

One option is to view the dataset and then copy and paste it into the SAS editor instead of typing it in.

_For this homework the datasets used are:

5 -_ SOILOMN.DTA

10 - HOSPDAYS.DTA

12 - PEAKFLOW.DTA

Chapter 3, pages 68-

  • 1. Note that order just refers to the dimensions, i.e. number of rows by number

    of columns.
  • 3. Same note as above.

  • 5. For part (c) you do not have to verify that the given matrix is the inverse, just

    do the rest of the question. For parts (b), (c) and (d) the calculations should be done in SAS using options in PROC REG. For part (e), do not compute the matrix P by hand, you only need the diagonal elements of P to answer the questions, and you can get the diagonal elements from PROC REG.
  • 10. Note that in SAS, the natural logarithm is done using log (X), not ln (X).

  • 12. Same note as above.