Hitchhiker's Guide to Eviews and Econometrics

Total Page:16

File Type:pdf, Size:1020Kb

Hitchhiker's Guide to Eviews and Econometrics Hitchhiker’s Guide to EViews and Econometrics January 2000 Byung-Joo Lee Department of Economics University of Notre Dame Notre Dame, IN 46556 [email protected] 219-631-6837 EViews’ User’s Guide This is a short guide to use EViews, the econometric software that we will use in this course. EViews program is available on the campus cluster computers with windows operating system NT@ND installed. We do not have Macintosh version of this program installed on the campus computers (Macintosh version is available for individual purchase directly from the publisher). To use this program, go to any campus cluster computers with NT@ND. From the Start menu, follow the link to Programs to Academic to Arts & Letters to Stats to EViews. Double click the EViews icon and you will be presented the EViews window. Summary of the Program EViews is a windows graphical interfaced statistical software. This program simplifies many complicated statistical problems with a few simple mouse clicks. However, this program is also powerful enough to handle many state of the art econometrics problems. This program is a successor of MicroTSP from the same company. This program handles time-series analysis better than cross section data analysis. More flexible maximum likelihood estimation procedure is one major lacking point of EViews. There are two ways to execute this program. First you can perform many statistical functions with just using menu bar. You can also do the same task using EViews commands. We will use both ways to handle statistical problems. Getting Started When you start EViews program, EViews window appears. The first line in the window is the title bar, labeled Econometrics Views. The second line is called the menu bar beginning with File. Each one of the entries has its own submenu as you double click your mouse. They are very similar to standard windows menu bar items. Each of those items will be explained later whenever necessary. There is a blank line right below the menu bar, and it is called the command window. This is the area that you type in the EViews command to perform statistical functions (As I mentioned in the previous section, you can just use menu bar to do the same task). The main area is the work area that will display the results of statistical tasks. Each result will have its own window and as you perform multiple statistical tasks, you will see several windows cascaded. You can drag each window to different position for your own viewing convenience. The very bottom line is the status line. This line is divided into three sections. The first one is a message section (from EViews to users), the second section shows the default directory that EViews will use to look for data and program. You can change the default directory by clicking the Update Default Directory in the directory setting window. The last section displays the current work file name. When you open EViews, this section shows that work file is untitled (because you did not name the work file yet). 1 Introductory Session This is an introductory session of EViews. This session only covers the most basic and necessary tools that we need to perform minimal regression analysis. The next section, Econometric Review, covers brief but fairly comprehensive topics of the most commonly used econometric models. We will practice an actual statistical analysis using small data set. In this practice, I will explain both using menu bar and EViews command. EViews command will be boldfaced. Our practice will appear as italics. 1. Begin EViews session and prepare for the workfile. You need to create workfile for any EViews session. Click on the File|New|Workfile. (Type CREATE in a command mode) A dialog box appears to ask the frequency of data: annual, semi-annual, quarterly, monthly, weekly, daily or undated. Select appropriate frequency and enter the starting and end period of data. For example, in the start period area, type 1960 for annual or 1960:1 for quarterly, monthly or weekly (you can use period instead of colon, e.g., 1960.1). The end period can be entered as 1969 (annual), 1969:4 (quarterly) or 1969:12(monthly), etc (see step 11 to enter data). For cross section data, choose none for data frequency and enter 1 in the start period and n (number of sample size) in the end period. Then, click OK. Now the workfile appears (currently showing as workfile:UNTITLED) and there are two variables already in the workfile: C(constant) and resid(Residuals). 2. Type in data for three series CONS, INCOME and CPI. To enter data manually, click on Quick|Empty Group(Edit Series). (Type DATA). Blank spreadsheet appears with the pre-specified frequency you entered in step 1. Click in the gray cell to enter the series (variable) name. This window is called the Group within your own work file. For each operation you do in your work file, you can name these as separate group or you can just discard to close the group windows. You can use any ASCII characters up to 8 characters. Start type in numeric data immediately below the series name. Type CONS (consumption) and press down arrow (DATA CONS) and start to type in 325, 335,… Data is at the end of this exercise. After finishing cons, go to the next column and in the gray area, type INCOME and type in 350, 364, 385,… Repeat this for another series CPI. (You can do all these three series at once by DATA CONS INCOME CPI). If you want to read a data from other file(ASCII file, Lotus *.WK3, or Excel *.XLS), click on Proc/Import Data in the workfile menu. Choose proper file format to read in and select data file from your directory. You will have a data dialog window that is asking the order of data (by observation or by series: most data is arranged by 2 observation) and series names (if they don’t have names). If data already have series names, simply type in how many series in the data set. EViews will read in all necessary data into the workfile. You can export selected series into any data file format by click on Proc/Export Data in the workfile menu. 3. Save and retrieve your current working file. When you are done entering all your data, you need to save your work file so that you can use it later. To save your working file, click on File|SaveAs and give appropriate file name (work file has an automatic extension of *.wf1) and path for your own (SAVE filename). In a later session when you need this work file back, you can retrieve by File|Open and find your appropriate work file (LOAD filename). 4. Generate real variables using nominal variables and price index. Note that CONS and INCOME are nominal terms. In order to use these variables in real terms, we need to modify these variables into real terms. In your current work file menu bar, there is a button for GENR. Click GENR (GENR), you will have a window asking equation and sample period. Enter appropriate equations to change nominal variables into real terms. Type RCONS(Real consumption)=CONS/CPI and adjust for sample period. Sample period is already entered as the entire period. Do the same for RINCOME (Real income). 5. Print CONS, INCOME, CPI, RCONS, RINCOME. If you want to look at your data, you can use SHOW command in the work file menu bar and type appropriate series name(s) (SHOW CONS INCOME). For a single series, you can just double click on its series name in the workfile directory. For a multiple series, highlight the entire series name in the workfile directory and click SHOW. You can type more than one series name in the series name window. You can print using PRINT menu in the work group menu bar (PRINT CONS INCOME). 6. Plot each series separately and simultaneously. You can a graph for a single or multiple series. You can also do this by View|Graphics under the Group menu (This is only available under the View in the Group menu, where you see the actual list of series, for example) (PLOT series name or PLOT series1, series2). Each series is plotted using different color. You can make multiple graphs by choosing View|Multiple Graphs in the Group menu. 3 7. Draw and print the scatter diagram of RCONS and RINCOME. To see the relationship between two variables, you can draw a scatter diagram between two variables (SCAT CONS, INCOME, first variable in the vertical axis and the second one in the horizontal axis). You can print this scatter diagram using PRINT command in the scatter diagram menu bar. 8. Calculate the correlation, covariance and test the Granger causality between RCONS and RINCOME. You can obtain descriptive statistics of each variables using Quick|Series Statistics for single series or Quick|Group Statistics for multiple series. You can obtain the same statistics under the View|Descriptive Stats under the Group menu. There are eight statistics that you can obtain under the View menu such that descriptive statistics, crosstab, correlations, covariances, correlogram, cross correlation, cointegration test, Granger causality. 9. Estimate the least squares regression of RCONS on RINCOME with intercept. Also estimate the same regression using nominal variables. If you want to run regression of RCONS on RINCOME with intercept, click on Object|New Object|Equation (or Quick|Estimate Equation). Before you click OK button, you can (optionally) give the name for your Object. It is not necessary, but this will make it easier for you to refer to your estimated equation later.
Recommended publications
  • Econometrics Oxford University, 2017 1 / 34 Introduction
    Do attractive people get paid more? Felix Pretis (Oxford) Econometrics Oxford University, 2017 1 / 34 Introduction Econometrics: Computer Modelling Felix Pretis Programme for Economic Modelling Oxford Martin School, University of Oxford Lecture 1: Introduction to Econometric Software & Cross-Section Analysis Felix Pretis (Oxford) Econometrics Oxford University, 2017 2 / 34 Aim of this Course Aim: Introduce econometric modelling in practice Introduce OxMetrics/PcGive Software By the end of the course: Able to build econometric models Evaluate output and test theories Use OxMetrics/PcGive to load, graph, model, data Felix Pretis (Oxford) Econometrics Oxford University, 2017 3 / 34 Administration Textbooks: no single text book. Useful: Doornik, J.A. and Hendry, D.F. (2013). Empirical Econometric Modelling Using PcGive 14: Volume I, London: Timberlake Consultants Press. Included in OxMetrics installation – “Help” Hendry, D. F. (2015) Introductory Macro-econometrics: A New Approach. Freely available online: http: //www.timberlake.co.uk/macroeconometrics.html Lecture Notes & Lab Material online: http://www.felixpretis.org Problem Set: to be covered in tutorial Exam: Questions possible (Q4 and Q8 from past papers 2016 and 2017) Felix Pretis (Oxford) Econometrics Oxford University, 2017 4 / 34 Structure 1: Intro to Econometric Software & Cross-Section Regression 2: Micro-Econometrics: Limited Indep. Variable 3: Macro-Econometrics: Time Series Felix Pretis (Oxford) Econometrics Oxford University, 2017 5 / 34 Motivation Economies high dimensional, interdependent, heterogeneous, and evolving: comprehensive specification of all events is impossible. Economic Theory likely wrong and incomplete meaningless without empirical support Econometrics to discover new relationships from data Econometrics can provide empirical support. or refutation. Require econometric software unless you really like doing matrix manipulation by hand.
    [Show full text]
  • Econometric Theory
    Econometric Theory John Stachurski January 10, 2014 Contents Preface v I Background Material1 1 Probability2 1.1 Probability Models.............................2 1.2 Distributions................................. 16 1.3 Dependence................................. 25 1.4 Asymptotics................................. 30 1.5 Exercises................................... 39 2 Linear Algebra 49 2.1 Vectors and Matrices............................ 49 2.2 Span, Dimension and Independence................... 59 2.3 Matrices and Equations........................... 66 2.4 Random Vectors and Matrices....................... 71 2.5 Convergence of Random Matrices.................... 74 2.6 Exercises................................... 79 i CONTENTS ii 3 Projections 84 3.1 Orthogonality and Projection....................... 84 3.2 Overdetermined Systems of Equations.................. 90 3.3 Conditioning................................. 93 3.4 Exercises................................... 103 II Foundations of Statistics 107 4 Statistical Learning 108 4.1 Inductive Learning............................. 108 4.2 Statistics................................... 112 4.3 Maximum Likelihood............................ 120 4.4 Parametric vs Nonparametric Estimation................ 125 4.5 Empirical Distributions........................... 134 4.6 Empirical Risk Minimization....................... 137 4.7 Exercises................................... 149 5 Methods of Inference 153 5.1 Making Inference about Theory...................... 153 5.2 Confidence Sets..............................
    [Show full text]
  • International Journal of Forecasting Guidelines for IJF Software Reviewers
    International Journal of Forecasting Guidelines for IJF Software Reviewers It is desirable that there be some small degree of uniformity amongst the software reviews in this journal, so that regular readers of the journal can have some idea of what to expect when they read a software review. In particular, I wish to standardize the second section (after the introduction) of the review, and the penultimate section (before the conclusions). As stand-alone sections, they will not materially affect the reviewers abillity to craft the review as he/she sees fit, while still providing consistency between reviews. This applies mostly to single-product reviews, but some of the ideas presented herein can be successfully adapted to a multi-product review. The second section, Overview, is an overview of the package, and should include several things. · Contact information for the developer, including website address. · Platforms on which the package runs, and corresponding prices, if available. · Ancillary programs included with the package, if any. · The final part of this section should address Berk's (1987) list of criteria for evaluating statistical software. Relevant items from this list should be mentioned, as in my review of RATS (McCullough, 1997, pp.182- 183). · My use of Berk was extremely terse, and should be considered a lower bound. Feel free to amplify considerably, if the review warrants it. In fact, Berk's criteria, if considered in sufficient detail, could be the outline for a review itself. The penultimate section, Numerical Details, directly addresses numerical accuracy and reliality, if these topics are not addressed elsewhere in the review.
    [Show full text]
  • Hands-On & Exercise: Stata Hands-On: Eviews & Stata
    @ COMP. LAB. 3, SCHOOL OF MATHEMATICAL SCIENCES, USM PENANG 13 (Sat) & 14 (Sun) MARCH 2021 The OBJECTIVE of this course is to introduce participants with VAR model and panel data structures and also to equip them with core skills in analyzing techniques for various types of panel data HANDS-ON & EXERCISE: STATA COURSE CONTENTS SHORT PANEL DATA ANALYSIS FACILITATORS: ✓ Fixed & Random Effects ✓ Pooled OLS, Hausman Test Dr Zainudin Arsad (USM) & ✓ Arellano-Bond Difference GMM ✓ Blundell-Bond System GMM Ass. Prof. Dr LAW S. HOOK (UPM) ECONOMETRIC ANALYSIS WITH STRUCTURAL BREAK: ✓ Long-run Models: FMOLS/DOLS/CCR ✓ Quandt-Andrews, Bai-Perron Tests ✓ Gregory & Hansen (1996) Test ✓ Johansen, Mosconi and Nieldsen (2000) Cointegration Test WHO SHOULD ATTEND Academics and Graduate Students as well as Researchers, Analysts and Consultants in various business disciplines that may include Private & Public Sector Organizations, Banks & Financial Institutions and Regulatory Authorities. HANDS-ON: EVIEWS & STATA FACILITATOR: Professor Dr. Eng Yoke Kee (UTAR) 3 (Sat) & 4 (Sun) APRIL 2021 SHORT PANEL DATA ANALYSIS DAY 1 : SATURDAY, 13 MARCH 2021 8:15 AM REGISTRATION 8:45 AM SESSION 1 – THE NATURE OF PANEL DATA ▪ Nature and Benefits od Panel Data; Examining & Arranging Your Dataset 10:30 AM TEA BREAK 10:45 AM SESSION 2 – STATIC LINEAR PANEL MODELS ▪ Panel Data Basics: Pooled OLS, Fixed and Random Effects 12:45 PM LUNCH 2:00 PM SESSION 3 – SELECTING PANEL DATA MODELS ▪ Poolability F-test, Breusch-Pagan LM Test, Hausman Test 3.45 PM TEA BREAK 4.00 PM SESSION 4 – ISSUES ON PANEL DATA MODELS: ROBUST ESTIMATES ▪ Diagnostic Tests and Robust Standard Errors 5:45 PM Q & A (SESSIONS 1 - 4) DAY 2 : SUNDAY, 14 MARCH 2021 8:30 AM SESSION 5 – DYNAMIC PANEL DATA APPROACH ▪ Why Dynamic Panel? 10:15 AM TEA BREAK 10:30 AM SESSION 6 – MULTIVARIATE DYNAMIC MODELS WITH PERSISTENT SERIES ▪ Arellano-Bond Difference Estimator, 1-step vs.
    [Show full text]
  • Rtadf: Testing for Bubbles with Eviews
    JSS Journal of Statistical Software November 2017, Volume 81, Code Snippet 1. doi: 10.18637/jss.v081.c01 Rtadf: Testing for Bubbles with EViews Itamar Caspi Bank of Israel Abstract This paper presents Rtadf (right-tail augmented Dickey-Fuller), an EViews add-in that facilitates the performance of time series based tests that help detect and date-stamp asset price bubbles. The detection strategy is based on a right-tail variation of the standard augmented Dickey-Fuller (ADF) test where the alternative hypothesis is of a mildly explo- sive process. Rejection of the null in each of these tests may serve as empirical evidence for an asset price bubble. The add-in implements four types of tests: standard ADF, rolling window ADF, supremum ADF (SADF; Phillips, Wu, and Yu 2011) and general- ized SADF (GSADF; Phillips, Shi, and Yu 2015). It calculates the test statistics for each of the above four tests, simulates the corresponding exact finite sample critical values and p values via Monte Carlo methods, under the assumption of Gaussian innovations, and produces a graphical display of the date stamping procedure. Keywords: rational bubble, ADF test, sup ADF test, generalized sup ADF test, mildly explo- sive process, EViews. 1. Introduction Empirical identification of asset price bubbles in real time, and even in retrospect, is surely not an easy task, and it has been the source of academic and professional debate for several decades.1 One strand of the empirical literature suggests using time series estimation tech- niques while exploiting predictions made by finance theory in order to test for the existence of bubbles in the data.
    [Show full text]
  • Introduction to Eviews 2.0
    Introduction to EViews 2.0 Overview of product EViews provides regression and forecasting tools on Windows computers. With EViews you can develop a statistical relation from your data and then use the relation to forecast future values of the data. Areas where EViews can be useful include: · Sales forecasting · Cost analysis and forecasting · Financial analysis · Macroeconomic forecasting · Simulation · Scientific data analysis and evaluation EViews is a new version of a set of tools for manipulating time series data originally developed in the Time Series Processor software for large computers. The immediate predecessor of EViews was MicroTSP, first released in 1981. Though EViews was developed by economists and most of its uses are in economics, there is nothing in its design that limits its usefulness to economic time series. Even quite large cross-section projects can be handled in EViews. The basic data object within EViews is the time series. Each series has a name, and you can request operations on all the observations just by mentioning the name of the series. EViews provides convenient visual ways to enter time series from the keyboard or from disk files, to create new series from existing ones, to display and print series, and to carry out statistical analysis of the relations among series. EViews uses the visual features of modern Windows software. You can use your mouse to guide the operation with standard Windows menus and dialogs. Results appear in windows and can be manipulated with standard Windows techniques. Alternatively, you may use EViews' powerful command language. You can enter and edit commands in the command window.
    [Show full text]
  • Gretl User's Guide
    Gretl User’s Guide Gnu Regression, Econometrics and Time-series Allin Cottrell Department of Economics Wake Forest university Riccardo “Jack” Lucchetti Dipartimento di Economia Università Politecnica delle Marche December, 2008 Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation (see http://www.gnu.org/licenses/fdl.html). Contents 1 Introduction 1 1.1 Features at a glance ......................................... 1 1.2 Acknowledgements ......................................... 1 1.3 Installing the programs ....................................... 2 I Running the program 4 2 Getting started 5 2.1 Let’s run a regression ........................................ 5 2.2 Estimation output .......................................... 7 2.3 The main window menus ...................................... 8 2.4 Keyboard shortcuts ......................................... 11 2.5 The gretl toolbar ........................................... 11 3 Modes of working 13 3.1 Command scripts ........................................... 13 3.2 Saving script objects ......................................... 15 3.3 The gretl console ........................................... 15 3.4 The Session concept ......................................... 16 4 Data files 19 4.1 Native format ............................................. 19 4.2 Other data file formats ....................................... 19 4.3 Binary databases ..........................................
    [Show full text]
  • Eviews 10 Getting Started Eviews 10 Getting Started Copyright © 1994–2017 IHS Global Inc
    EViews 10 Getting Started EViews 10 Getting Started Copyright © 1994–2017 IHS Global Inc. All Rights Reserved ISBN: 978-1-880411-36-0 This software product, including program code and manual, is copyrighted, and all rights are reserved by IHS Global Inc. The distribution and sale of this product are intended for the use of the original purchaser only. Except as permitted under the United States Copyright Act of 1976, no part of this product may be reproduced or distributed in any form or by any means, or stored in a database or retrieval system, without the prior written permission of IHS Global Inc. Disclaimer The authors and IHS Global Inc.assume no responsibility for any errors that may appear in this manual or the EViews program. The user assumes all responsibility for the selection of the pro- gram to achieve intended results, and for the installation, use, and results obtained from the pro- gram. Trademarks EViews® is a registered trademark of IHS Global Inc. Windows, Excel, PowerPoint, and Access are registered trademarks of Microsoft Corporation. PostScript is a trademark of Adobe Corpora- tion. X11.2 and X12-ARIMA Version 0.2.7, and X-13ARIMA-SEATS are seasonal adjustment pro- grams developed by the U. S. Census Bureau. Tramo/Seats is copyright by Agustin Maravall and Victor Gomez. Info-ZIP is provided by the persons listed in the infozip_license.txt file. Please refer to this file in the EViews directory for more information on Info-ZIP. Zlib was written by Jean-loup Gailly and Mark Adler. More information on zlib can be found in the zlib_license.txt file in the EViews directory.
    [Show full text]
  • Houtan BASTANI Philadelphia, PA 19143 Nationalities: USA, France, Iran [email protected]
    Houtan BASTANI Philadelphia, PA 19143 Nationalities: USA, France, Iran [email protected] EDUCATION MSc Economics, London School of Economics 2008-09 Graduated with Merit B.S. Economics and Computer Science, College of William & Mary 2000-03 Graduated Summa Cum Laude, Phi Beta Kappa College education financed through scholarships, grants, loans and work Candidate for B.S.E. Computer Science Engineering, University of Pennsylvania 1998-00 Transferred FELLOWSHIPS, HONORS AND AWARDS US Fulbright Research Fellow, Italy 2003-04 Elected member of Phi Beta Kappa honor society 2002 Frances L. and Edwin K. Cummings Scholar 2002 NSF REU Program 2001, 2002 Dean’s List 1999-03 WORK EXPERIENCE Research Software Engineer, Dynare, CEPREMAP, École Normale Supérieure since 2009 Focused on development of Dynare, primarily in C++ and MATLAB Programmed o OLS, FGLS, Gibbs Sampling for SUR models, VAR forecasts, … o Interpreter for Dynare’s macro processing language o Dynare's Reporting functionality o Dynare's test suite, run nightly upon commit o Integrated Sims, Waggoner and Zha MS-SBVAR code o JSON and Julia output of preprocessor o among others... Responsible for distribution on macOS: create installation packages and snapshots; created and maintain installation scripts on Homebrew Webmaster http://www.dynare.org Consultant, Organisation for Economic Co-operation and Development (OECD) 2018 Added Gandhi, Navarro and Rivers (2017) module to MultiProd codebase Fixed bug in Stata Gtools Gave class on Git Consultant, Copywrighte Design 2018 Created interactive in-store display using Python and Raspberry Pi Consultant, CQER, Federal Reserve Bank of Atlanta 2011 Worked for Dan Waggoner and Tao Zha, creating an interface for use with their Regime-Switching DSGE models.
    [Show full text]
  • Introduction to Scientific Computing
    Introduction to Scientific Computing Vahe Krrikyan/Johannes Pfeifer University of Mannheim [email protected] May 20, 2016 Programming Introduction Motivation Best Practices Conclusion References 1/25cba Figure: https://xkcd.com/1513/ Programming Introduction Motivation Best Practices Conclusion References 2/25cba Outline 1 Introduction 2 Motivation 3 Best Practices 4 Conclusion Programming Introduction Motivation Best Practices Conclusion References 3/25cba Introduction This presentation is based on Greg Wilson et al. (2014). “Best Practices for Scientific Computing”. In: PLoS Biology 12.1, e1001745. doi: 10.1371/journal.pbio.1001745 Programming Introduction Motivation Best Practices Conclusion References 4/25cba Introduction Nowadays scientific work almost impossible without scientific computing software Software as important as hardware in modern science and economics in particular Coding is an integral part of economic research, unless purely theoretical (even then software helps checking algebra) Development of Information Technologies, a driver for more sophisticated research techniques Programming Introduction Motivation Best Practices Conclusion References 5/25cba Introduction Scientist spend 30% or more of their time on developing their own software (Hannay et al., 2009; Prabhu et al., 2011) Thus research quality and results highly dependent on developed software E.g. Managing and analyzing large amounts of data, running sophisticated regressions or quantitative experiments Even running simple OLS regressions requires coding
    [Show full text]
  • Alvaro Silva
    Alvaro Silva Department of Economics University of Maryland College Park [email protected] https://asilvub.github.io/ Current Position Aide to the Minister of Finance, Chile 2021 – Education Ph.D. in Economics, University of Maryland College Park 2018 – present M.A. in Economics, University of Maryland College Park 2020 M.Sc. in Applied Economics (with honors), Universidad de Concepción 2014 – 2016 B.Sc. in Economics (with honors), Universidad de Concepción 2009 – 2013 Fields Macroeconomics, International Finance, Trade Past Experience Macro Modeling Consultant, Interamerican Development Bank (IDB) 2020 – 2020 Young Researcher, CLAPES UC, PUC Chile 2016 – 2018 Research WORKING PAPERS “Earnings Effect of Startup Employment" with Gonzalo García-Trujillo and Nathalie González WORK IN PROGRESS “Commodity Shocks and Production Networks in Small Open Economies" with Petre Caraini, Jorge Miranda-Pinto and Juan Olaya PRE-PH.D.PUBLICATIONS “Price Controls, Hyperinflation, and the Inflation-Relative Price Variability Relationship" with Rodrigo Cerda and Rolf Lüders Forthcoming at Empirical Economics (2021). “Impact of Economic Uncertainty in a Small Open Economy: The Case of Chile" with Rodrigo Cerda and José Tomás Valente Applied Economics (2018), 50(26), pp. 2894 - 2908. BOOK CHAPTERS AND OTHER PUBLICATIONS “Towards Measuring Economic Policy Uncertainty in Latin America: A First Little Step" Latin American Policy Journal (2018), Volume 7, Spring: pp. 68-73. “El Financiamiento Escolar en Chile (School Funding in Chile)" with Sergio Urzúa In Ideas
    [Show full text]
  • Econometrics with Octave
    Econometrics with Octave Dirk Eddelb¨uttel∗ Bank of Montreal, Toronto, Canada. [email protected] November 1999 Summary GNU Octave is an open-source implementation of a (mostly Matlab compatible) high-level language for numerical computations. This review briefly introduces Octave, discusses applications of Octave in an econometric context, and illustrates how to extend Octave with user-supplied C++ code. Several examples are provided. 1 Introduction Econometricians sweat linear algebra. Be it for linear or non-linear problems of estimation or infer- ence, matrix algebra is a natural way of expressing these problems on paper. However, when it comes to writing computer programs to either implement tried and tested econometric procedures, or to research and prototype new routines, programming languages such as C or Fortran are more of a bur- den than an aid. Having to enhance the language by supplying functions for even the most primitive operations adds extra programming effort, introduces new points of failure, and moves the level of abstraction further away from the elegant mathematical expressions. As Eddelb¨uttel(1996) argues, object-oriented programming provides `a step up' from Fortran or C by enabling the programmer to seamlessly add new data types such as matrices, along with operations on these new data types, to the language. But with Moore's Law still being validated by ever and ever faster processors, and, hence, ever increasing computational power, the prime reason for using compiled code, i.e. speed, becomes less relevant. Hence the growing popularity of interpreted programming languages, both, in general, as witnessed by the surge in popularity of the general-purpose programming languages Perl and Python and, in particular, for numerical applications with strong emphasis on matrix calculus where languages such as Gauss, Matlab, Ox, R and Splus, which were reviewed by Cribari-Neto and Jensen (1997), Cribari-Neto (1997) and Cribari-Neto and Zarkos (1999), have become popular.
    [Show full text]