LEgame | R Documentation |
LEgame
simulates the legal exemption game.
LEgame(params, m = 1e+05, corrMat = diag(7), 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. Defaults to |
corrMat |
matrix containing the correlation matrix for the simulation. Defaults to a 7x7 identity matrix. |
QMC |
logical scalar. If |
seed |
numeric scalar containing the random seed for the
simulation. Defaults to |
LEgame
simulates the deterrent effect of the European cartel law
based on a game-theoretic model for the legal exemption system.
A dataframe containing the realized output of the simulation.
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 <- LEgame(params=Par, m=100000) print(aggResults(res))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.