e0_elim - Initial exercise E0 Charles S. Bos July 23, 2009...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Initial exercise E0 Charles S. Bos July 23, 2009 1 Introduction In mid-August you will be following the course on Advanced Programming in Quantita- tive Economics . In order to get a bit of a headstart, you’ll find attached a first complete program, written in the Ox Doornik (2006) programming language. During the course, we will study the concepts in detail. In order to streamline the discussions, you are asked to prepare for yourself. 2 Preparation Section 3 contains the listing of the program. Read this program through, don’t use a computer at all at this stage (maybe use a pocket calculator if you really want to). Ask yourself e.g. the following questions: 1. Where would execution of the program start? 2. What lines are comments, which are code? 3. What is the system in the naming of the variables? 4. After line 171, the value of mC is mC = 10- 7- 4 28- 7 59 18- 145- 4 18 58 56 What would its value be after line 176? And what would be the value of vX in the end? 5. Matrices are indexed throughout the program. How does this work? Where does the index start? 6. The program prints some final solution. In standard econometrics, what is the problem that is solved? What would you have written on line 5? 1 7. This same program could have been written in some 40 lines of code (of which roughly half initialisation of vY and mX ). What would be possible advantages of the present, rather extensive program, using 185 lines instead?present, rather extensive program, using 185 lines instead?...
View Full Document

Page1 / 5

e0_elim - Initial exercise E0 Charles S. Bos July 23, 2009...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online