Giter Site home page Giter Site logo

richardgu26 / econometrics Goto Github PK

View Code? Open in Web Editor NEW
4.0 2.0 28.0 27.75 MB

econometrics lecture notes and code, mostly using GNU Octave

License: GNU General Public License v2.0

HTML 0.57% MATLAB 24.17% M 7.97% Objective-C 2.41% C++ 47.00% AMPL 0.30% Shell 0.30% Makefile 1.99% C 1.98% Fortran 13.31%

econometrics's Introduction

Econometrics

Michael Creel's graduate level econometrics notes, example code, and support programs

  • to get the notes, click on econometrics.pdf, and then on RAW, which will download only the pdf. Links in the pdf point to files here on github, and will open in your browser.
  • to run the examples, see Setup, below.

There are a couple of unusual thing about these notes:

  • they are available in editable form (econometrics.lyx), so that you can modify them to suit your needs: see www.lyx.org. They are however copyrighted, so you should learn about the GPL before modifying and distributing them.

  • they contain links that point to example programs using the Octave matrix programming language. Octave sometimes gets little respect as a language for econometrics, with allegations that it is slow compared to Matlab, etc. A couple of points:

  • for plain Octave, these allegations are true, in some respects at least

  • Octave is free, and it runs on all popular operating systems

  • plain Octave is perfectly good for ordinary econometrics of the sort that most students and many researchers need to do

  • Octave can easily be linked to parallel matrix algebra libraries so that it uses all cores of a computer. Plain Octave doesn't do that by default.

  • Octave can be compiled using proprietary compilers, if you have them.

  • it is easy to use C++ code for bottlenecks. For serious research work on computationally demanding problems, this step is fundamental

  • it is easy to use OpenMP or MPI to use Octave for parallel computing. This can have a great performance effect, and your code is free and portable.

  • taking all this into account, Octave can be a reasonable choice for doing econometrics

  • There are examples for stuff like OLS, ML, etc., but there is also working (GPL'd) code for nonparametric methods, simulation-based estimation methods, estimation of DSGE models, and parallel programming applications in econometrics. The examples make use of some other code for GNU Octave that I have written - minimizers and other stuff, available here. -the example programs together with data and all needed software are on the accompanying econometrics.iso image. This is an ISO image which can be used to boot a computer, but which is more easily used to boot a virtual computer, running under your usual operating system. This works with all of the popular operating systems. Using this method, you can be running the examples in very little time, without the hassle of installing a lot of software. -You may be wondering why the notes are available in this form. It's simply because I use a lot of free software, and this is a means of contributing back to the community. Also, I'm hoping to receive error corrections and contributions from users of the notes.

  • To run the examples, you need to have Octave installed. To edit the notes, you need to install LyX.

  • econometrics.iso (about 1.3GB) contains the notes and all the examples, ready to run. You don't need to install anything to use it (except a virtualization platform, if you don't have one installed). I test the image using Virtualbox, which is a free download for Windows, MacOS, and Linux. There is an appliance econometrics.ova. To use the ISO image in a virtual machine, import the .ova appliance file into Virtualbox, then in Settings, make the Storage->IDE controller point to the location where you have save the econometrics.iso file. If you would like the scripts used to build this image, they are here

Setup

  • to be able to run the examples, download the whole repo
  • To prepare the software in this directory for use, you must have Octave installed. Octave v4.0 or more recent is recommended.
  • For full functionality, you need to compile some things. If you are using this on your own Linux distro, open a terminal, and type "setup_econometrics" to prepare the software. You need to have the gcc compiler and build libraries installed for this to work. For Windows and OSX, I don't know the steps.
  • the last step is to include the Econometrics directory in your Octave run path.

econometrics's People

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.