View source: R/policyMeanValue.R
policyMeanValue | R Documentation |
When the time index is an integer multiple of 200, this policy sets the current prices and supplies to the averages of the previous 199 periods. This policy function is mainly used as an argument of the function sdm2 in order to accelerate convergence when calculating general equilibrium.
policyMeanValue(time, state, state.history)
time |
the current time. |
state |
the current state. |
state.history |
the state history, which is a list consisting of the time series of p, S, q, and z. |
A list consisting of p, S and B which specify the prices, supplies and supply coefficient matrix after adjustment.
makePolicyMeanValue
sdm2
gemDualLinearProgramming
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.