Using gret l for Principles of Econometrics, 4th Edition

Log-Linear Model

In this example the simple regression first considered in chapter 4 is modified to include more variables and an interaction. The model adds experience to the model

ln(wage) = ві + e2educ + вз exper + e (5.19)

In this model suppose that the marginal effect of another year of schooling depends on how much experience the worker has. This requires adding an interaction

ln(wage) = в1 + e2educ + e3exper + e4(educ x exper) + e (5.20)

image157 Подпись: в3 + в4 educ Подпись: (5.21)

The marginal effect of another year of experience is

In percentage terms the marginal effect of another year of experience is 100(в3 + e4educ). The model can be estimated and the marginal effect computed easily with hansl

1 open "@gretldirdatapoecps4_small. gdt"

2 logs wage

3 series ed_exp=educ*exper

4 ols l_wage const educ exper ed_exp

5 scalar me8 = $coeff(exper)+8*$coeff(ed_exp)

6 scalar me16 = $coeff(exper)+16*$coeff(ed_exp)

7 printf "nThe marginal effect of exper for one

8 with 8 years of schooling is %.3f%%n",100*me8

9 printf "nThe marginal effect of exper for one io with 16 years of schooling is %.3f%%.n",100*me16

The result is

The marginal effect of exper for one with 8 years of schooling is 0.604%. The marginal effect of exper for one with 16 years of schooling is 0.575%.

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

Using gret l for Principles of Econometrics, 4th Edition

Simulation

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 457 13 30 — Рашид - продажи новинок
e-mail: msd@msd.com.ua
Схема проезда к производственному офису:
Схема проезда к МСД

Партнеры МСД

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

Внимание! На этом сайте большинство материалов - техническая литература в помощь предпринимателю. Так же большинство производственного оборудования сегодня не актуально. Уточнить можно по почте: Эл. почта: msd@msd.com.ua

+38 050 512 1194 Александр
- телефон для консультаций и заказов спец.оборудования, дробилок, уловителей, дражираторов, гереторных насосов и инженерных решений.