Question: Split the data into two dataframes named tv_shows and movies. Hint: Use subsetting techniques in R using square brackets. (6 Points) Run two different regression

Split the data into two dataframes named tv_shows and movies. Hint: Use subsetting techniques in R using square brackets. (6 Points) Run two different regression models for tv_shows only, to examine the relationship between sales and other variables. The dependent variable is sales. Model 1: The independent variables are time_since_release, title_length, duration_min_season. Model 2: In addition to Model 1 variables, include country and rating in your regression. Hint: Remember these are factor variables? Report and interpret the regression results (coefficients, p-values, R-squared) within your .Rmd/.html file

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock