Description Usage Arguments Details References Examples
Produces asymmetric S-shaped value function according to lessons from Prospect Theory that losses are felt more intensely than gains.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
x |
Numeric. Vector of gain / loss values for x. |
sigma |
Number. Exponent of functions, should be less than 1 to make an 'S' shaped curve. |
lambda |
Number. Extent of asymmetry between losses and gains. Should be less than -1 for losses to be more 'intense' than gains (as suggested by Prospect Theory). Between -1 and 0 for gains to be more intense than losses. Greater than 0 for losses to have positive value. |
xint |
Numeric. Symmetric intersections. X-intercept values where to
highlight points – will be placed at both |
xintcol |
Color of dashed lines calling-out |
main |
Main title of the plot. |
sub |
Subtitle of the plot. |
xlab |
Name of the X-axis. |
ylab |
Name of the Y-axis. |
col |
Color of function segment. |
bg.col |
Background color. |
ticks |
TOOD |
xlabels |
TRUE / FALSE : whether x labels are included. |
ylabels |
TRUE / FALSE : whether y labels are included. |
by_x |
Number. Increment of the x-axis labels. |
by_y |
Number. Increment of the x-axis labels. |
TODO
Tversky, Amos; Kahneman, Daniel (1992). "Advances in prospect theory: Cumulative representation of uncertainty". Journal of Risk and Uncertainty. 5 (4): 297–323.
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.