Skip to contents

Run Prono Monte Carlo simulation

Usage

run_prono_monte_carlo(
  config,
  n_sims = .hetid_const("N_DEFAULT"),
  parallel = FALSE,
  n_cores = NULL,
  progress = TRUE
)

Arguments

config

Configuration list

n_sims

Number of simulations

parallel

Whether to use parallel processing

n_cores

Number of cores for parallel processing

progress

Whether to show progress bar

Value

Data frame with simulation results

References

Prono, T. (2014). The Role of Conditional Heteroskedasticity in Identifying and Estimating Linear Triangular Systems, with Applications to Asset Pricing Models That Include a Mismeasured Factor. Journal of Applied Econometrics, 29(5), 800-824. doi:10.1002/jae.2387

See also

run_single_prono_simulation for single simulation create_prono_config for configuration setup

Examples

if (FALSE) { # \dontrun{
# Time-consuming Monte Carlo simulation
# For actual research, use n_sims = 1000+
config <- create_prono_config(n = 500)
mc_results <- run_prono_monte_carlo(config, n_sims = 100)
} # }