Docsity

Interpreting coefficients in STATA, Appunti di Econometria

Toggle sidebar
bg1
1
How to Interpret Regression Coefficients
ECON 30331
Bill Evans
Fall 2010
How one interprets the coefficients in regression models will be a function of how the dependent (y) and
independent (x) variables are measured. In general, there are three main types of variables used in
econometrics: continuous variables, the natural log of continuous variables, and dummy variables. In the
examples below we will consider models with three independent variables:
x
1i
a continuous variable
ln(x
2i
) the natural log of a continuous variable
x
3i
a dummy variable that equals 1 (if yes) and 0 (if no)
Listed below are three models. In each case, the right hand side variables are the same, but the dependent
variables differ. In each of these regressions, the dependent variable will be measured either as a continuous
variable, the natural log or a dummy variable. Define the following dependent variables:
y
1i
a continuous variable
ln(y
2i
) the natural log of a continuous variable
y
3i
a dummy variable that equals 1 (if yes) and 0 (if no)
Below each model is text that describes how to interpret particular regression coefficients.
Model 1: y
1i
= β
0
+ x
1i
β
1
+ ln(x
2i
)β
2
+ x
3i
β
3
+ ε
i
β
1
=∂y
1i
/∂x
1i
= a one unit change in x
1
generates a β
1
unit change in y
1i
β
2
=∂y
1i
/∂ln(x
2i
) = a 100% change in x
2
generates a β
2
change in y
1i
β
3
= the movement of x
3i
from 0 to 1 produces a β
3
unit change in y
1i
Model 2: ln(y
2i
) = β
0
+ x
1i
β
1
+ ln(x
2i
)β
2
+ x
3i
β
3
+ ε
i
β
1
=∂ln(y
2i
)/∂x
1i
= a one unit change in x
1
generates a 100*β
1
percent change in y
2i
β
2
=∂ln(y
1i
)/∂ln(x
2i
) = a 100% change in x
2
generates a 100*β
2
percent change in y
2i
β
3
= the movement of x
3i
from 0 to 1 produced a 100*β
3
percent change in y
2i
Model 3: y
3i
= β
0
+ x
1i
β
1
+ ln(x
2i
)β
2
+ x
3i
β
3
+ ε
i
β
1
=∂y
3i
/∂x
1i
= a one unit change in x
1
generates a 100*β
1
percentage point change in the
probability y
3i
occurs
β
2
=∂y
3i
/∂ln(x
2i
) = a 100% change in x
2
generates a 100*β
2
percentage point change in the
probability y
3i
occurs
β
3
= the movement of x
3i
from 0 to 1 produced a 100*β
3
percentage point change in the
probability that y
3i
occurs
pf3
pf4

Anteprima parziale del testo

Scarica Interpreting coefficients in STATA e più Appunti in PDF di Econometria solo su Docsity!

How to Interpret Regression Coefficients

ECON 30331

Bill Evans

Fall 2010

How one interprets the coefficients in regression models will be a function of how the dependent (y) and

independent (x) variables are measured. In general, there are three main types of variables used in

econometrics: continuous variables, the natural log of continuous variables, and dummy variables. In the

examples below we will consider models with three independent variables:

x1i a continuous variable

ln(x2i) the natural log of a continuous variable

x3i a dummy variable that equals 1 (if yes) and 0 (if no)

Listed below are three models. In each case, the right hand side variables are the same, but the dependent

variables differ. In each of these regressions, the dependent variable will be measured either as a continuous

variable, the natural log or a dummy variable. Define the following dependent variables:

y1i a continuous variable

ln(y2i) the natural log of a continuous variable

y3i a dummy variable that equals 1 (if yes) and 0 (if no)

Below each model is text that describes how to interpret particular regression coefficients.

Model 1: y1i = β 0 + x1i β 1 + ln(x2i) β 2 + x3i β 3 + ε i

β 1 =∂y1i/∂x1i = a one unit change in x 1 generates a β 1 unit change in y1i

β 2 =∂y1i/∂ln(x2i) = a 100% change in x 2 generates a β 2 change in y1i

β 3 = the movement of x3i from 0 to 1 produces a β 3 unit change in y1i

Model 2: ln(y2i) = β 0 + x1i β 1 + ln(x2i) β 2 + x3i β 3 + ε i

β 1 =∂ln(y2i)/∂x1i = a one unit change in x 1 generates a 100*β 1 percent change in y2i

β 2 =∂ln(y1i)/∂ln(x2i) = a 100% change in x 2 generates a 100*β 2 percent change in y2i

β 3 = the movement of x3i from 0 to 1 produced a 100*β 3 percent change in y2i

Model 3: y3i = β 0 + x1i β 1 + ln(x2i) β 2 + x3i β 3 + ε i

β 1 =∂y3i/∂x1i = a one unit change in x 1 generates a 100*β 1 percentage point change in the

probability y3i occurs

β 2 =∂y3i/∂ln(x2i) = a 100% change in x 2 generates a 100*β 2 percentage point change in the

probability y3i occurs

β 3 = the movement of x3i from 0 to 1 produced a 100*β 3 percentage point change in the

probability that y3i occurs

An extended example:

Below are results from three regressions generated from one data set. The results parallel the three models

outlined above. The data set contains responses from a sample of senior citizens (aged 65+) who are all on

Medicare. The regressions have three different outcome measures (total expenditures on medical care

(totalexp), the natural log of total medical expenditures (totalexp_ln) and whether the person has high blood

pressure (high_bp). For each of these dependent variables, there are three potential independent variables, a

continuous variable (age), the natural log of a continuous variable (ln of family income) and a dummy variable

(obese) that equals 1 if a respondent is obese, =0 0 otherwise.

The sample description and the sample means are presented below.

. desc

Contains data from D:\bill\fall2008\econ30331\meps_senior.dta obs: 2, vars: 6 20 Oct 2008 17: size: 77,220 (99.3% of memory free)


storage display value variable name type format label variable label


age byte %8.0g age in years totalexp long %12.0g total expenditures on medical care, 2005 high_bp byte %8.0g dummy variable, =1 if have high blood pressure, =0 otherwise income_ln float %9.0g natural log of family income totalexp_ln float %9.0g natural log of total medical expenditures obese float %9.0g dummy variable, =1 if obese, = otherwise


. sum

Variable | Obs Mean Std. Dev. Min Max -------------+-------------------------------------------------------- age | 2970 74.07576 6.228823 65 85 totalexp | 2970 8358.247 14109.34 1 235392 high_bp | 2970 .6703704 .4701578 0 1 income_ln | 2970 9.557707 .3464276 9.220389 9. totalexp_ln | 2970 8.045003 1.904871 0 12. -------------+-------------------------------------------------------- obese | 2970 .2690236 .4435269 0 1

. ****************** model 3 ********************* . reg high_bp age income_ln obese

Source | SS df MS Number of obs = 2970 -------------+------------------------------ F( 3, 2966) = 44. Model | 28.371025 3 9.45700834 Prob > F = 0. Residual | 627.921568 2966 .21170653 R-squared = 0. -------------+------------------------------ Adj R-squared = 0. Total | 656.292593 2969 .221048364 Root MSE =.


high_bp | Coef. Std. Err. t P>|t| [95% Conf. Interval] -------------+---------------------------------------------------------------- age | .0053784 .001421 3.79 0.000 .0025922. income_ln | .0914678 .0252735 3.62 0.000 .0419125. obese | .1987462 .0192582 10.32 0.000 .1609854. _cons | -.6557299 .2370055 -2.77 0.006 -1.120442 -.


Interpreting the coefficients:

age: a one year increase in age will increase the probability of having high blood pressure

by 0.5 percentage points

income_ln: a 100% increase in income will increase the probability of having high blood pressure

by 9.1 percentage points

male: Obese seniors have 19.9 percentage point higher probability of being obese than non-

obese seniors