prelec2 function

Intermediate weighting function giving Non-Expected Utility theory weights.

Intermediate weighting function giving Non-Expected Utility theory weights.

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).

prelec2(n)

Arguments

  • n: A (usually small) integer.

Returns

  • x: sequence 1:n

  • p: probabilities p= x[i]/n

  • pdif: consecutive differences p[i] - p[i - 1]

Examples

## Not run: prelec2(10)

References

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

Author(s)

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

  • Maintainer: H. D. Vinod
  • License: GPL (>= 2)
  • Last published: 2023-10-09

Useful links