Using gret l for Principles of Econometrics, 4th Edition

Graph the Data

To generate a graph of the food expenditure data that resembles the one in Figure 2.6 of POE,

you can use the 1= button on the gretl toolbar (third button from the right). Clicking this button brings up a dialog to plot the two variables against one another. Figure 2.4 shows this dialog where x is placed on the x-axis and y on the y-axis. The result appears in Figure 2.5. Notice that the labels applied above now appear on the axes of the graph.

image023

Figure 2.5: XY plot of the food expenditure data

Figure 2.5 plots food expenditures on the y axis and Weekly Income on the x. Gretl, by default, also plots the fitted regression line. The benefits of assigning labels to the variables becomes more obvious. Both X - and Y-axes are informatively labeled and the graph title is changed as well. More on this later.

Fife

lools Data

View Add Sample Variable

Model HelD

food. gdt

w Ordinary Least Squares...)

ID# *

Variable name < Descriptive label

Instrumental variables

0

const

auto-generated constant

Other linear models

1

food_exp

household food expenditure

Nonlinear models

l

income

weekly household income |

Time series

Figure 2.6: From the menu bar, select Model>Ordinary Least Squares to open the least squares dialog box

image024

Figure 2.7: The Specify Model dialog box opens when you select Model>Ordinary least squares

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

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 512 11 94 — гл. инженер-менеджер (продажи всего оборудования)

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

Партнеры МСД

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

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