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
Get step-by-step solutions from verified subject matter experts
