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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file denton-0.0.2.tar.gz
.
File metadata
- Download URL: denton-0.0.2.tar.gz
- Upload date:
- Size: 2.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/49.6.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c0900f8407faefa7964fb9435325dfe7d68fa70b1174d9c08d432da93a5074e4 |
|
MD5 | 6d4a6c297f39609f6e2b3061d12dd28f |
|
BLAKE2b-256 | 0547cd693871bb09c33be57c9782ee528a703fdf24ae6e7fa4615303dbe4f623 |
File details
Details for the file denton-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: denton-0.0.2-py3-none-any.whl
- Upload date:
- Size: 2.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/49.6.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | aef89a50c586898327efc766ecf77cbebaee0a1f4f6a8329ecdfb1dead075378 |
|
MD5 | b57a15ced26d59dcc2c7e69569ac9fec |
|
BLAKE2b-256 | 5a1b21515b3ad3654969fd37d0a30d0cd6b9dbcb8e8af5c40a6cbf09ce04b828 |