Using gret l for Principles of Econometrics, 4th Edition

Wage Equation

Below you will find a script that reproduces the results from the wage equation example in section 4.5.2 of POE4. In this example the log-linear model is used to measure the approximate


Подпись: Figure 4.18: The plot of the residuals from a linear model. There is some visual evidence of serial correlation, suggesting that the linear model is misspecified.
Подпись: return to another year of education. The example uses a thousand observations from the CPS monthly survey from 2008.

open "@gretldirdatapoecps4_small. gdt"

2 series l_wage = log(wage)

3 ols l_wage const educ

4 scalar lb = $coeff(educ) - 1.96 * $stderr(educ)

5 scalar ub = $coeff(educ) + 1.96 * $stderr(educ)

6 print lb ub

The regression results are:

Lwage = 1.60944 + 0.0904082 educ

(0.086423) (0.0061456)

T = 1000 R2 = 0.1774 F(1, 998) = 216.41 a = 0.52661
(standard errors in parentheses)

and the 95% confidence intervals for the slope is

Variable Coefficient 95% confidence interval educ 0.0904082 0.0783484 0.102468

That is, an additional year of education is worth between 7.8% and 10.2% wage increases annually. Sign me up!

Добавить комментарий

Using gret l for Principles of Econometrics, 4th Edition


In appendix 10F of POE4, the authors conduct a Monte Carlo experiment comparing the performance of OLS and TSLS. The basic simulation is based on the model y = x …

Hausman Test

The Hausman test probes the consistency of the random effects estimator. The null hypothesis is that these estimates are consistent-that is, that the requirement of orthogonality of the model’s errors …

Time-Varying Volatility and ARCH Models: Introduction to Financial Econometrics

In this chapter we’ll estimate several models in which the variance of the dependent variable changes over time. These are broadly referred to as ARCH (autoregressive conditional heteroskedas - ticity) …

Как с нами связаться:

тел./факс +38 05235  77193 Бухгалтерия
+38 050 512 11 94 — гл. инженер-менеджер (продажи всего оборудования)

+38 050 457 13 30 — Рашид - продажи новинок
Схема проезда к производственному офису:
Схема проезда к МСД

Партнеры МСД

Контакты для заказов шлакоблочного оборудования:

+38 096 992 9559 Инна (вайбер, вацап, телеграм)
Эл. почта:

За услуги или товары возможен прием платежей Онпай: Платежи ОнПай