get_simu_output: get_simu_output

Description Usage Arguments Value

Description

Function takes in global settings, creates tibbles of simulated data and runs the model. Taking in MCMC samples, a summary tibble is the final output, with posterior estimates (med, lower, upper) by simulation number and by parameter. This is run for one run setting at a time.

Usage

1
get_simu_output(runname, global_settings, output.dir, nsim)

Arguments

runname

The setting used to create the writemodel function

global_settings

Fixed global params that generate fixed country-year params

output.dir

output directory where are simulation results are saved by iteration

nsim

The number of simulation to be run.

simsetting

runname

Value

One tibble with posterior estimates across per simulation and params. Saved to output folder.


Enpeterson/outputsim documentation built on May 24, 2019, 9:53 a.m.