dynamicplot: Dynamic plot In ClaimsProblems: Analysis of Conflicting Claims

 dynamicplot R Documentation

Dynamic plot

Description

For each claimaint, it plots the awards of the chosen rules for a dynamic model with t periods.

Usage

```dynamicplot(
E,
d,
Rules,
claimant,
percentage,
times,
col = NULL,
legend = TRUE
)
```

Arguments

 `E` The endowment. `d` The vector of claims `Rules` The rules: AA, APRO, CE, CEA, CEL, DT, MO, PIN, PRO, RA, Talmud. `claimant` A claimant. `percentage` A number in (0,1). `times` Number of iterations. `col` The colours. If col=NULL then the sequence of default colours is: c("red", "blue", "green", "yellow", "pink", "coral4", "darkgray", "burlywood3", "black", "darkorange", "darkviolet"). `legend` A logical value. The colour legend is shown if legend=TRUE.

Details

Let E≥ 0 be the endowment to be divided and d the vector of claims with d≥ 0 and such that the sum of claims exceeds the endowment.

A vector x=(x1,...,xn) is an awards vector for the claims problem (E,d) if: no claimant is asked to pay (0≤ x); no claimant receives more than his claim (x≤ d); and the balance requirement is satisfied, that is, the sum of the awards is equal to the endowment (x1+...+xn=E).

A rule is a function that assigns to each claims problem (E,d) an awards vector for (E,d), that is, a division between the claimants of the amount available.

The formal definitions of the main rules are given in the corresponding function help.

Given l a natural number, the function solves each claims problem in time t, which is (Et,d), with Et=E(1-p)^t, p in (0,1) and t=1,…,l.

Value

This function represents the awards proposed by different rules for a claimant if the resource decreases in each iteration by a given percentage.

References

Thomson, W. (2019). How to divide when there isn't enough. From Aristotle, the Talmud, and Maimonides to the axiomatics of resource allocation. Cambridge University Press.

Mirás Calvo, M.Á., Núñez Lugilde, I., Quinteiro Sandomingo, C., and Sánchez-Rodríguez, E. (2020). An algorithm to compute the core-center rule of a claims problem with an application to the allocation of CO2 emissions. Working paper.

allrules, pathawards, pathawards3, schedrule, schedrules

Examples

```E=10
d=c(2,4,7,8)
Rules=c(Talmud,RA,AA,PRO)
claimant=1
percentage=0.076
times=10
dynamicplot(E,d,Rules,claimant,percentage,times)
```

ClaimsProblems documentation built on Jan. 12, 2023, 5:13 p.m.