Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Q4 Nlultiple Regression: Sales Predictions (28 points) The marketing data set contains the impact of three advertising medias (YouTube, Facebook and the newspaper) on sales.

image text in transcribed
image text in transcribed
Q4 Nlultiple Regression: Sales Predictions (28 points) The marketing data set contains the impact of three advertising medias (YouTube, Facebook and the newspaper) on sales. Data are the advertising budget in thousands of dollars along with the sales. The advertising experiment has been repeated 200 times. We wish to use the marketing data to predict sales based on each of the advertising budget invested in Youtube, Facebook and the newspaper by tting linear regession models. The data is stored in a data frame marketing with variables sales and the expenditures on youtube, facebook, and the newspaper The squares (_sq) and and cubes (_cube) of youtube and facebook are also included. The rst step is reading in the marketing data. Set your working directory to the directory containing marketing.RData. Initially, a data scientist t a simple linear regression model with sales as response and advertising expenditure on YouTube as the explanatory variable using the R functions 1m() and summary(). sales.1m1 |t|) W (Intercept) 8.439112 0.549412 15.36

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

Algebra And Trigonometry Enhanced With Graphing Utilities (Subscription)

Authors: Michael Sullivan, Michael Sullivan III

8th Edition

0135813158, 9780135813157

More Books

Students also viewed these Mathematics questions