Code snippets

06/11/2011: IMF CPIS and Power Method pages updated.

12/09/2010: I've added some do-files that organizes IMF CPIS data set into a Stata data set. Please refer to this page for the do-files.

12/08/2010: Dijkstra's algorithm implemented using binary heap data structure. Unfortunately, Mata's associate arrays have a hard time carrying out recursive functions (perhaps it's just how I've coded it). Please refer to this page for the sample codes.