https://github.com/itsdfish/utilitymodels.jl
A Julia package for utility-based models of decision making
https://github.com/itsdfish/utilitymodels.jl
julia julia-language julialang prospect-theory tax transfer-of-attention-exchange
Last synced: 15 days ago
JSON representation
A Julia package for utility-based models of decision making
- Host: GitHub
- URL: https://github.com/itsdfish/utilitymodels.jl
- Owner: itsdfish
- License: mit
- Created: 2021-02-07T12:21:32.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2025-04-23T19:10:38.000Z (3 months ago)
- Last Synced: 2025-06-07T04:08:17.410Z (about 1 month ago)
- Topics: julia, julia-language, julialang, prospect-theory, tax, transfer-of-attention-exchange
- Language: Julia
- Homepage: https://itsdfish.github.io/UtilityModels.jl/dev/
- Size: 903 KB
- Stars: 5
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# UtilityModels
UtilityModels.jl is a collection of utility based decision models. Currently, expected utlity theory, transfer of attention exchange, and prospect theory are implemented. More models soon to follow. See the [documentation](https://itsdfish.github.io/UtilityModels.jl/dev/) for more details.
# Quick Example
````julia
using UtilityModels
# TAX with default values
model = TAX()
# trinary gamble
gamble = Gamble(;
p = [.25,.25,.50],
v = [100.0,0.0,-50.0]
)
# expected utility
mean(model, gamble)
````
````julia
# output
-15.51253
````