
How do you find the slope of the regression line for the following set of data?
X values -3 0 3 5 3
Y values 7 4 -2 2 -3
Answer
466.2k+ views
1 likes
Hint: To calculate the slope and intercept of a regression line, we are going to take the set of data having and values. We are taking and values because we have to calculate the slope of a straight line and the straight line is of the form , where " and " corresponds to slope and intercept of the straight line. We are taking the set of and values as: . Then, find the slope of the regression line for the given set of data by putting the values of in the formula for slope of the regression line.
Formula used:
The formula for slope of the regression line is as follows:
Complete step by step answer:
Let us assume that we have drawn the regression line using the following set of and values:
The above coordinates are plotted on the graph where in each bracket, first coordinate is the coordinate and the second coordinate is the coordinate.
We know that the equation of a straight line contains a slope and intercept and in the below, we are writing the formula for slope and intercept of a regression line.
The formula for slope of the regression line is as follows:
Now, using the above set of and in the above equation we get,
Final solution: Hence, the slope of the regression line for the given set of data is or .
Note:
Regression line we have to draw when we have a dependent and independent variable. The independent variable we have plotted on the -axis and the dependent variable we have plotted on the -axis and then to get the best fit line which is passing through these points we need the slope and intercept formula. This is the example where we require calculating the slope and intercept of a regression line.
Formula used:
The formula for slope of the regression line is as follows:
Complete step by step answer:
Let us assume that we have drawn the regression line using the following set of
The above coordinates are plotted on the graph where in each bracket, first coordinate is the
We know that the equation of a straight line contains a slope and intercept and in the below, we are writing the formula for slope and intercept of a regression line.
The formula for slope of the regression line is as follows:
Now, using the above set of
Final solution: Hence, the slope of the regression line for the given set of data is
Note:
Regression line we have to draw when we have a dependent and independent variable. The independent variable we have plotted on the
Latest Vedantu courses for you
Grade 7 | CBSE | SCHOOL | English
Vedantu 7 CBSE Pro Course - (2025-26)
School Full course for CBSE students
₹45,300 per year
Recently Updated Pages
Master Class 11 Business Studies: Engaging Questions & Answers for Success

Master Class 11 Economics: Engaging Questions & Answers for Success

Master Class 11 Accountancy: Engaging Questions & Answers for Success

Master Class 11 Computer Science: Engaging Questions & Answers for Success

Master Class 11 Maths: Engaging Questions & Answers for Success

Master Class 11 English: Engaging Questions & Answers for Success

Trending doubts
1 Quintal is equal to a 110 kg b 10 kg c 100kg d 1000 class 11 physics CBSE

How do I get the molar mass of urea class 11 chemistry CBSE

How do I convert ms to kmh Give an example class 11 physics CBSE

Where can free central placentation be seen class 11 biology CBSE

What is the molecular weight of NaOH class 11 chemistry CBSE

What is 1s 2s 2p 3s 3p class 11 chemistry CBSE
