Compute the least squares regression line of Y on X for the following data:

X 5 6 8 10 12   
Y 16 19 23 28 36  


1. What is the regression co-efficient and what does it mean?
 2. Find the predicted values of Y for X= 15 & 20. 

in Statistics Answers by

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register.

1 Answer

 

X Y XY X2 Y2
05 016 0080 025 0256
06 019 0114 036 0361
08 023 0184 064 0529
10 028 0280 100 0784
12 036 0432 144 1296
41 122 1090 369 3226

(Extra zeroes have been inserted to make addition easier visually.)

This table enables m and b to be calculated where Y=mX+b. m is the line gradient in this linear regression and b is the Y-intercept.

The last row in the table is the sum of the column values, where sum is indicated by ∑ in the formulas.

m=(n∑XY-∑X∑Y)/(n∑X2-(∑X)2), b=(∑Y-m∑X)/n, where n=5 (the data size).

Now we can plug in values from the table:

m=(5×1090-41×122)/(5×369-412)=(5450-5002)/(1845-1681)=448/164=2.73 approx.

b=(122-(448/164)41)/5=2.

So Y=2.73X+2.

The given points are labelled A-E. The intersections (X,Y) of the blue and green vertical lines with the best fit line (linear regression) reveal the required values for part 2. 

1. Regression coefficient r=0.991 approx. It's clear that the regression coefficient r is close to 1 because the red line is very close to the given points. r close to 1 means that the points are almost in a straight line. r close to zero means that there's very little correspondence of the X and Y values.

This is calculated from the formula r=(n∑xy-∑x∑y)/(√[(n∑x²-(∑x)²)(n∑y²-(∑y)²)]. 

2. X=15, Y=42.95 (43); X=20, Y=56.6 (57). So the predicted values of Y are about 43 and 57 (nearest integers).

by Top Rated User (1.1m points)

Related questions

1 answer
asked May 18, 2013 in Statistics Answers by kumar Level 1 User (120 points) | 1.5k views
0 answers
0 answers
asked Feb 5, 2014 in Statistics Answers by anonymous | 1.1k views
0 answers
asked May 19, 2013 in Statistics Answers by anonymous | 1.1k views
0 answers
Welcome to MathHomeworkAnswers.org, where students, teachers and math enthusiasts can ask and answer any math question. Get help and answers to any math problem including algebra, trigonometry, geometry, calculus, trigonometry, fractions, solving expression, simplifying expressions and more. Get answers to math questions. Help is always 100% free!
87,546 questions
99,701 answers
2,417 comments
475,482 users