Stat 552

# Homework 7

##### Due Mar 4th

In the lm function, use the weights argument to specify a vector of weights, where $\text{weight}_i \propto 1/\text{Var}({y_i})$.
2. Faraway Chapter 8 Problem 4 & Faraway Chapter 9 Problem 8 (they both use the cars data)
3. Consider the dataset ex0923 in the Sleuth3 package. Following the guidelines for Q3 from the last homework, produce a report to answer the questions: Is there any evidence that the salary for males exceeds the salary for females with the same years of education and AFQT scores? By how much?