Using gret l for Principles of Econometrics, 4th Edition

Using gret l for Principles of Econometrics, 4th Edition

The previous edition of this manual was about using the software package called gretl to do various econometric tasks required in a typical two course undergraduate or masters level econo­metrics sequence. This version tries to do the same, but several enhancements have been made that will interest those teaching more advanced courses. I have come to appreciate the power and usefulness of gretl’s powerful scripting language, now called hansl. Hansl is powerful enough to do some serious computing, but simple enough for novices to learn. In this version of the book, you will find more information about writing functions and using loops to obtain basic results. The programs have been generalized in many instances so that they could be adapted for other uses if desired. As I learn more about hansl specifically and programming in general, I will no doubt revise some of the code contained here. Stay tuned for further developments.

As with the last edition, the book is written specifically to be used with a particular textbook, Principles of Econometrics, 4th edition (POE4) by Hill, Griffiths, and Lim. It could be used with many other introductory texts. The data for all of the examples used herein are available as a package from my website at http://www. learneconometrics. com/gretl. html. If you are unfamiliar with gretl and are interested in using it in class, Mixon Jr. and Smith (2006) and Adkins (2011a) have written a brief review of gretl and how it can be used in an undergraduate course that you may persuade you to give it a try.

The chapters are arranged in the order that they appear in Principles of Econometrics. Each chapter contains a brief description of the basic models to be estimated and then gives you the specific instructions or gretl code to reproduce (nearly) all of the examples in the book. Where appropriate, I’ve added a bit of pedagogical material that complements what you’ll find in the text. I’ve tried to keep this to a minimum since this is not supposed to serve as a substitute for your text book. The best part about this manual is that it, like gretl, is free. It is being distributed in Adobe’s pdf format and I will make corrections to the text as I find errors.

Gretl’s ability to process user written functions greatly expands the usefulness of the appli­cation. In several of the chapters functions are used to estimate models, select models, and to compute various statistics. The scripting language, continues to evolve in useful ways, becoming more transparent in use and more functional. Though not explored in this boo, the ability to give function writers access to the basic GUI and to package things into bundles is s very exciting development.

Functions can be shared and imported easily through gretl, especially if you are connected to the internet. If gretl doesn’t do what you want it to now, stay tuned. It soon may. If recent activity is any indication, I am confident that the the gretl team will continue to improve this already very useful application. I hope that this manual is similarly useful to those using Principles of Econometrics.

There are some significant changes in the 4th edition of POE and that means there are some changes in this book from the previous edition. As in the previous edition of this e-book, I have attempted to provide gretl instructions for each and every example in the book. My solutions are not necessarily the most elegant. In some cases elegance gives way to simplicity of programming, especially with respect to the types of students who are likely to be using this book. I have made an effort to generalize some of the script so that it will be easier to adapt to new needs. I’ve also made liberal uses of loops and functions. These are powerful tools and a thorough understanding of them can take your gretl and econometric skills to the next level. Feel free to send suggestions.

Another change in this version of the book is that I’ve made some effort to generalize some of the scripts. Although that should make it easier to generalize them to a new use, it does mean that they have become a little more complicated. A heavy reliance on user written functions is evident. I invite users to take the time to work through these in order to advance your programming and econometric skills.

To make things easier to find in the book, I have added an index. In the pdf, you can click on the page number listed in the index and be taken to the relevant spot in the text. Also, the figure numbers, equation numbers, and citations are also ‘hot’ and can be used in this fashion as well. Since some may prefer to print the manual out rather than work from the. pdf, I opted to make the ‘hot’ links black in color, which disguises their functionality.

Once again, I want to thank the gretl team of Allin Cottrell and Riccardo “Jack” Lucchetti for putting so much effort into gretl. It is a wonderful program for teaching and doing econometrics. It has many capabilities beyond the ones I discuss in this book and other functions are added regularly. Also, Jack has kindly provided me with suggestions and programs that have made this much better than it would have been otherwise. Any remaining errors are mine alone.

I also want to thank my good friend and colleague Carter Hill for suggesting I write this and Oklahoma State University and our College of Business for continuing to pay me while I work on it.

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

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