Ch 8 Notes Flashcards
8.1 Regression Models with Interaction Variables
Sample regression equation
π¦Μ=π_0+π_1 π₯_1+π_2 π₯_2+β¦+π_π π₯_π.
8.1 Regression Models with Interaction Variables
Sometimes natural for the partial effect to depend on a predictor variable
Ex: Price of House
-Assumed that an additional bedroom results in the same increase in the house price regardless of the square footage
-Assumption may be unrealistic for larger houses, an additional bedroom often results in a higher increase in house prices
-Interaction effect between the number of bedrooms and square footage of the house
8.1 Regression Models with Interaction Variables
Interaction Variables
-Capture effects by incorporating interaction variables in regression model
-Product of two interacting predictor variables
8.1 Regression Models with Interaction Variables
Interaction Effect
Occurs when the partial effect of a predictor variable on the response depends on the value of another predictor variable
8.1 Regression Models with Interaction Variables
Three types of interaction variables
- Interaction between two dummy variables
- Interaction between a dummy variable and numerical variable
- Interaction between two numerical variables
8.1: Regression Models with Interaction Variables
Regression Model with two dummy variables π_1 and π_2, and an interaction variable π_1 π_2
π¦= π½_0+π½_1 π_1+π½_2 π_2+π½_3 π_1 π_2+π
Estimated model: π¦Μ=π_0+π_1 π_1+π_2 π_2+π_3 π_1 π_2
**Partial Effect of π_1 on π¦Μ is π_1+π_3 π_2, this depends on π_2.
π_2=0: the partial effect of π_1 on π¦Μ is π_1
π_2=1: the partial effect of π_1 on π¦Μ is π_1+π_3
**The partial effect of π_2 on π¦Μ is π_2+π_3 π_1, this depends on π_1.
π_1=0: the partial effect of π_2 on π¦Μ is π_2
π_1=1: the partial effect of π_2 on π¦Μ is π_2+π_3
8.1: Regression Models with Interaction Variables
Regression Model with a numerical value π₯, a dummy variable π, and an interaction variable π₯π
π¦= π½_0+π½_1 π₯+π½_2 π+π½_3 π₯π+π
The estimated model is π¦Μ=π_0+π_1 π₯+π_2 π+π_3 π₯π.
**The partial effect of π₯ on π¦Μ is π_1+π_3 π, this depends on π.
π=0: the partial effect of π₯ on π¦Μ is π_1
π=1: the partial effect of π₯ on π¦Μ is π_1+π_3
**The partial effect of π on π¦Μ is π_2+π_3 π₯, this depends on π₯.
Difficult to interpret because π₯ is numerical
Common to interpret this partial effect at the sample mean π₯Μ
8.1: Regression Models with Interaction Variables
Tegression model with two numerical variables, π₯_1 and π₯_2, and an interaction variable π₯_1 π₯_2
π¦= π½_0+π½_1 π₯_1+π½_2 π₯_2+π½_3 π₯_1 π₯_2+π
The estimated model is π¦Μ=π_0+π_1 π₯_1+π_2 π₯_2+π_3 π₯_1 π₯_2.
The partial effect of π₯_1 on π¦Μ is π_1+π_3 π₯_2, this depends on π₯_2.
The partial effect of π₯_2 on π¦Μ is π_2+π_3 π₯_1, this depends on π₯_1.
The partial effects of both variables are difficult to interpret.
**Consider the partial effects at the sample means π₯Μ _1 and π₯Μ _2.
At π₯Μ _1, the partial effect of π₯_2 on π¦Μ is π_2+π_3 π₯Μ _1.
π_3>0: the partial effect on π¦Μ will be greater (smaller) at values higher (lower) thanγ π₯Μ γ_1
8.2 Regression Models for Nonlinear Relationships
Linear Regression
Often justified on the the basis of its computational simplicity
8.2 Regression Models for Nonlinear Relationships
Implication of a simple linear regression model
If π₯ goes up by one unit, then the expected π¦ changes by π½_1 regardless of π₯.
In many applications, the relationship between the variables cannot be represented by a straight line
8.2 Regression Models for Nonlinear Relationships
Linearity Assumption
Places the restriction of linearity on the parameters and not on the variables
8.2 Regression Models for Nonlinear Relationships
We can capture many interesting nonlinear relationships within the framework of the linear regression model
By simple transformations of the response and/or predictor variables
8.2 Regression Models for Nonlinear Relationships
*In microeconomics, A firmβs average cost curve tends to be βU-Shapedβ
8.2 Regression Models for Nonlinear Relationships
Due to economies of scale, average cost cost π¦ of a firm
Initially decreases as output π₯ increases
As π₯ increases beyond a certain point, its impact on π¦ turns positive.
Other applications show the influence of the predictor variable initially positive but then turning negative, leading to an βinverted U-shapeβ
8.2 Regression Models for Nonlinear Relationships
Quadratic regression model is appropriate when
Slope capturing the influence of π₯ on π¦, changes in magnitude as well as sign.
π¦=π½_0+π½_1 π₯+π½_2 π₯^2+π
Model can be extended to include multiple predictor variables