Skip to main content

A package for fitting intertemporal choice data to models

Project description

A package for fitting intertemporal choice data to models.

Available models for fitting are exponential, hyperbolic, generalized hyperbolic, and quasi-hyperbolic.

The constructor takes a model type and data (choices, payoffs, and delays) for two options and instantiates a util-itc object, fitting the data during instantiation.

The resulting object stores the fitted parameters (k, inverse temperature, and an extra parameter s or b for generalized hyperbolic or quasi-hyperbolic models, respectively) in an instance variable, output.

Dependencies: numpy version >= 1.26.4, scipy version >= 1.12.0

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

util_itc-0.1.5.tar.gz (5.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

util_itc-0.1.5-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

Details for the file util_itc-0.1.5.tar.gz.

File metadata

  • Download URL: util_itc-0.1.5.tar.gz
  • Upload date:
  • Size: 5.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.5

File hashes

Hashes for util_itc-0.1.5.tar.gz
Algorithm Hash digest
SHA256 4f2b76fda6b66f0e66c868e815c4ff2a11803a74c6e3acb4802bc3a3cb4e9f7b
MD5 59326908cb425176a73c108d417f6ba1
BLAKE2b-256 eb9767ee30b95570ee2a52c14553539e737cdc25a61afd0a17fdba447734a321

See more details on using hashes here.

File details

Details for the file util_itc-0.1.5-py3-none-any.whl.

File metadata

  • Download URL: util_itc-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 5.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.5

File hashes

Hashes for util_itc-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 8208ca5f208f50db1de3571cff67528b8ac2d10559ea6675b58d36d8388ca328
MD5 ca004fc5e1abf268144ce712fa549a3f
BLAKE2b-256 1c758e33cbbaab65eafdd80784e2cc3ebe3c13f94e9579d3d3a34635eb4818e3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page