Teaching simulation methods in economics

I will discuss my experiences with the course "Simulation methods", given several times in the graduate program of the University Pompeu Fabra, Barcelona. The main topics of the course are 1) Basic techniques of numerical analysis: nonlinear unconstrained and constrained optimization, nonlinear systems of equations, function interpolation, etc. 2) Numerical dynamic programming 3) Solution of linear(ized) rational expectations models 4) Projection methods. The course is for 2nd year PhD students. Most students have a specialization in macroeconomics, but some come from microeconomics or finance. Therefore, applications include business cycle models, models of optimal fiscal and monetary policy, optimal portfolio choice and option pricing. For more detailed information on the course, see the syllabus at http://www.econ.upf.es/eng/graduates/gpem/pdf/courses/05-06/simulmeth.pdf The course homepage is http://www.econ.upf.es/~reiter/sim.html. All the programming is done in Matlab. I will talk about the experience with this, and about ways of overcoming some shortcomings of Matlab programming.