Question: use the college data set in ISLR install it from R the code for it is library(ISLR) attach(College) please show work in R code 3.

use the college data set in ISLR install it from R the code for it is library(ISLR) attach(College) please show work in R code
3. We want to determine the best set of predictors to explain the graduation rate in a linear model by stepwise regression. (a) Determine the best set of predictors by stepwise selection. Set y- o ag the initial model and examine both forward and backward in each step of the procedure. Report the summary of the final model. (b) 'Estimated personal spending (Personal) should be included as a predictor in the final model in (a). Calculate the p value of the variable from the t value in the R output, by using the probability function of t-distribution pt. Explain whether or not the estimate is signifieantly different from zero. (Note that the degrees of freedom for the t distribution is the same as that of the residual standard error) ion of t-vale ue when (c) Make a graph of a density curve of t distribution in (b). This is the distribut the true coefficient is zero. Is the t-value in (b) a typical value of this distribution? 3. We want to determine the best set of predictors to explain the graduation rate in a linear model by stepwise regression. (a) Determine the best set of predictors by stepwise selection. Set y- o ag the initial model and examine both forward and backward in each step of the procedure. Report the summary of the final model. (b) 'Estimated personal spending (Personal) should be included as a predictor in the final model in (a). Calculate the p value of the variable from the t value in the R output, by using the probability function of t-distribution pt. Explain whether or not the estimate is signifieantly different from zero. (Note that the degrees of freedom for the t distribution is the same as that of the residual standard error) ion of t-vale ue when (c) Make a graph of a density curve of t distribution in (b). This is the distribut the true coefficient is zero. Is the t-value in (b) a typical value of this distribution
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
