Docsity

Understanding Linear Regression: Comparing Different Functional Forms - Prof. Brey, Apuntes de Enfermería

Toggle sidebar
bg1
THE CLASSICAL MODEL OF LINEAR REGRESSION: SPECIFICATION AND ESTIMATION
Statistical and Econometric Methods for Business– Pablo de Olavide University
1
TOPIC 2
The classical model of linear regression: specification and
estimation
2.6. Linearizable functional forms. Elasticity vs. marginal effects
In this section, we will consider several functional forms alternative to the linear model.
All of them have in common that, in spite of not being linear, they can be linearized by
simple mathematical transformations. That is the reason why they are called linearizable
functional forms.
For each one of these functional forms, we will study the meaning of their regression
coefficients, as well as how the marginal effects and elasticities can be obtained.
Finally, we will see how to compare the different models in order to choose the best
one.
For the sake of simplicity, we will consider for all cases simple regression models (with
intercept), where Y and X will denote the dependent and independent variables,
respectively.
Concepts of marginal effects and elasticity
dX
dY
effect Marginal denotes the relationship between the absolute variation in Y
and the absolute variation in X.
Y
X
dX
dY
XdX
YdY Elasticity denotes the relationship between the relative variation
in Y and the relative variation in X.
Analysis of the models
Firstly, we analyse the linear model, which will be used further on as a point of
departure for the other models.
Linear model
The linear model is defined as:
pf3
pf4
pf5

Vista previa parcial del texto

¡Descarga Understanding Linear Regression: Comparing Different Functional Forms - Prof. Brey y más Apuntes en PDF de Enfermería solo en Docsity!

Statistical and Econometric Methods for Business – Pablo de Olavide University

TOPIC 2

The classical model of linear regression: specification and

estimation

2.6. Linearizable functional forms. Elasticity vs. marginal effects

In this section, we will consider several functional forms alternative to the linear model. All of them have in common that, in spite of not being linear, they can be linearized by simple mathematical transformations. That is the reason why they are called linearizable functional forms.

For each one of these functional forms, we will study the meaning of their regression coefficients, as well as how the marginal effects and elasticities can be obtained. Finally, we will see how to compare the different models in order to choose the best one.

For the sake of simplicity, we will consider for all cases simple regression models (with intercept), where Y and X will denote the dependent and independent variables, respectively.

Concepts of marginal effects and elasticity

dX

Marginal effect  dY denotes the relationship between the absolute variation in Y

and the absolute variation in X.

Y

X

dX

dY dX X

Elasticity  dY^ Y   denotes the relationship between the relative variation

in Y and the relative variation in X.

Analysis of the models

Firstly, we analyse the linear model, which will be used further on as a point of departure for the other models.

Linear model

The linear model is defined as:

Statistical and Econometric Methods for Business – Pablo de Olavide University

Yi   1   2 Xi  u i , where i  1 , , n.

  • The regression coefficient  2 can be expressed as: dX

dY

Consider this example with C , being consumption and I , being income:

C ˆ^ i  3. 28  0. 37 I i

If both variables are expressed in euros, the regression coefficient estimates how much consumption is increased (€0.37) per one unit change in income.

Keep in mind that this value is constant for all observations.

  • Y

X

Y

X

dx

dY dX X

dY^ Y    

Elasticity  2.

Contrarily to the marginal effect, the value of the elasticity in the linear model is not constant and depends on the values of X and Y. Consequently, the concept of average elasticity (calculated by using average values of X and Y) is thye most commonly used.

The log-log or log-linear model

This model can be obtained from the power model: Yi   1  Xi^ ^2  eui. By taking

logarithms on both sides of the equation, it yields: ln Yi  ln  1   2 ln Xi  ui. If

ln  1   1 and  2   2 we have that:

ln Yi   1   2 ln Xi  u i , where i  1 , , n.

This model is called a log-log, double-log or log-linear model.

  • The regression coefficient  2 is denoted by: dX X

dYY

X

dX

Y

dY d X

d Y  

ln

ln

Consider this example: ln C (^) i  4. 37  0. 1582 ln Ii. The consumption will increase on average 0.1582% for every 1% increase in income.

Statistical and Econometric Methods for Business – Pablo de Olavide University

The value of the elasticity is not constant and depends on the value of X. As a consequence, the average elasticity (calculated by using average values of X) is what is most frequently used.

  • Lin-log model****.

This model can be expressed as: Yi^ ^ ^1 ^  2 ln Xi  ui , where i  1 , , n.

  • The regression coefficient  2 is as follows: dX X

dY

X

dX

dY d X

dY (^)  

(^2) ln

Consider now this example: C ˆ^ i  1. 23  348. 27 ln Ii.

If income increases by 1%, then the model predicts that consumption will increase on average by €3.48.

  • dX X X X

dY dX

Marginal effect dY^^11

The value of the elasticity is not constant and depends on the values of X. Hence, we will use mostly the average marginal effect (calculated by using average values of X).

dX X Y Y

dY dX X

Elasticity dY^ Y^11

The value of the elasticity is not constant and depends on the value of Y. Consequently, the average elasticity (calculated by using average values of Y) is most commonly used.

Reciprocal model.

This model can be expressed as:

i i

Yi (^) X  u

  1   2 1 , where i  1 , , n.

  • The regression coefficient can be denoted as: (^2 ) 1 dX X

dY

X

d

dY

Marginal effect  2 12 2 12 dX X X X

dY dX

dY  .

Statistical and Econometric Methods for Business – Pablo de Olavide University

The value of the marginal effect in this case depends on the values of X considered. Subsequently, the average marginal effect (calculated by using average values of X) is the most frequently used.

dX X XY XY

dY dX X

Elasticity dY^ Y^11

2 ^2.

The value of the elasticity is not constant and depends on the values of X and Y. Therefore, we will use mostly the average elasticity (calculated by using average values of X and Y).

Comparison among models

In order to compare alternative models, we must pay attention to two critical elements:

 Number of explanatory variables.  The units in which the dependent variable is defined.

The most common indicators to compare models are:

  1. The R-squared: R^2 is a measure of the goodness-of-fit of the estimated regression. This value ranges from 0 to 1 and the closer to one the better the fit.
  2. The adjusted R-squared: R c^2 is a measure of the goodness-of-fit of the estimated regression, but taking into account the number of degrees of freedom. Similarly to the R-squared, the closer to one the better the fit.
  3. Akaike's information criterion: AIC , this measure indicates the best fit when it provides the smallest value in comparison with other models.

We already know that when we consider models with the same dependent variable and the same number of explanatory variables, we can use R-square to compare the models and determine the one that fits best.

In the case of nested models, considering the same dependent variable, we must use the adjusted R-squared. The R-square always increases when we add one more explanatory variable. However, the adjusted R-squared penalizes a regression for the loss of degrees of freedom when additional variables are included into the model.

The comparison between linear and logarithmic models is not straightforward, because the unit of measurement of the dependent variable is different: Y in the first case and lnY in the other. Then, the AIC precisely serves to compare the goodness of fit between linear and non-linear models.

In the latter case, we must have to compare the value of the AIC for the linear model with the value of the transformed AIC * for the model with lnY. The AIC * is obtained using the following expression: