Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Use R programing language Given below is the screenshot of a dataset where sales of a product is dependent on the commercials given on TV,
Use R programing language
Given below is the screenshot of a dataset where sales of a product is dependent on the commercials given on TV, Radio and Newspaper. Write the script in R to: F 5 1 S.No. 2 3 4 5 6 7 8 9 10 11 12 TV 1 2 3 4 5 6 7 8 9 10 11 B C D E Radio Newspaper Sales 230.1 37.8 69.2 22.1 44.5 39.3 45.1 10.4 17.2 45.9 69.3 9.3 151.5 41.3 58.5 18.5 180.8 10.8 58.4 12.9 8.7 48.9 75 7.2 57.5 32.8 23.5 11.8 120.2 19.6 11.6 13.2 8.6 2.1 1 4.8 199.8 2.6 21.2 10.6 66.1 5.8 24.2 8.6 8 a. load the above data data.csv into data 1 and build a linear regression model. b. Show summary of the model c. Predict the Sales of an item with the value for TV, Radio and Newspaper as (76, 23,65). Given below is the screenshot of a dataset where sales of a product is dependent on the commercials given on TV, Radio and Newspaper. Write the script in R to: F 5 1 S.No. 2 3 4 5 6 7 8 9 10 11 12 TV 1 2 3 4 5 6 7 8 9 10 11 B C D E Radio Newspaper Sales 230.1 37.8 69.2 22.1 44.5 39.3 45.1 10.4 17.2 45.9 69.3 9.3 151.5 41.3 58.5 18.5 180.8 10.8 58.4 12.9 8.7 48.9 75 7.2 57.5 32.8 23.5 11.8 120.2 19.6 11.6 13.2 8.6 2.1 1 4.8 199.8 2.6 21.2 10.6 66.1 5.8 24.2 8.6 8 a. load the above data data.csv into data 1 and build a linear regression model. b. Show summary of the model c. Predict the Sales of an item with the value for TV, Radio and Newspaper as (76, 23,65)Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started