subject

1- Read the dataset in Boston. csv into R. Call the loaded data Boston. Make sure that you have the directory set to the correct location for the data.2.
2- The response is nox and the predictor is dis. Use the poly() function to fit a cubic polynomial regression to predict nox using dis. Report the regression output.
3- Your assistant business analyst, Tom Johnson, is considering predicting nox using dis as a predictor. He proposes models from degree 5, degree 4, and degree 3, and degree 2 polynomial regression. Please perform cross-validation using caret package to select the optimal degree for the polynomial and justify your answer.
4- Recommend that he perform the following GAM analysis.
Predict nox using a smoothing spline of degree 3 in dis and a smoothing spline of degree 2 in medv.
Predict nox using a smoothing spline of degree 2 in dis and a smoothing spline of degree 1 in medv.
Perform anova analysis. Recommend the best model and justify your answer.

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 20:20
Wireless communications is likely to be viewed as an essential part of an enterprise network infrastructure when: select one: a. mobile communication is needed b. communication facilities must be installed at low initial cost c. communication must take place in a hostile or difficult terrain that makes wired communication difficult or impossible d. the same information must be broadcast to many locations
Answers: 1
question
Computers and Technology, 22.06.2019 00:30
At an open or uncontrolled intersection, yield if a. the cross road has more lanes than yours b. the cross road has fewer land than yours c. you’re on a state highway and the cross road is a secondary road d. do you have three or more passengers in your vehicle
Answers: 2
question
Computers and Technology, 24.06.2019 18:30
How does the use of e-mail benefit business communications? it can be sent at any time. it is faster than regular mail. it improves writing skills. it is less expensive than using a courier. it reduces the need for proofreading.
Answers: 1
question
Computers and Technology, 24.06.2019 20:30
Which key should you press to leave the cell as it originally was? a. delete b. cancel c. backspace d. enter
Answers: 1
You know the right answer?
1- Read the dataset in Boston. csv into R. Call the loaded data Boston. Make sure that you have the...
Questions
question
Mathematics, 03.04.2020 22:25
question
Mathematics, 03.04.2020 22:25
Questions on the website: 13722363