This question relates to the college data set.
(a) split the data into a training set and a t...
![subject](/tpl/images/cats/mat.png)
Mathematics, 23.12.2019 20:31 mileto5824
This question relates to the college data set.
(a) split the data into a training set and a test set. using out-of-state tuition as the response and the other variables as the predictors, perform forward stepwise selection on the training set in order to identify a satisfactory model that uses just a subset of the predictors.
(b) fit a gam on the training data, using out-of-state tuition as the response and the features selected in the previous step as the predictors. plot the results, and explain your findings.
(c) evaluate the model obtained on the test set, and explain the results obtained.
(d) for which variables, if any, is there evidence of a non-linear relationship with the response?
![ansver](/tpl/images/cats/User.png)
Answers: 2
Another question on Mathematics
![question](/tpl/images/cats/mat.png)
Mathematics, 21.06.2019 17:00
Orly uses 2 cups of raisins for every 12 cups of trail mix she makes. how many cups of trail mix will she make if she uses 8 cups of raisins?
Answers: 1
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 21.06.2019 22:20
Which strategy is used by public health to reduce the incidence of food poisoning?
Answers: 1
![question](/tpl/images/cats/mat.png)
Mathematics, 21.06.2019 23:00
Evaluate each expression. determine if the final simplified form of the expression is positive or negative -42 (-4)2 42
Answers: 2
You know the right answer?
Questions
![question](/tpl/images/cats/mat.png)
Mathematics, 21.05.2021 09:10
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 21.05.2021 09:10
![question](/tpl/images/cats/istoriya.png)
History, 21.05.2021 09:10
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 21.05.2021 09:10
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/geografiya.png)
![question](/tpl/images/cats/en.png)
![question](/tpl/images/cats/mir.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 21.05.2021 09:10
![question](/tpl/images/cats/himiya.png)
Chemistry, 21.05.2021 09:10
![question](/tpl/images/cats/health.png)
![question](/tpl/images/cats/en.png)
English, 21.05.2021 09:10
![question](/tpl/images/cats/en.png)
![question](/tpl/images/cats/fizika.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 21.05.2021 09:10
![question](/tpl/images/cats/ekonomika.png)
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/himiya.png)
Chemistry, 21.05.2021 09:10
![question](/tpl/images/cats/en.png)
English, 21.05.2021 09:10