subject
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
Answers: 2

Other questions on the subject: Mathematics

image
Mathematics, 21.06.2019 15:00, denisebaslee15
Of four points are collinear, they are also coplanar
Answers: 2
image
Mathematics, 21.06.2019 16:20, hann647
Arianna is buying plants for her garden. she buys 15 flowering plants for $96. pink flowering plants sell for $8, and purple flowering plants sell for $5. how many pink flowering plants did arianna buy? i figured out the answer! the answer is 7. 8x +5y = 96 plug in 7 for x 8 (7) + 5y = 96 56 + 5y = 96 subtract 56 from both sides 5y/y = 40/5 y = 8 she bought 7 pink and 8 purple plants
Answers: 1
image
Mathematics, 21.06.2019 19:30, abigailstolp
Find the domain of the following expression: 1/(√x)-2
Answers: 1
image
Mathematics, 21.06.2019 20:00, leigha54
Which of these numbers of simulations of an event would be most likely to produce results that are closest to those predicted by probability theory? 15, 20, 5, 10
Answers: 2
You know the right answer?
This question relates to the college data set.
(a) split the data into a training set and a t...

Questions in other subjects: