Lab 4E
Directions: Follow along with the slides and answer the questions in red font in your journal.
Will including more variables in our model improve its predictions?
movie data and split it into two sets (See Lab 4C for help). Remember to use set.seed.
training that includes 75% of the data.testing that includes the remaining 25%.training data, that predicts gross using runtime.
testing data.runtime is the only factor that goes into how much a movie will make? What else might affect a movie’s gross?gross using runtime and reviews_num.lm().movie data you think would help you make better predictions.
testing data than the model that included only runtime and reviews_numtesting data.