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.7.tar.gz (5.5 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.7-py3-none-any.whl (5.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: util_itc-0.1.7.tar.gz
  • Upload date:
  • Size: 5.5 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.7.tar.gz
Algorithm Hash digest
SHA256 b38e6987b43d6984ac6c8aced93a9b0ca386c86bf7c4cb3c5617fda6b7d60fc9
MD5 897c4aba4ff28c93e9317ab65ff4fae0
BLAKE2b-256 d4129f3fb2fe7ea7a2bb1688e1ce260cc598f3763ab292cc9fe04320d4207a4b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: util_itc-0.1.7-py3-none-any.whl
  • Upload date:
  • Size: 5.6 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.7-py3-none-any.whl
Algorithm Hash digest
SHA256 737341a9aa20f406501fe5ee29989b542e782915583c7fbd8deb16a7aefbdf97
MD5 254442f56ab2e71a10dcedd3fe93dd30
BLAKE2b-256 447c5a2c013c8dad308bdd546ed2c52a093aa24541be79052ccabdd12a50f6f8

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