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

Uploaded Python 3

File details

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

File metadata

  • Download URL: util_itc-0.1.8.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.8.tar.gz
Algorithm Hash digest
SHA256 b7ae7a98d843d614eb1ab83c14e726babbf292304f692c0667215f5f2a504bd2
MD5 108af45a5ee00e59dde42cc6c281541a
BLAKE2b-256 c9eef82c31358a5695905412796683e8c6a1230473938f734394097ba0f5b333

See more details on using hashes here.

File details

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

File metadata

  • Download URL: util_itc-0.1.8-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.8-py3-none-any.whl
Algorithm Hash digest
SHA256 eec5ae52966ab05ebef4b9dc669ea3b044fca2453d733d0b94c252f836624f89
MD5 695c8d925dc53ccc3db15f54fb77450f
BLAKE2b-256 655beef045a9737bb4d038b904c9fac3af84105fc0304a7f9d373f49e278823a

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