Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1.Build a linear model to forecast a number of total rentals ( count ) using potential predictors, season, holiday, workingday, weather, atemp, and registered .

1.Build a linear model to forecast a number of total rentals (count) using potential predictors,season, holiday, workingday, weather, atemp,andregistered.

2. Perform best subset selection using bestglm() function based on BIC. What's the best model based on BIC?

3. Compute the test error of the best model based on BIC using LOOCV.

4. Calculate the test error of the best model based on BIC using 10-fold CV.

5. Perform best subset selection using bestglm() function based on CV. What's the best model based on CV?

6. Perform the backward stepwise selection using stepAIC() function. What's the best model?

dataset- https://github.com/MyGitHub2120/bike

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Practical Linear Algebra A Geometry Toolbox

Authors: Gerald Farin, Dianne Hansford

3rd Edition

1466579587, 9781466579583

More Books

Students also viewed these Mathematics questions

Question

The relevance of the information to the interpreter

Answered: 1 week ago

Question

The background knowledge of the interpreter

Answered: 1 week ago