View source: R/SimEUCartelLaw.r
CorrStudy | R Documentation |
CorrStudy
investigates the effect of correlated input parameters
CorrStudy(params, m = 1e+05, rho = seq(0.1, 0.9, by = 0.2), QMC = FALSE, seed = 1)
params |
named list containing numeric vectors Phi, Rho, Chi, Ksi, M, G and A with the ranges for the input parameters. |
m |
numeric scalar containing the number of Monte Carlo
replications (for each correlation intensity). Defaults to |
rho |
a numeric vector containing correlation intensities. Defaults to
|
QMC |
logical scalar. If |
seed |
numeric scalar containing the random seed for each
simulation. Defaults to |
CorrStudy
performs repeated simulations via LEgame
with
different values for the correlation intensity in order to illustrate
the effect of correlation on the deterrent effect of the legal exemption
system.
A matrix containing the results of the repeated simulations.
Par <- list(Phi=c(0.1,0.5), Rho=c(0.5,0.9), Ksi=c(0.05,0.3), Chi=c(0.1,0.4), M=c(0.2,1.2), G=c(0.05,0.2), A=c(0.1,0.3)) res <- CorrStudy(params=Par, m=10000) print(res)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.