Use all variables and perform the following Identify the dependent (y) and independent (x1,x2,x3,x4) variables Graph the relationship between the response variable and each of explanatory variables Determine the regression equation and interpret the coefficients as well regression equation Note: Do all stepswith the help of R-Codes Data set on Sales 1 Q(Sales) Price Advert Comp. Price Income 34000 500 15 400 47.5 32500 575 10 400 47 32500 550 7.5 425 47 30000 600 12.5 400 46.5 27500 550 5 350 46 25000 600 5 325 46.5 27500 575 10 350 47 30000 550 10 425 46.5 17500 600 2.5 375 35.5 17500 625 2.5 375 35 15000 600 5 375 34.5 17500 575 2.5 350 34.5 15000 625 2.5 325 34 17500 575 2.5 375 34 15000 575 5 350 34 17500 575 2.5 400 34 27000 625 5 400 46 27500 625 12.5 350 46 27500 625 5 450 45 25000 625 5 375 44.5 30000 550 7.5 425 44.5 30000 575 12.5 425 44 27500 600 12.5 400 43.5 25000 575 10 400 43.5

MATLAB: An Introduction with Applications
6th Edition
ISBN:9781119256830
Author:Amos Gilat
Publisher:Amos Gilat
Chapter1: Starting With Matlab
Section: Chapter Questions
Problem 1P
icon
Related questions
icon
Concept explainers
Question

Use all variables and perform the following

  1. Identify the dependent (y) and independent (x1,x2,x3,x4) variables
  2. Graph the relationship between the response variable and each of explanatory variables
  3. Determine the regression equation and interpret the coefficients as well regression equation

Note: Do all stepswith the help of R-Codes

Data set on Sales 1

Q(Sales)

Price

Advert

Comp. Price

Income

34000

500

15

400

47.5

32500

575

10

400

47

32500

550

7.5

425

47

30000

600

12.5

400

46.5

27500

550

5

350

46

25000

600

5

325

46.5

27500

575

10

350

47

30000

550

10

425

46.5

17500

600

2.5

375

35.5

17500

625

2.5

375

35

15000

600

5

375

34.5

17500

575

2.5

350

34.5

15000

625

2.5

325

34

17500

575

2.5

375

34

15000

575

5

350

34

17500

575

2.5

400

34

27000

625

5

400

46

27500

625

12.5

350

46

27500

625

5

450

45

25000

625

5

375

44.5

30000

550

7.5

425

44.5

30000

575

12.5

425

44

27500

600

12.5

400

43.5

25000

575

10

400

43.5

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps with 8 images

Blurred answer
Knowledge Booster
Correlation, Regression, and Association
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, statistics and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
MATLAB: An Introduction with Applications
MATLAB: An Introduction with Applications
Statistics
ISBN:
9781119256830
Author:
Amos Gilat
Publisher:
John Wiley & Sons Inc
Probability and Statistics for Engineering and th…
Probability and Statistics for Engineering and th…
Statistics
ISBN:
9781305251809
Author:
Jay L. Devore
Publisher:
Cengage Learning
Statistics for The Behavioral Sciences (MindTap C…
Statistics for The Behavioral Sciences (MindTap C…
Statistics
ISBN:
9781305504912
Author:
Frederick J Gravetter, Larry B. Wallnau
Publisher:
Cengage Learning
Elementary Statistics: Picturing the World (7th E…
Elementary Statistics: Picturing the World (7th E…
Statistics
ISBN:
9780134683416
Author:
Ron Larson, Betsy Farber
Publisher:
PEARSON
The Basic Practice of Statistics
The Basic Practice of Statistics
Statistics
ISBN:
9781319042578
Author:
David S. Moore, William I. Notz, Michael A. Fligner
Publisher:
W. H. Freeman
Introduction to the Practice of Statistics
Introduction to the Practice of Statistics
Statistics
ISBN:
9781319013387
Author:
David S. Moore, George P. McCabe, Bruce A. Craig
Publisher:
W. H. Freeman