e/add_shock.html">add_shock()</a></code> function. Shock values can be defined explicitly (<code>value</code>), as a relative rate (<code>rate</code>), or as an absolute increment (<code>absolute</code>).</p>
<p>For example, a 20% increase in government spending can be simulated by first creating a shock object using <code><a href="reference/create_shock.html">create_shock()</a></code> and then applying it with <code><a href="reference/add_shock.html">add_shock()</a></code> for the period between Q1 2017 an