Answered step by step
Verified Expert Solution
Question
1 Approved Answer
(40 pts) 1. The dataset prostate (in R package faraway) is from a study on 97 men with prostate cancer who were due to
(40 pts) 1. The dataset prostate (in R package faraway") is from a study on 97 men with prostate cancer who were due to receive radical prostatectomy. Fit a model with Ipsa as the response variable (y) and Icavol as the predictor variable (x) and answer the following questions (show your R codes): a) Make a scatter plot of the two variables (Ipsa and Icavol). b) From the plot in (a), is there a linear relationship between Ipsa and Icavol? Is it positive or negative? c) Report the fitted regression model. d) Interpret the intercept and slope. e) Plot the fitted regression line. f) Predict the response variable when the predictor x = = 3. g) Find SST, SSE and SSR. h) What is the value of the coefficient determination? Interpret it. Bonus question (10 pts) For part (e) above, can you predict the response variable when x = 7? Show your codes and explain why.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started