A manager wishes to determine the relationship between the number of years her sales representatives have been employed by the firm and their amount of sales (in thousands of dollars) per month. Find the equation of the regression line for the given data.    Years of employed (x) 2 3 10 7 8 15 3 1 11 Sales (y) 31 33 78 62 65 70 48 55 64 (c) Find the equation of least square regression. (d) What would be the predicted sales if the sales representative was employed by the firm for 20 years.      (e) Find the residual when the sales representative was employed by the firm for 15 years.

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

A manager wishes to determine the relationship between the number of years her sales representatives have been employed by the firm and their amount of sales (in thousands of dollars) per month. Find the equation of the regression line for the given data. 

 

Years of employed (x) 2 3 10 7 8 15 3 1 11
Sales (y) 31 33 78 62 65 70 48 55 64

(c) Find the equation of least square regression.

(d) What would be the predicted sales if the sales representative was employed by the firm for 20 years.     

(e) Find the residual when the sales representative was employed by the firm for 15 years. 

Expert Solution
Step 1

Given Information :

A manager wishes to determine the relationship between the number of years her sales representatives have been employed by the firm and their amount of sales (in thousands of dollars) per month. 

The independent variable is , and the dependent variable is . In order to compute the regression coefficients, the following table needs to be used:

  Years of employed X Sales Y X*Y X2 Y2
  2 31 62 4 961
  3 33 99 9 1089
  10 78 780 100 6084
  7 62 434 49 3844
  8 65 520 64 4225
  15 70 1050 225 4900
  3 48 144 9 2304
  1 55 55 1 3025
  11 64 704 121 4096
Sum = 60 506 3848 582 30528

 

trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps with 7 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
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