|
35 | 35 | p2 = plot(data.real_household_consumption, title = "consumption", titlefont = 10)
|
36 | 36 | plot!(p2, data_back.real_household_consumption, titlefont = 10, label = "backward looking")
|
37 | 37 |
|
38 |
| -plot(p1, p2, layout = (2, 1), legend = true)</code></pre><img src="change_expectations-1439c9b3.svg" alt="Example block output"/><p>plot all time series</p><pre><code class="language-julia hljs">p1 = plot(data.real_gdp, title = "gdp", titlefont = 10) |
| 38 | +plot(p1, p2, layout = (2, 1), legend = true)</code></pre><img src="change_expectations-6a696e71.svg" alt="Example block output"/><p>plot all time series</p><pre><code class="language-julia hljs">p1 = plot(data.real_gdp, title = "gdp", titlefont = 10) |
39 | 39 | plot!(p1, data_back.real_gdp, titlefont = 10)
|
40 | 40 | p2 = plot(data.real_household_consumption, title = "household cons.", titlefont = 10)
|
41 | 41 | plot!(p2, data_back.real_household_consumption, titlefont = 10)
|
|
54 | 54 | p9 = plot(data.nominal_gdp ./ data.real_gdp, title = "gdp deflator", titlefont = 10)
|
55 | 55 | plot!(p9, data_back.nominal_gdp ./ data_back.real_gdp, titlefont = 10)
|
56 | 56 |
|
57 |
| -plot(p1, p2, p3, p4, p5, p6, p7, p8, p9, layout = (3, 3), legend = false)</code></pre><img src="change_expectations-407dc2cb.svg" alt="Example block output"/><p>Note that, importantly, once the function estimate<em>next</em>value has been changed, the model will use the new expectations in all the simulations, unless the function is changed again. To restore the original expectations you need to close the Julia session.</p></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="scenario_analysis_via_overload.html">« Shocked simulations (advanced)</a><a class="docs-footer-nextpage" href="multithreading_speedup.html">Multithreading within the model »</a><div class="flexbox-break"></div><p class="footer-message">Powered by <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> and the <a href="https://julialang.org/">Julia Programming Language</a>.</p></nav></div><div class="modal" id="documenter-settings"><div class="modal-background"></div><div class="modal-card"><header class="modal-card-head"><p class="modal-card-title">Settings</p><button class="delete"></button></header><section class="modal-card-body"><p><label class="label">Theme</label><div class="select"><select id="documenter-themepicker"><option value="auto">Automatic (OS)</option><option value="documenter-light">documenter-light</option><option value="documenter-dark">documenter-dark</option><option value="catppuccin-latte">catppuccin-latte</option><option value="catppuccin-frappe">catppuccin-frappe</option><option value="catppuccin-macchiato">catppuccin-macchiato</option><option value="catppuccin-mocha">catppuccin-mocha</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> version 1.8.0 on <span class="colophon-date" title="Wednesday 27 November 2024 00:50">Wednesday 27 November 2024</span>. Using Julia version 1.10.7.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html> |
| 57 | +plot(p1, p2, p3, p4, p5, p6, p7, p8, p9, layout = (3, 3), legend = false)</code></pre><img src="change_expectations-255c1f2c.svg" alt="Example block output"/><p>Note that, importantly, once the function estimate<em>next</em>value has been changed, the model will use the new expectations in all the simulations, unless the function is changed again. To restore the original expectations you need to close the Julia session.</p></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="scenario_analysis_via_overload.html">« Shocked simulations (advanced)</a><a class="docs-footer-nextpage" href="multithreading_speedup.html">Multithreading within the model »</a><div class="flexbox-break"></div><p class="footer-message">Powered by <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> and the <a href="https://julialang.org/">Julia Programming Language</a>.</p></nav></div><div class="modal" id="documenter-settings"><div class="modal-background"></div><div class="modal-card"><header class="modal-card-head"><p class="modal-card-title">Settings</p><button class="delete"></button></header><section class="modal-card-body"><p><label class="label">Theme</label><div class="select"><select id="documenter-themepicker"><option value="auto">Automatic (OS)</option><option value="documenter-light">documenter-light</option><option value="documenter-dark">documenter-dark</option><option value="catppuccin-latte">catppuccin-latte</option><option value="catppuccin-frappe">catppuccin-frappe</option><option value="catppuccin-macchiato">catppuccin-macchiato</option><option value="catppuccin-mocha">catppuccin-mocha</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> version 1.8.0 on <span class="colophon-date" title="Thursday 28 November 2024 22:24">Thursday 28 November 2024</span>. Using Julia version 1.10.7.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html> |
0 commit comments