Mathematics
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?

answer
Answers: 2

Other questions on the subject: Mathematics

image
Mathematics, 20.06.2019 18:04, faithclark0
Klein read 30 pages of a book on monday and 1/8 of the book on tuesday. he completed the remaining 1/4 of the book on wendesday. how many pages are there in the book?
Answers: 2
image
Mathematics, 21.06.2019 18:30, nativebabydoll35
How do you solving the solution of each system using elimination?
Answers: 2
image
Mathematics, 21.06.2019 18:30, pacerskora
Write an algebraic expression to match each statement a. four less than 8 times a number b. twice the difference of a number and six c. nine from a number squared
Answers: 1
image
Mathematics, 21.06.2019 18:40, lee1817
Ineed with number 6 , explain how to get 1978
Answers: 3
Do you know the correct answer?
This question relates to the college data set.
(a) split the data into a training set and a t...

Questions in other subjects:

Konu
Health, 10.12.2020 14:00