# How to find the Linear Regression Equation

This question comes from Busisiwe, who studies at the University of Stellenbosch.

### How do you find the equation for linear regression?

It is quite easy once you know how – and all the stats functionality works the same way.

### So for linear regression:

On your calculator press MODE and choose 1 for STAT

Then press number 1 to choose line (for linear regression).

To enter the data type it in as coordinates – your x value first then press the button above change and then type in your y-value. Then press the button – it should now say data set = 1 (if this is the first value you entered). Do the same for the rest of your data set.

If you would like to see the data you have input press your up button or down button arrow keys. Once you have finished checking your data press on. If you see there is an error and you want to change something simply move the blue block to the space where the error is (e.g. next to the x or y) type in the new/ correct value and press Change.

Once you have finished typing in your data and you are happy with it press on (this is just if you still have data displayed on your screen.

### To find the equation of the regression line:

Your equation is y = a +bx.