Teaching / Programming for ERIM PhD students (2014)
This is the course page for Programming (ERIM), academic year 2014-15, block 2.
Lecture slides in pdf:
- #1 / 2014-10-16
- #2 / 2014-10-23
- #3 / 2014-10-30
- #4 / 2014-11-06
- #5 / 2014-11-20
- #6 / 2014-11-27
- #7 / 2014-12-04
- #8 / 2014-12-18
Exercises will be posted here and in blackboard. The answers _must_ be submitted via blackboard. When submitting your answer, include all the source files in a zip, and upload that through blackboard's exercise completion functionality. Note that the solution you submit must consist solely of the source files that are executable independently.
I recommend getting used to the command prompt of your chosen language as it includes functionalities commonly available in text-based user environments (for example, browsing command history with up- and down arrows). Note that you can use the command prompt also for showing function documentation with command help (e.g. 'help fprintf' in Matlab, '? print' in R), and for finding function names with lookfor (e.g. 'lookfor print' in Matlab, '?? print' in R).
Exercises in pdf:
- #1: deadline 2014-11-02 23:59 CET
- #2: deadline 2014-11-09 23:59 CET
- #3: deadline 2014-11-16 23:59 CET
- #4: deadline 2014-11-30 23:59 CET
- #5: deadline 2014-12-07 23:59 CET
- #6: deadline 2014-12-14 23:59 CET
- #7: deadline 2014-12-28 23:59 CET
There are 7 exercises. Each awards 14.29% of the final grade. The exercises are graded according to the following scheme:
- Up to 11% from completing the exercise succesfully. Code that does not run awards _always_ 0% from the whole exercise - do not submit crap. If you manage to complete only part of the exercise, submit it and state clearly in comments which part you did and which not
- 3.29% for code clarity (functions, indenting, comments, variable names)
Data files used in the exercises:
Additional learning material:
- Introduction to Programming with R for all you useRs.
- LN-TT-22012-3, the lecture notes from the Programming for Econometricians course.
- Internet is full of tutorials to programming in all possible languages. For example, see Wikiversity.
- Fun (at least IMHO) mathematical programming assignments can be found in the Project Euler. These are good learning material also for others than the pre-master students.
- The official Matlab learning resources page has a lot of (Matlab) learning material available.