Using gret l for Principles of Econometrics, 4th Edition

Regression with an Indicator Variable

Подпись: utown Подпись: 1 if house is in University Town 0 if not Подпись: (2.11)

An indicator variable is a variable that can be equal to one of two possible values. Commonly, this an indicator variable can be a 1 or a 0. So for instance, if a house is located in the University Town subdivision the variable is given the value of 1 and if not it is equal to 0.

The regression model becomes

price = ві + e2utown + e (2.12)

Подпись: E(pri CE) = в1 + fi2utown Подпись: в1 + в2 if utown = 1 в1 if utown = 0 Подпись: (2.13)

As pointed out in POE4, taking the expected value of a regression is very useful when it contains an indicator variable. This will reveal how to interpret its coefficient. In this model

So, estimating the model using the utown. gdt data yields

price = 215.732 + 61.5091 utown

(1.3181) (1.8296)

T = 1000 R[5] [6] [7] [8] [9] = 0.5306 F(1, 998) = 1130.2 a = 28.907
(standard errors in parentheses)

This implies that the average home price (in $1000) in University Town is 215.7325 + 61.5091 = 277.2416 and the average price elsewhere is 215.7325.

The script that produces the same result is straightforward:

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

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 Александр
- телефон для консультаций и заказов спец.оборудования, дробилок, уловителей, дражираторов, гереторных насосов и инженерных решений.