knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>"
)

Setup

To get things running you have to included the matchingMarketsEvaluation package and some other requirements. Note that the matchingMarketsEvaluation package is currently based on the function stabsim3, which is not yet available in the official package. Please see github.com/tobiasreischmann/matchingMarkets for a current development state.

library(parallel)
library(matchingMarkets)
library(matchingMarketsEvaluation)

Configuration

The package offers evaluation techniques to show how variations of different parameters influence the number of rounds needed for the execution of the decentralized college admission mechanism. The following code specifies a configuration analysing the mechanism for different values of the private facility quota. This quota states, how many facilities participate manually in the mechanism.

body(quota_configuration)
quota_configuration()

Run the Calculation

The calculation can be run using one simple function. The results are the needed rounds for all scenarios of the configuration.

data <- calculateScenarios(rows)

Plot the results

Afterwards, the results can be plotted as a line diagram.

plotEvaluation(data, elements, "Private Facility Quota", dimensionxval)


tobiasreischmann/matchingmarketsevaluation documentation built on April 25, 2020, 12:58 a.m.