StanSimulate: StanSimulate
Description
Use Stan functions to simulate Welfare and Demand
Usage
StanSimulate(df_indiv, df_common, sim_options, stan_seed)
Arguments
df_indiv
Prepared individual level data from PrepareSimulationData
df_common
Prepared common data from PrepareSimulationData
sim_options
Prepared simulation options from PrepareSimulationData
stan_seed
Seed for pseudo-random number generator get_rng see help(get_rng, package = "rstan")