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

Uploaded Python 3

File details

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

File metadata

  • Download URL: util_itc-0.1.6.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.6.tar.gz
Algorithm Hash digest
SHA256 5e5e75b07f9d115eb19c485eb6fde81e46effa372abf4b50d3fbed3a8aa0b8be
MD5 79b8c47feec829a4b93c5b9b74c5d2d6
BLAKE2b-256 3d8fbfe9c0cca6ac44cd52e52a31e50ef511f31d13a22fabfb016d676a8e25d3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: util_itc-0.1.6-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.6-py3-none-any.whl
Algorithm Hash digest
SHA256 e96311afa5881cd99b3836c628700d6cd81519455de94b6182906ad5fbbe53c2
MD5 7bad9fb24b828d160d5942ada4885e79
BLAKE2b-256 d53f0862a200a5c973181204b8a89550e704f5e781fee1bf24fa1f15cfde868f

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