Using gret l for Principles of Econometrics, 4th Edition

Estimating Variance

In section 2.7 of POE4, you are given expressions for the variances of the least squares estimators of the intercept and slope as well as their covariance. These estimators require that you estimate the overall variance of the model’s errors, a2. Gretl does not explicitly report the estimator, a2, but rather, its square root, a. Gretl calls this “S. E. of regression” which you can see from the output is 89.517. Thus, 89.5172 = 8013.29. Gretl also reports the sum of squared residuals, equal to 304505.2, from which you can calculate the estimate. Dividing the sum of squared residuals by the estimator’s degrees of freedom yields a2 = 304505/38 = 8013.29.

The estimated variances and covariance of the least squares estimator can be obtained once the model is estimated by least squares by selecting the Analysis>Coefficient covariance matrix command from the pull-down menu of the model window as shown in Figure 2.13. The result is:

Covariance matrix of regression coefficients:

const income

1884.44 -85.9032 const

4.38175 income

So, estimated variances of the least squares estimator of the intercept and slope are 1884.44 and 4.38175, respectively. The least squares standard errors are simply the square roots of these num­bers. The estimated covariance between the slope and intercept -85.9032.

You can also obtain the variance-covariance matrix by specifying the --vcv option when esti­mating a regression model. For the food expenditure example use:

ols food_exp const income --vcv

to estimate the model using least squares and to print the variance covariance matrix to the results window.

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

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 Инна (вайбер, вацап, телеграм)
Эл. почта:

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