OnlineNursingOwl
← All nursing posts

Mathematics · Studypool

R Programming Regression Model

PSTAT 126 Summer Session B, Homework Assignment 3

2022-08-23

  1. (LMR 6.1.) (5 pts) Using the sat dataset in the faraway package, fit a model with the total SAT score as the response and expend, salary, ratio and takers as predictors. Perform regression diagnostics on this model to answer the following questions. Display any plots that are relevant. Do not provide any plots about which you have nothing to say. Suggest possible improvements or corrections to the model where appropiate.

(0.75 pts) Check the constant variance assumption for the errors.


(0.75 pts) Check the normality assumption.


(0.75 pts) Check for large leverage points.


(0.75 pts) Check for outliers.


(1 pt) Check for influential points.


(1 pt) Check the structure of the relationship between the predictors and the response.

  1. (LMR 6.3.) (5 pts) For the prostate dataset in the faraway package, fit a model with lpsa as the response and the other variables as predictors. Answer the questions posed in the first question