plot_convergence.RdPlots the value, at each printed out iteration, of the population parameters (THETA, OMEGA or
SIGMA) during an estimation step. Fixed parameters are not plotted.
plot_convergence(run, estimation_number = NULL, parameters = NULL, auto_legend = TRUE)
| run |
|
|---|---|
| estimation_number | integer. Number of the estimation step. Default is
|
| parameters | character. Either one of |
| auto_legend | logical. When |
A ggplot2 object.
EXAMPLERUN %>% plot_convergence()#> Warning: Iteration values not found for the following parameter(s): OMEGA(ETCL,ETCL), OMEGA(EKON,EKON), OMEGA(EKIN,EKIN), OMEGA(EKDE,EKDE), OMEGA(ETQ,ETQ), OMEGA(ETV1,ETV1), OMEGA(ETV2,ETV2), OMEGA(ETKA,ETKA), OMEGA(ETF,ETF), SIGMA(EPS1,EPS1)#> Error: All arguments must be namedEXAMPLERUN %>% plot_convergence(parameters = "theta")#>EXAMPLERUN %>% plot_convergence(parameters = "omega")#> Warning: Iteration values not found for the following parameter(s): OMEGA(ETCL,ETCL), OMEGA(EKON,EKON), OMEGA(EKIN,EKIN), OMEGA(EKDE,EKDE), OMEGA(ETQ,ETQ), OMEGA(ETV1,ETV1), OMEGA(ETV2,ETV2), OMEGA(ETKA,ETKA), OMEGA(ETF,ETF)#> Error: All arguments must be character vectors, not NULL#>