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

View source: R/prelec2.R

prelec2R Documentation

Intermediate weighting function giving Non-Expected Utility theory weights.

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

prelec2(n)

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/12831

Examples


 ## Not run: prelec2(10)


generalCorr documentation built on Oct. 10, 2023, 1:06 a.m.