Skip to main content

function to interpolate data using the denton procedure.

Project description

Denton proportional procedure

The package provide a function to make an interpolation using the denton proportional procedure. It uses 2 arrays: the first one is the indicator array (high frequency data) and the second one is the aggregate array (low frequency data). Notice that the first array must have multiple number of elements of the second one. In this case, it is consider that the second array as means of a subsets elements of the first array. Boths array must be order ascending in time.

An example is included in the repository

The methodology was taken from: https://www.imf.org/external/pubs/ft/qna/pdf/2017/chapter6.pdf

The package use the FOC of the minimization problem to get the optimal solution.

Requirements: python 3+ numpy

Installation:

pip install denton

github: https://github.com/MaxLugo/denton

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

denton-0.0.2.tar.gz (2.2 kB view hashes)

Uploaded Source

Built Distribution

denton-0.0.2-py3-none-any.whl (2.6 kB view hashes)

Uploaded Python 3

Supported by

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