Tag: computational macro

Computing a competitive equilibrium with multiple goods in R
In the previous blog post titled “Computing the demand for multiple goods in R.” I discussed how we can use embedded for loops along with the command solnl() from the NlcOptim package in r to derive multiple demand curves and make comparisons of cross price changes. What we will do now is add a supply side…

Computing dynamic economic models in R for dummies: using deSolve to get qualitative solutions to Euler equations.
Note: A video explaining the content of this blog can be found here The computation of macroeconomic models is one which both fascinates and mystifies new students and scholars in this field. It certainly was a topic which seemed completely inaccessible to me without an advanced knowledge of algorithms and computational expertise. On an outset…