Computational Problems and Codes

Numerical Solution and Accuracy of General Equilibrium Economies With Heterogeneous Households.
I prepared some slides and notes for a session of the Non Linear Working Group at the Bank of England.

Allocation students to workspaces (Variation of the Gale-Shapley-Roth algorithms)
We developed these codes in 2009 in order to assign PhD students at the Economics department in the EUI to available workspaces.
You can find a short paper / notes here and the codes here.
- The main program from which all other functions are called is AllocationOvt2012.m
- You can substitute the .xls files for your own files (in .xls format)
- Save everything in the same directory / folder.

Some recent events regarding the original contributions by L. Shapley and A. Roth: Nobel Economics 2012.
The algorithms have been used in matching med graduates with med schools, kids to schools, matching kidney donors with people on the transplant list, etc.  The Gale-Shapley algorithm has an interesting property: it results in stable matches. A set of stable matches obtains when no pair, matched with other partners, would mutually wish to break their current matches for a new partnership. Roth extended the algorithm and applied it pretty ingeniously to help save lives.

Neat MATLAB function for creating simple latex tables out of MATLAB data. 
You can find the .m file here, and the License file here.

MATLAB Tutoring

MATLAB Tutoring 2010 - 2011 and 2011 - 2012
I have been the tutor during the years 2010 - 2011 and 2011 - 2012 for programming in MATLAB environment at the European University Institute.
Here you can find the slides for an intorductory presentation.
Parallel Computing in MATLAB with a Remote Cluster: The EUI Remote Cluster.
You can find a tutorial I wrote together with Dominik Menno and Vasja Sivec, both PhD students at the EUI Economics Department. 

Useful Links

Useful courses: is an amazing site where to take FREE course taught by top universities, in a broad range of fields. Give it a try!

- There is a nice course on High Performance Scientific Computing starting on May 1st.

1- Two useful online courses taught by the U. of Toronto. It will probably help to avoid hours of debugging...