1. Load the cpus dataset from the MASS package.
Use syct, mmin , mmax , cach , chmin, chmax as the predictors(independent variables) to predict performance (perf)
Perform the best subset selection in order to choose the bestpredictors from the above predictors.
What is the best model obtained according to Cp, BIC, and adjustedR2?
Show some plots to provide evidence for your answer, and report thecoefficients of the best model obtained for each criterion.
Repeat using forward stepwise selection and also using backwardstepwise selection. How does your answer compare to the best subsetresults?