.. _sphx_glr_auto_examples_extensions: Extension Examples ================== Examples demonstrating extensions from the original BAM model (Delli Gatti et al., 2011). These examples reproduce research extensions from the BAM book: * **Growth+ Model**: R&D investment and endogenous productivity growth. Demonstrates how to create custom roles and events to extend BAM Engine. * **Consumption and Buffer Shock**: Household consumption shocks and savings buffer dynamics * **Parameter Space Exploration**: Systematic exploration of model sensitivity to key parameters * **Preferential Attachment**: Preferential attachment in consumption and firm entry mechanisms Each example includes detailed explanations of the economic mechanisms and comparison with results from the original literature. Note: The Growth+ example is a simplified demonstration focused on teaching how to create custom extensions. For full validation with target bounds and statistical annotations, run: .. code-block:: bash python -m validation.scenarios.growth_plus .. raw:: html
.. thumbnail-parent-div-open .. raw:: html
.. only:: html .. image:: /auto_examples/extensions/images/thumb/sphx_glr_example_growth_plus_thumb.png :alt: :doc:`/auto_examples/extensions/example_growth_plus` .. raw:: html
Growth+ Model Extension
.. raw:: html
.. only:: html .. image:: /auto_examples/extensions/images/thumb/sphx_glr_example_buffer_stock_thumb.png :alt: :doc:`/auto_examples/extensions/example_buffer_stock` .. raw:: html
Buffer-Stock Consumption Extension
.. raw:: html
.. only:: html .. image:: /auto_examples/extensions/images/thumb/sphx_glr_example_robustness_thumb.png :alt: :doc:`/auto_examples/extensions/example_robustness` .. raw:: html
Robustness Analysis
.. thumbnail-parent-div-close .. raw:: html
.. toctree:: :hidden: /auto_examples/extensions/example_growth_plus /auto_examples/extensions/example_buffer_stock /auto_examples/extensions/example_robustness