knitr::opts_chunk$set( collapse = TRUE, comment = "#>" )
library(SolowVariants) theme_set(theme_bw()) # Setting up the parameter grid --------------------------------- aux_np <- 200 aux_parameter_grid <- create_parameter_grid( c("alpha", "phi", "n", "g", "sK", "sH", "delta"), c(1 / 3, 1 / 3, 0.005, 0.02, 0.15, 0.15, 0.2), c(NA, NA, NA, NA, 100, 100, NA), c(NA, NA, NA, NA, 0.1, 0.2, NA), aux_np ) # Setting starting values for K and L --------------------------------- aux_startvalues <- list(A = 1, K = 1, L = 1, H = 1) # Simulate the basic Solow growth model --------------------------------- aux_simulation <- SimulateExtendedSolowModelHumanCapital(aux_parameter_grid, aux_np, aux_startvalues) # Visualise some variables --------------------------------- VisualiseSimulation(aux_simulation, c("YpW", "KpEW", "HpEW"), "free") # Economy in SS in the End --------------------------------- steadystate_checker(aux_simulation, aux_parameter_grid, "ESHC")
Parameters defining the ESHC
Remark: Those parameters can be found via the command: getRequiredParams("ESHC")
.
Starting value of endogenous variables defining the ESHC
Remark: Those parameters can be found via the command: getRequiredStartingValues("ESHC")
.
$$ \begin{aligned} Y_t &= K_t^\alpha * H_t^\phi * (A_t * L_t)^{(1- \alpha - \phi)} \ K_{t+1} &= s_KY_t + (1-\delta)K_{t} \ H_{t+1} &= s_HY_t + (1-\delta)H_{t} \ L_{t+1}&=(1+n)L_t \ A_{t+1}&=(1+g)A_t \ \end{aligned} $$
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.