Open angelespinozae opened 1 week ago
Hi Angel,
The theta estimates in the package are those estimated by Caliendo and Parro (2015), but you can easily change them.
Simulations can be done with users' own data. For this, you just need to create a list with 7 data.frames in the same format as the cp2015_nafta
object. You can get more details about the data structure by running this code in R: ?cp2015_nafta
.
If you need to create a custom model, I suggest you take a look at these files:
Recently, I made the replication of CP2015 available in Python using the JAX library. A single script shows how the model can be solved. Perhaps from this script, it will be easier for you to develop a custom model: https://github.com/paulofelipe/cp2015-jax
Thank you ver much Paulo!!
Best, Angel
Hi Paulo,
Thank you so much for sharing your code to replicate Caliendo and Parro (2015). Your code has been very helpful as I explore the model and work on adding more Latin American countries and maybe playing adding some other shocks.
I was wondering if you could help me clarify a few things about your code:
Thank you very much for your help! Angel Espinoza