CorrStudy {SimEUCartelLaw}R Documentation

Investigate the effect of correlated input parameters

Description

CorrStudy investigates the effect of correlated input parameters

Usage

CorrStudy(params, m = 1e+05, rho = seq(0.1, 0.9, by = 0.2), QMC = FALSE,
  seed = 1)

Arguments

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 1e5.

rho

a numeric vector containing correlation intensities. Defaults to seq(0.1,0.9,by=0.2).

QMC

logical scalar. If TRUE, an equidistant grid is generated, if FALSE, uniformly distributed random numbers are simulated.

seed

numeric scalar containing the random seed for each simulation. Defaults to 1 in order to make results reproducible.

Details

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.

Value

A matrix containing the results of the repeated simulations.

Examples

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)

[Package SimEUCartelLaw version 1.0.3 Index]