# Multiple regression - Two independent variables

#### Enzi110

##### New Member
Hi,
I was given the following task in a course:

You examine the influence of the two variables QS and TR on the variable WF. You have estimated the following relationship:
WF= - QS - TR + 4QS • TR + ε
WF is your dependent variable. The variables QS and TR are your independent variables. ε is the residual.

1. What is the marginal effect of QS on WF when TR has the value 0?

2. What is the marginal effect of TR on WF when QS has the value 0?

3. what is the marginal effect of QS on WF when TR has the value -2?

4. what is the marginal effect of TR on WF when QS is -2?

Unfortunately, I have no idea how to start. Could someone please help me?

#### Karabiner

##### TS Contributor
WF= - QS - TR + 4QS • TR + ε

1. What is the marginal effect of QS on WF when TR has the value 0?
WF = -1*QS - 1*TR + 4*QS*TR + e

What does this equation look like if you substitute TR with "0"?

With kind regards

Karabiner

#### Enzi110

##### New Member
WF = -1*QS - 1*TR + 4*QS*TR + e

What does this equation look like if you substitute TR with "0"?

With kind regards

Karabiner
So the marginal effect of QS on WF would be -1 in this case?

Thanks for your help!

Enzi110