Programming for economists (MIT, January 2008 and 2009)
Matlab
Matlab Basics
- Slides
- Code
- Examples from slides: arrayLogical.m, efficiency.m, funWithInv.m,
- Diffs in Diffs: Main script., olsDD.m, fglsDD.m, simulate.m, cpsEarn.csv, cpsSample.csv
Program Design
Optimization and Integration
Obeject-Oriented Programming
Miscellaneous Topics
C
C Basics
SlidesCode
Memory and Pointers
SlidesCode
Numeric libraries, automatic differentiation, parallel computing
SlidesCode
Step-by-step guide
SlidesAll code in a zip file.