# Best practice for storing, passing, and managing parameters in economic models

**URL:** <https://discourse.julialang.org/t/best-practice-for-storing-passing-and-managing-parameters-in-economic-models/64705>\
**Category:** Finance and Economics\
**Tags:** performance\
**Created:** [July 15, 2021, 4:52pm UTC](https://discourse.julialang.org/t/best-practice-for-storing-passing-and-managing-parameters-in-economic-models/64705 "2021-07-15T16:52:37Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![PatrickMcFarlane](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/patrickmcfarlane/32/50027_2.png) [@PatrickMcFarlane](https://discourse.julialang.org/u/PatrickMcFarlane)\
**Post date:** [July 16, 2021, 2:21pm UTC](https://discourse.julialang.org/t/best-practice-for-storing-passing-and-managing-parameters-in-economic-models/64705/2 "2021-07-16T14:21:29Z")

</div>

I have been doing more reading on this issue. For anyone else that has the same question, there is a highly relevant thread here:

[https://discourse.julialang.org/t/macro-challenge-factory-for-creating-named-tuples/9748](https://discourse.julialang.org/t/macro-challenge-factory-for-creating-named-tuples/9748)

As it turns out, thinking about this issue seems to have led to the development of features in [Parameters.jl](https://github.com/mauro3/Parameters.jl)

For convenience, using Parameters.jl seems to be the way to go, but I’m still not entirely clear on the advantages/disadvantages of structs versus named tuples. Particularly as it relates to calibrating the model where I will want to make numerous changes to the parameter values and possibly use a numerical root-finding algorithm to alter them.

---

_[View the full topic](https://discourse.julialang.org/t/best-practice-for-storing-passing-and-managing-parameters-in-economic-models/64705)._
