# Formula for regression function based on intercept and two X points

This is from an assignment I need to finish but I need some advice on where/what to investigate further please (absolutely new to stats):

You use regression to generate a function that operates on two variables (X1 and X2) to predict a label (Y).

The regression output shows the following coefficients:

Intercept: 12.576
X1: 2.32
X2: -1.3


Which formulae describes the regression function?

Y = 12.567 + 2.32 + -1.3
Y = 12.567 + (X1 x 2.32) + (X2 x -1.3)
Y = 12.567 + (X1 + 2.32) + (X2 + -1.3)


My thinking :

sample regression line is: ŷ = b0 + b1x.

thus : y = 12.576 + (regression coefficient)

and regression coefficient = y = mx + b


I am out of my depth - please advise

• Is this a multiple choice question? For the three choices you give, are you sure you copied these down correctly? Or have you maybe switched some plus and multiplication signs? – 5ayat Oct 12 '16 at 8:42
• You should read the self-study tag wiki for details about the sort of information we might need to help you. – mdewey Oct 12 '16 at 9:21
• Thanks 5ayat1, I did have the last mcp incorrect. I fixed it and added screenshot. @mdewey I am really respectful to self-study - not asking for the answer as this will mess the next course up for me - just asking where I should be looking please – Peter PitLock Oct 12 '16 at 9:57
• You need to decide first of all whether you think the coefficients multiply the variables or are added to them. So when you write the notation bx, does that mean b times x or b plus x? – mdewey Oct 12 '16 at 11:11
• Each variable has its own coefficient. Does that help? – mdewey Oct 12 '16 at 13:09