Visualizing GTAP in Julia
October 03, 2025
I’ve spent the past week working on a package to load GTAP data from the provided HAR files. The good news is that I have working code to load the data into a Julia DataFrame. The bad news is that it will take a little more time to clean it up and make it user-friendly. Read more
Julia Developing Tips
September 26, 2025
Julia has many features that make developing packager easier, compared to Python or R. However, new comers to the language often miss out on some of these features. Here are some tips that I have found useful when developing packages in Julia. Read more
A Few Examples of Dynamic Calibration
September 19, 2025
This week was the MPSGE Monthly seminar, I presented a few examples calibrating a dynamic CGE model. I’ll use this blog post to share a few Julia specific tips and tricks I used in the process. The repository is available on GitHub. Read more
Getting Started with Julia
July 25, 2025
This week the USDA announced the closure of the south building with the (potential) intention of distributing employees to other states. This action will inevitably cause a severe reduction in staffing meaning a lot of experienced economists will soon be unemployed. Out of respect for my colleagues, I am going to use this blog post to share resources for those who want to learn Julia and want to use it for economic modeling. I hope this will help those who are looking for new opportunities. Read more
Closed Economy Model with Monopoly in the X Sector
July 23, 2025
This example is a conversion of the Markusen M51 model into Julia. This is a standard two-good, two-factor, closed-economy general-equilibrium model. Activities are X, Y and W (welfare or utility). Factors of production are called unskilled and skilled labor. Unskilled labor is typically called L with a price of PW or just W, and skilled labor is called S with a price of PZ or just Z. PU is the price of a unit of utility (the value of the unit expenditure function). Read more