 Hello, this is a video about linear regression writing an equation Write an equation in the form y equals mx plus b for the following data So literally all we have to do is take our data and type it into Google Sheets Now you may want to try copying and pasting it directly over from The homework question itself or you may want to copy from the homework question to excel to Google Sheets If you do that, I know for a fact you won't have any issues So in the regression tab Clear out any data that's already there and Then cell a to start typing your x values negative 8 negative 6 negative 4 negative 2 0 2 4 6 And go ahead and start typing your y values in Fortunately, this data set isn't too terribly large All right, so go ahead and let Google Sheets do the calculating Give it a little bit of time Does take some time to do these calculations. All right, so the only thing we need out of here is going to be The equation itself this a plus bx region. This is where the equation is given to us a is the constant term and b is called the coefficient the number that goes in front of the variable x So a is 3 b is 9 a is 3 b is 9 so The actual linear regression form is y equals bx plus a and We saw that b equals 9 And a equals 3 now don't confuse to be in this General format up here with the b and the linear regression equation all this is saying is write a linear equation Write a linear equation. Don't worry anything about the mx and the b or the notation. It just means write a linear equation So our linear equation is going to be 9x plus 3 y equals 9x Plus 3 once again, we got the 9 and 3 from Google Sheets b is the coefficient of x a is the constant term all by itself Thanks for watching