Using gret l for Principles of Econometrics, 4th Edition
Prediction
Similarly, gretl can be used to produce predictions. The predicted food expenditure of an average household having weekly income of $2000 is:
foodTexpt = 83.42 + 10.21incomet = 83.42 + 10.21(20) = 287.61 (2.5)
Remember, income is measured in $100, so 20 in the above expression represents 20*$100=$2,000. The gretl script is:
scalar yhat = $coeff(const) + $coeff(income)*20
which yields the desired result.
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 …
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 …
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) …