prelec2: Intermediate weighting function giving Non-Expected Utility...

Description Usage Arguments Value Author(s) References Examples

View source: R/prelec2.R

Description

Computes cumulative probabilities and difference between consecutive cumulative probabilities described in Vinod (2008) textbook. This is a simpler version of the version in the book without mapping to non-expected utility theory weights as explained in Vinod (2008).

Usage

1

Arguments

n

A (usually small) integer.

Value

x

sequence 1:n

p

probabilities p= x[i]/n

pdif

consecutive differences p[i] - p[i - 1]

Author(s)

Prof. H. D. Vinod, Economics Dept., Fordham University, NY

References

Vinod, H. D. 'Hands-On Intermediate Econometrics Using R' (2008) World Scientific Publishers: Hackensack, NJ. https://www.worldscientific.com/worldscibooks/10.1142/6895

Examples

1
 ## Not run: prelec2(10)

generalCorr documentation built on Jan. 4, 2022, 1:08 a.m.